Aws Mcp サーバー
AWSリソースに対する操作のためのモデルコンテキストプロトコルサーバー実装
概要
MCPサーバーAWSとは?
MCPサーバーAWSは、AWSリソースに対する操作を容易にするために設計されたモデルコンテキストプロトコルサーバーの実装です。このサーバーは、アプリケーションとAWSサービスの間の橋渡しを行い、開発者がさまざまなAWSリソースをシームレスに管理し、対話できるようにします。モデルコンテキストプロトコルを利用することで、操作が構造化され、効率的に行われることを保証し、全体的なユーザー体験を向上させます。
MCPサーバーAWSの特徴
- シームレスな統合: MCPサーバーAWSは、さまざまなAWSサービスと簡単に統合され、ユーザーが広範な設定なしでリソースを管理できるようにします。
- スケーラビリティ: 増加するリクエスト数に対応できるように設計されており、アプリケーションの成長に応じて効率的にスケールします。
- 強固なセキュリティ: セキュリティのベストプラクティスを取り入れ、データと操作が不正アクセスから保護されることを保証します。
- ユーザーフレンドリーなインターフェース: 開発者にとってわかりやすいインターフェースを提供し、AWSリソースに対する操作を簡単に行えるようにします。
- オープンソース: オープンソースプロジェクトであるため、開発者が貢献し、その機能を強化できるようになっており、コミュニティ主導の開発アプローチを促進します。
MCPサーバーAWSの使い方
- インストール: GitHubからリポジトリをクローンし、ドキュメントに記載されたインストール手順に従って始めます。
- 設定: サーバー設定を構成して、AWSアカウントに接続します。これには、アクセスキーと権限の設定が含まれます。
- サーバーのデプロイ: 設定が完了したら、ローカルまたはクラウドプラットフォームのいずれかでサーバーをデプロイします。
- 操作の実行: 提供されたAPIエンドポイントを使用して、AWSリソースに対する操作を実行します。ドキュメントには、始めるための例やユースケースが含まれています。
- 監視とメンテナンス: サーバーのパフォーマンスを定期的に監視し、新機能やセキュリティパッチを組み込むために必要に応じて更新します。
よくある質問
Q1: MCPサーバーAWSはどのプログラミング言語をサポートしていますか?
A1: MCPサーバーAWSは主にJavaScriptとNode.jsを使用して構築されており、これらの技術に慣れた開発者にとってアクセスしやすくなっています。
Q2: MCPサーバーAWSの使用に費用はかかりますか?
A2: いいえ、MCPサーバーAWSはオープンソースプロジェクトであるため、無料で使用できます。ただし、ユーザーが利用するAWSリソースに関連するコストが発生する可能性があります。
Q3: MCPサーバーAWSプロジェクトに貢献できますか?
A3: もちろんです!貢献は大歓迎です。GitHubリポジトリで問題の報告、機能リクエスト、またはプルリクエストを提出できます。
Q4: MCPサーバーAWSはセキュリティをどのように扱っていますか?
A4: サーバーは、AWSリソースへのアクセスを制限するためにIAMロールとポリシーの使用を含むセキュリティのベストプラクティスに従っています。さらに、データの転送中および静止中の暗号化をサポートしています。
Q5: MCPサーバーAWSのドキュメントはどこで見つけられますか?
A5: ドキュメントはGitHubリポジトリにあり、インストール、設定、使用に関する包括的なガイドが提供されています。
詳細
AWS MCP Server
A Model Context Protocol server implementation for AWS operations that currently supports S3 and DynamoDB services. All operations are automatically logged and can be accessed through the audit://aws-operations
resource endpoint.
See a demo video here.
Listed as a Community Server within the MCP servers repository.
Running locally with the Claude desktop app
Installing via Smithery
To install AWS MCP Server for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install mcp-server-aws --client claude
Manual Installation
- Clone this repository.
- Set up your AWS credentials via one of the two methods below. Note that this server requires an IAM user with RW permissions for your AWS account for S3 and DynamoDB.
- Environment variables:
AWS_ACCESS_KEY_ID
,AWS_SECRET_ACCESS_KEY
,AWS_REGION
(defaults tous-east-1
) - Default AWS credential chain (set up via AWS CLI with
aws configure
)
- Add the following to your
claude_desktop_config.json
file:
- On MacOS:
~/Library/Application\ Support/Claude/claude_desktop_config.json
- On Windows:
%APPDATA%/Claude/claude_desktop_config.json
"mcpServers": {
"mcp-server-aws": {
"command": "uv",
"args": [
"--directory",
"/path/to/repo/mcp-server-aws",
"run",
"mcp-server-aws"
]
}
}
- Install and open the Claude desktop app.
- Try asking Claude to do a read/write operation of some sort to confirm the setup (e.g. create an S3 bucket and give it a random name). If there are issues, use the Debugging tools provided in the MCP documentation here.
Available Tools
S3 Operations
- s3_bucket_create: Create a new S3 bucket
- s3_bucket_list: List all S3 buckets
- s3_bucket_delete: Delete an S3 bucket
- s3_object_upload: Upload an object to S3
- s3_object_delete: Delete an object from S3
- s3_object_list: List objects in an S3 bucket
- s3_object_read: Read an object's content from S3
DynamoDB Operations
Table Operations
- dynamodb_table_create: Create a new DynamoDB table
- dynamodb_table_describe: Get details about a DynamoDB table
- dynamodb_table_delete: Delete a DynamoDB table
- dynamodb_table_update: Update a DynamoDB table
Item Operations
- dynamodb_item_put: Put an item into a DynamoDB table
- dynamodb_item_get: Get an item from a DynamoDB table
- dynamodb_item_update: Update an item in a DynamoDB table
- dynamodb_item_delete: Delete an item from a DynamoDB table
- dynamodb_item_query: Query items in a DynamoDB table
- dynamodb_item_scan: Scan items in a DynamoDB table
Batch Operations
- dynamodb_batch_get: Batch get multiple items from DynamoDB tables
- dynamodb_item_batch_write: Batch write operations (put/delete) for DynamoDB items
- dynamodb_batch_execute: Execute multiple PartiQL statements in a batch
TTL Operations
- dynamodb_describe_ttl: Get the TTL settings for a table
- dynamodb_update_ttl: Update the TTL settings for a table
サーバー設定
{
"mcpServers": {
"mcp-server-aws": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/metorial/mcp-container--rishikavikondala--mcp-server-aws--mcp-server-aws",
"mcp-server-aws"
],
"env": {
"AWS_ACCESS_KEY_ID": "AWS_ACCESS_KEY_ID",
"AWS_SECRET_ACCESS_KEY": "AWS_SECRET_ACCESS_KEY",
"AWS_REGION": "AWS_REGION"
}
}
}
}