A
- π Query and modify AWS resources using natural language
- βοΈ Support for multiple AWS profiles and SSO authentication
- π Multi-region support
- π Secure credential handling (no credentials are exposed to external services, your local credentials are used)
- πββοΈ Local execution with your AWS credentials
Node.js Claude Desktop - AWS credentials configured locally (
~/.aws/
directory)
- Clone the repository:
git clone https://github.com/RafalWilinski/aws-mcp
cd aws-mcp
- Install dependencies:
pnpm install
# or
npm install
- Open Claude desktop app and go to Settings -> Developer -> Edit Config
- Add the following entry to your
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.
- Restart Claude desktop app. You should see this:
- Start by selecting an AWS profile or jump to action by asking:
- "List available AWS profiles"
- "List all EC2 instances in my account"
- "Show me S3 buckets with their sizes"
- "What Lambda functions are deployed in us-east-1?"
- "List all ECS clusters and their services"
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
- MFA support
- Cache SSO credentials to prevent from refreshing them too eagerly