
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
aws/mcp-proxy-for-awsは、https://github.com/aws/mcp-proxy-for-aws.からインポートされたMCPサーバー候補です。
概要
aws/mcp-proxy-for-awsは、https://github.com/aws/mcp-proxy-for-aws.からインポートされたMCPサーバー候補です。
概要(AI 翻訳)
概要
MCP Proxy for AWSパッケージは、AIアプリケーションをAWS上のMCPサーバーに接続する2つの方法を提供します。
- プロキシとして使用 - MCPクライアント(Claude Desktop、Kiro CLIのようなAIアシスタント)とAWS上のMCPサーバーをつなぐ軽量なクライアントサイドブリッジとなります。(MCPプロキシを参照)
- ライブラリとして利用 - 人気のAIエージェントフレームワーク(LangChain、LlamaIndex、Strands Agentsなど)をAWS上のMCPサーバーにプログラム的に接続する。(プログラムアクセスを参照)
この荷物はいつ必要ですか?
- AWS上の**MCPサーバー(例:Amazon Bedrock AgentCore使用)に接続し、OAuthではなくAWSのIAM認証(SigV4)を使用する必要があります
- Claude DesktopやKiro CLIのようなMCPクライアントを使っており、これらはAWS IAM認証をネイティブに対応していません
- LangChain、Strands Agents、LlamaIndexなどの人気フレームワークでAIエージェントを構築し、AWSのMCPサーバーに接続する必要があります
- カスタムのSigV4リクエスト署名ロジックを自分で構築するのは避けたいです
このパッケージが役立つ理由
問題点: 公式MCP仕様ではOAuthベースの認証がサポートされていますが、AWS上のMCPサーバーはAWS IAM認証(SigV4)も利用できます。
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。
README
以下は原文 README の抜粋です。原文を見る。
MCP Proxy for AWS
Overview
The MCP Proxy for AWS package provides two ways to connect AI applications to MCP servers on AWS:
- Using it as a proxy - It becomes a lightweight, client-side bridge between MCP clients (AI assistants like Claude Desktop, Kiro CLI) and MCP servers on AWS. (See MCP Proxy)
- Using it as a library - Programmatically connect popular AI agent frameworks (LangChain, LlamaIndex, Strands Agents, etc.) to MCP servers on AWS. (See Programmatic Access)
When Do You Need This Package?
- You want to connect to MCP servers on AWS (e.g., using Amazon Bedrock AgentCore) that use AWS IAM authentication (SigV4) instead of OAuth
- You’re using MCP clients (like Claude Desktop, Kiro CLI) that don’t natively support AWS IAM authentication
- You’re building AI agents with popular frameworks like LangChain, Strands Agents, LlamaIndex, etc., that need to connect to MCP servers on AWS
- You want to avoid building custom SigV4 request signing logic yourself
How This Package Helps
The Problem: The official MCP specification supports OAuth-based authentication, but MCP servers on AWS can also use AWS IAM authentication (SigV4). Standard MCP clients don’t know how to sign requests with AWS credentials.
The Solution: This package bridges that gap by:
- Handling SigV4 authentication automatically - Uses your local AWS credentials (from AWS CLI, environment variables, or IAM roles) to sign all MCP requests using SigV4
- Providing seamless integration - Works with existing MCP clients and frameworks
- Eliminating custom code - No need to build your own MCP client with SigV4 signing logic
Which Feature Should I Use?
Use as a proxy if you want to:
- Connect MCP clients like Claude Desktop or Kiro CLI to MCP servers on AWS with IAM credentials
- Add MCP servers on AWS to your AI assistant’s configuration
- Use a command-line tool that runs as a bridge between your MCP client and AWS
→ Install mcp-proxy-for-aws-cli, the version-pinned CLI distribution: it freezes the entire dependency tree to tested versions. See MCP Proxy.
Use as a library if you want to:
- Build AI agents programmatically using popular frameworks like LangChain, Strands Agents, or LlamaIndex
- Integrate AWS IAM-secured MCP servers directly into your Python applications
- Have fine-grained control over the MCP session lifecycle in your code
→ Install mcp-proxy-for-aws, the library distribution: it keeps loose, co-resolvable dependency ranges so it resolves alongside your own dependencies. See Programmatic Access.
Prerequisites
インストール
uvx mcp-proxy-for-aws-cli@latest https://aws-mcp.us-east-1.api.aws/mcp設定
{
"mcpServers": {
"aws": {
"command": "uvx",
"args": ["mcp-proxy-for-aws-cli@latest", "https://aws-mcp.us-east-1.api.aws/mcp"],
"env": {
"AWS_MCP_PROXY_PROFILES": "prod-readonly dev staging"
}
}
}
}