Skip to content

[SUGGEST] Enforce response using resource #81

@paikend

Description

@paikend

Summary
Add Resource functionality to OpenStack MCP for faster responses on common infrastructure queries.

Motivation

Currently only Tools are implemented, requiring API calls every time:

  • "Show infrastructure status" → Multiple consecutive Tool calls → Slow response
  • "Any problems?" → Query all resources → Inefficient
  • Repeated queries for same information

Common scenarios (examples):

  • Infrastructure overview ("How many servers/networks?")
  • Problem detection ("Any ERROR servers?")
  • Resource availability ("Can I create more servers?")
  • Network structure ("What networks are available?")

Note: Final scenarios will be provided by mentor

Proposal

Phase 1 Resources:

  1. openstack://dashboard/overview - Infrastructure summary
  2. openstack://health/check - Problem detection
  3. openstack://quota/status - Resource availability

Performance: Use async/await for parallel API calls to improve response speed

Expected Benefits:

  • ✅ Instant response for common queries
  • ✅ Better context awareness for Claude
  • ✅ Improved user experience

Additional context

MCP has 3 core features: Tool, Resource, Prompt. Currently only using 1/3 of functionality.

Work Scope:

  • Get actual scenarios from mentor
  • Design Resource URIs
  • Implement with async parallel processing
  • Test and document

Summary
자주 사용되는 인프라 조회를 위해 OpenStack MCP에 Resource 기능을 추가합니다.

Motivation

현재 Tool만 구현되어 매번 API 호출이 필요합니다:

  • "인프라 현황 보여줘" → 여러 Tool 연속 호출 → 느린 응답
  • "문제 있어?" → 모든 리소스 조회 → 비효율적
  • 같은 정보를 반복해서 조회

자주 사용되는 시나리오 (예시):

  • 인프라 현황 ("서버/네트워크 몇 개?")
  • 문제 감지 ("ERROR 상태 서버 있어?")
  • 리소스 여유 ("서버 더 만들 수 있어?")
  • 네트워크 구조 ("어떤 네트워크 사용 가능?")

Note: 실제 시나리오는 멘토님께서 제공 예정

Proposal

Phase 1 구현 목록:

  1. openstack://dashboard/overview - 인프라 요약
  2. openstack://health/check - 문제 감지
  3. openstack://quota/status - 리소스 여유 확인

성능 최적화: async/await 병렬 처리로 응답 속도 개선

기대 효과:

  • ✅ 자주 조회하는 정보 즉시 응답
  • ✅ Claude의 컨텍스트 이해 향상
  • ✅ 사용자 경험 개선

Additional context

MCP는 Tool, Resource, Prompt 3가지 핵심 기능이 있으나, 현재 1/3만 활용 중입니다.

작업 범위:

  • 멘토님께 실제 시나리오 요청
  • Resource URI 설계
  • async 병렬 처리로 구현
  • 테스트 및 문서화

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureRequest for new feature or functionality enhancement

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions