Skip to main content
Glama

AWS Bedrock의 MCP

Anthropic MCP(AWS Bedrock 기반)를 구현하고 이해하기 위한 간단하고 명확한 예입니다.

여러 MCP 서버 관리를 위해 이 작은 프로젝트 Q-2001을 참조할 수 있습니다.

개요

이 프로젝트는 AWS Bedrock에서 Anthropic의 모델 컨텍스트 프로토콜(MCP)을 구현하고 사용하는 방법을 보여줍니다. AWS Bedrock의 런타임 서비스를 통해 MCP 지원 도구와 상호 작용할 수 있는 클라이언트 구현을 제공합니다.

Related MCP server: AWS MCP Server

업데이트 2025-05-10: 스트리밍 가능한 HTTP

  • Streamable HTTP 에 대한 지원 추가

  • 다양한 전송 유형을 보여주는 URL 페칭 MCP 서버 fetch_url_mcp_server.py 다시 작성하세요.

사용 지침

기본 stdio 설정(전송 매개변수 없음)으로 서버를 실행합니다.

지엑스피1

기본 포트(8000)에서 streamable-http 전송으로 실행합니다.

python fetch_url_mcp_server.py --transport streamable-http

# client
uv run client_streamablehttp.py

사용자 지정 포트에서 streamable-http 전송으로 실행:

python fetch_url_mcp_server.py --transport streamable-http --port 8080

필수 조건

  • Python 3.10 이상

  • Bedrock 액세스 권한이 있는 AWS 계정

  • 구성된 AWS 자격 증명

  • UV 패키지 관리자

특징

  • Converse API를 사용하여 AWS Bedrock 런타임과 원활하게 통합

  • Bedrock 호환성을 위한 도구 형식 변환

  • 비동기 통신 처리

  • 디버깅을 위한 구조화된 로깅

기여하다

문제점을 제출하고 풀 리퀘스트를 보내 구현을 개선하세요.

특허

MIT 라이센스

참고문헌

Related MCP Connectors

Related MCP Servers

  • F
    license
    B
    quality
    D
    maintenance
    Implements the Model Context Protocol (MCP) to provide AI models with a standardized interface for connecting to external data sources and tools like file systems, databases, or APIs.
    1
    153
    -
  • F
    license
    Not graded
    quality
    D
    maintenance
    Enables interaction with AWS services (EC2, S3, Lambda, DynamoDB, etc.) through the Model Context Protocol, allowing natural language management of cloud resources.
    2
    -
  • A
    license
    Not graded
    quality
    D
    maintenance
    Provides a standardized interface for interacting with Rocketlane's tools and services through the Model Context Protocol, enabling unified API access.
    1
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    Provides a standardized interface for interacting with Falai's tools and services through the Model Context Protocol, enabling AI assistants to leverage Falai capabilities.
    2
    MIT