AWS CLI MCP Server
@ClockworkCubed
关于 AWS CLI MCP Server
MCP server that acts as a thin wrapper around the local AWS CLI command
基本信息
配置
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"aws-cli-mcp": {
"command": "python",
"args": [
"aws_mcp.py"
]
}
}
}工具
未检测到工具
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
概览
What is AWS CLI MCP Server?
AWS CLI MCP Server is a Model Context Protocol (MCP) server that acts as a thin wrapper around the local AWS CLI installation, providing AI assistants with secure, controlled access to AWS services through the familiar AWS CLI interface. It is designed for users who want AI systems to manage AWS resources while leveraging existing AWS CLI configurations and credentials.
How to use AWS CLI MCP Server?
Install Python 3.10+ and the AWS CLI, then clone the repository, run pip install -e . to install dependencies, and start the server with python aws_mcp.py. The server runs in stdio mode and exposes a single tool, execute_aws_command_tool, which accepts an args array (e.g., ["sts", "get-caller-identity"]) and returns the command’s stdout, stderr, and exit code. Connect any MCP-compatible client (e.g., Claude Desktop) to the server via stdio transport.
Key features of AWS CLI MCP Server
- Thin wrapper that proxies commands directly to local AWS CLI
- Security by respecting existing AWS CLI credentials and permissions
- Compatibility with all AWS CLI commands and services
- Uses existing AWS CLI profiles and configurations
- Clean error handling and structured JSON output
- No additional authentication beyond existing AWS CLI setup
Use cases of AWS CLI MCP Server
- AI assistants managing AWS resources through natural language
- Automating routine AWS CLI tasks (e.g., listing instances, checking status)
- Enabling read-only AWS operations with guardrails from IAM policies
- Deploying or modifying infrastructure via the AWS CLI in a controlled manner
- Troubleshooting AWS services by executing CLI commands interactively
FAQ from AWS CLI MCP Server
What dependencies are required?
Python 3.10+ and a locally installed, configured AWS CLI with valid credentials (via aws configure, IAM roles, or environment variables).
What transport does the server use?
The server runs in stdio mode and communicates via the Model Context Protocol over standard input/output.
Does the server work with all AWS CLI commands?
Yes, it proxies any valid AWS CLI command and returns the output, so all services and commands supported by the local AWS CLI are accessible.
How are credentials and security handled?
The server uses the existing AWS CLI credentials and configuration—no additional authentication is needed. All AWS security mechanisms (IAM policies, MFA, etc.) remain in effect.
What is the name and format of the tool exposed?
The only tool is execute_aws_command_tool, which accepts a JSON array of arguments under the args key (e.g., {"args": ["s3", "ls"]}).
开发工具 分类下的更多 MCP 服务器
Smithery CLI
smithery-aiInstall, manage and develop MCP servers and skills for agents
MCP Inspector
modelcontextprotocolVisual testing tool for MCP servers
TalkToFigma
sonnylazuardiTalkToFigma: MCP integration between AI Agent (Cursor, Claude Code, Codex) and Figma, allowing Agentic AI to communicate with Figma for reading designs and modifying them programmatically.
OpenSumi
opensumiA framework helps you quickly build AI Native IDE products. MCP Client, supports Model Context Protocol (MCP) tools via MCP server.
MCP Containers
metorialConnect any AI model to 1200+ integrations (MCP, CLI, API)
评论