AWS Bedrock의 MCP
Anthropic MCP(AWS Bedrock 기반)를 구현하고 이해하기 위한 간단하고 명확한 예입니다.
여러 MCP 서버 관리를 위해 이 작은 프로젝트 Q-2001을 참조할 수 있습니다.
개요
이 프로젝트는 AWS Bedrock에서 Anthropic의 모델 컨텍스트 프로토콜(MCP)을 구현하고 사용하는 방법을 보여줍니다. AWS Bedrock의 런타임 서비스를 통해 MCP 지원 도구와 상호 작용할 수 있는 클라이언트 구현을 제공합니다.
업데이트 2025-05-10: 스트리밍 가능한 HTTP
- Streamable HTTP 에 대한 지원 추가
- 다양한 전송 유형을 보여주는 URL 페칭 MCP 서버
fetch_url_mcp_server.py
다시 작성하세요.
사용 지침
기본 stdio 설정(전송 매개변수 없음)으로 서버를 실행합니다.
지엑스피1
기본 포트(8000)에서 streamable-http 전송으로 실행합니다.
사용자 지정 포트에서 streamable-http 전송으로 실행:
필수 조건
- Python 3.10 이상
- Bedrock 액세스 권한이 있는 AWS 계정
- 구성된 AWS 자격 증명
- UV 패키지 관리자
특징
- Converse API를 사용하여 AWS Bedrock 런타임과 원활하게 통합
- Bedrock 호환성을 위한 도구 형식 변환
- 비동기 통신 처리
- 디버깅을 위한 구조화된 로깅
기여하다
문제점을 제출하고 풀 리퀘스트를 보내 구현을 개선하세요.
특허
MIT 라이센스
참고문헌
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
Tools
Anthropic의 모델 컨텍스트 프로토콜을 구현하여 원활한 도구 통합 및 통신을 통해 AWS Bedrock 지원 도구와의 상호 작용을 용이하게 합니다.
Related Resources
Related MCP Servers
- -securityAlicense-qualityA Model Context Protocol server that enables Claude to execute Python code using boto3 to query and manage AWS resources directly from conversations.Last updated -17PythonMIT License
- AsecurityAlicenseAqualityA Model Context Protocol server enabling AI assistants to directly interact with infrastructure tools like Ansible and Terraform for executing playbooks, managing cloud resources, and performing other infrastructure operations.Last updated -1812TypeScriptMIT License
- -securityFlicense-qualityA web application that enables users to interact with AWS Bedrock language models through a modern interface with support for multiple models like Claude 3, Titan, and Llama 2.Last updated -Python
- -securityAlicense-qualityA tool that helps users easily register Anthropic's Model Context Protocol in Claude Desktop and Cursor, providing ready-made MCP tools for RAG, web search, and Dify integrations.Last updated -PythonMIT License