AWS Support MCPサーバー
AWS Support API と連携するための Model Context Protocol (MCP) サーバー実装です。このサーバーにより、AI アシスタントがプログラムから AWS サポートケースを作成・管理できるようになります。
機能
- AWS サポートケースの作成と管理
- ケース情報と全コミュニケーション履歴の取得
- 既存ケースへのコミュニケーションの追加(添付ファイル対応)
- サポートケースの解決
- 二重エンコード保護付きの添付ファイルのアップロードとダウンロード
- ケース作成前に有効なサービスコード、カテゴリコード、重大度レベル、言語を確認
- サービスごとに利用可能なケース作成オプションの閲覧
利用可能なツール
| ツール | 説明 |
|---|---|
create_support_case | 新しいサポートケースを作成します |
describe_support_cases | 既存ケースの一覧表示・検索を行います |
describe_communications | ケースの全コミュニケーション履歴を取得します |
add_communication_to_case | ケースに返信します(添付ファイルはオプション) |
resolve_support_case | ケースをクローズします |
describe_services | AWS サービスとカテゴリコードを一覧表示します |
describe_severity_levels | 重大度レベルを一覧表示します |
describe_create_case_options | サービスに対して有効なカテゴリと重大度を取得します |
describe_supported_languages | サポートされている言語を一覧表示します |
add_attachments_to_set | ケースに添付するファイルをアップロードします |
describe_attachment | ID を指定して添付ファイルをダウンロードします |
要件
- Python 3.7 以上
- Support API へのアクセス権を持つ AWS 認証情報
- Business、Enterprise On-Ramp、または Enterprise サポートプラン
前提条件
- Astral または GitHub README の手順に従って
uvをインストールします uv python install 3.10を使用して Python をインストールします
インストール
| Kiro | Cursor | VS Code |
|---|---|---|
MCP クライアントの設定で MCP サーバーを構成します(例: Kiro の場合は ~/.kiro/settings/mcp.json を編集します):
{
"mcpServers": {
"awslabs_support_mcp_server": {
"command": "uvx",
"args": [
"-m", "awslabs.aws-support-mcp-server@latest",
"--debug",
"--log-file",
"./logs/mcp_support_server.log"
],
"env": {
"AWS_PROFILE": "your-aws-profile"
}
}
}
}
または:
uv pip install -e .
uv run awslabs/aws_support_mcp_server/server.py
{
"mcpServers": {
"awslabs_support_mcp_server": {
"command": "path-to-python",
"args": [
"-m",
"awslabs.aws_support_mcp_server.server",
"--debug",
"--log-file",
"./logs/mcp_support_server.log"
],
"env": {
"AWS_PROFILE": "manual_enterprise"
}
}
}
}
Windows でのインストール
Windows ユーザーの場合、MCP サーバーの設定形式が少し異なります:
{
"mcpServers": {
"awslabs.aws-support-mcp-server": {
"disabled": false,
"timeout": 60,
"type": "stdio",
"command": "uv",
"args": [
"tool",
"run",
"--from",
"awslabs.aws-support-mcp-server@latest",
"awslabs.aws-support-mcp-server.exe"
],
"env": {
"FASTMCP_LOG_LEVEL": "ERROR",
"AWS_PROFILE": "your-aws-profile",
"AWS_REGION": "us-east-1"
}
}
}
}
使い方
サーバーを起動します:
python -m awslabs.aws_support_mcp_server.server [options]
オプション:
--port PORT: サーバーを実行するポート(デフォルト: 8888)--debug: デバッグログを有効にします--log-file: ログファイルの保存先
設定
サーバーは環境変数を使用して設定できます:
AWS_REGION: AWS リージョン(デフォルト: us-east-1)AWS_PROFILE: AWS 認証情報のプロファイル名
ドキュメント
利用可能なツールとリソースの詳細なドキュメントについては、API ドキュメントを参照してください。
ライセンス
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License").