
AWS
STDIO让Claude通过自然语言操作AWS资源的服务器
让Claude通过自然语言操作AWS资源的服务器
A Model Context Protocol (MCP) server that enables AI assistants like Claude to interact with your AWS environment. This allows for natural language querying and management of your AWS resources during conversations. Think of better Amazon Q alternative.
~/.aws/
directory)git clone https://github.com/RafalWilinski/aws-mcp cd aws-mcp
pnpm install # or npm install
claude_desktop_config.json
:{ "mcpServers": { "aws": { "command": "npm", // OR pnpm "args": [ "--silent", "--prefix", "/Users/<YOUR USERNAME>/aws-mcp", "start" ] } } }
Important: Replace /Users/<YOUR USERNAME>/aws-mcp
with the actual path to your project directory.
nvm
Build from source first and add following config:
{ "mcpServers": { "aws": { "command": "/Users/<USERNAME>/.nvm/versions/node/v20.10.0/bin/node", "args": [ "<WORKSPACE_PATH>/aws-mcp/node_modules/tsx/dist/cli.mjs", "<WORKSPACE_PATH>/aws-mcp/index.ts", "--prefix", "<WORKSPACE_PATH>/aws-mcp", "start" ] } } }
To see logs:
tail -n 50 -f ~/Library/Logs/Claude/mcp-server-aws.log # or tail -n 50 -f ~/Library/Logs/Claude/mcp.log