MCP Tool Server
AWS Bedrock 上の MCP
Anthropic MCP (AWS Bedrock 上) の実装と理解のためのシンプルで明確な例。
複数のMCPサーバの管理については、この小さなプロジェクトQ-2001が参考になるかもしれません。
概要
このプロジェクトは、AWS Bedrock で Anthropic の Model Context Protocol (MCP) を実装して使用する方法を示します。AWS Bedrock のランタイムサービスを介して MCP 対応ツールとやり取りできるクライアント実装を提供します。
Related MCP server: AWS MCP Server
2025年5月10日更新: ストリーミング可能なHTTP
ストリーミング可能なHTTPのサポートを追加
さまざまなトランスポートタイプを示すURLフェッチMCPサーバー
fetch_url_mcp_server.pyを書き直す
使用方法
デフォルトの stdio 設定 (トランスポート パラメータなし) でサーバーを実行します。
uv run fetch_url_mcp_server.py
# client
uv run client_stdio.pyデフォルト ポート (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ライセンス
参考文献
This server cannot be deployed
Maintenance
Related MCP Connectors
Discover Frontier inference capabilities and read sanitized usage through read-only tools.
Cross-tool persistent memory and context for AI assistants over MCP.
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
A Model Context Protocol server for Wix AI tools
Related MCP Servers
- FlicenseBqualityDmaintenanceImplements 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.1153-
- FlicenseNot gradedqualityDmaintenanceEnables interaction with AWS services (EC2, S3, Lambda, DynamoDB, etc.) through the Model Context Protocol, allowing natural language management of cloud resources.2-
- AlicenseNot gradedqualityDmaintenanceProvides a standardized interface for interacting with Rocketlane's tools and services through the Model Context Protocol, enabling unified API access.1MIT
- AlicenseNot gradedqualityDmaintenanceProvides a standardized interface for interacting with Falai's tools and services through the Model Context Protocol, enabling AI assistants to leverage Falai capabilities.2MIT