AWS MCP
Interact with your AWS environment using natural language to query and manage resources. Requires local AWS credentials.
AWS MCP
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.
Features
- 🔍 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
Prerequisites
- Node.js
- Claude Desktop
- AWS credentials configured locally (
~/.aws/
directory)
Installation
- Clone the repository:
git clone https://github.com/RafalWilinski/aws-mcp
cd aws-mcp
- Install dependencies:
pnpm install
# or
npm install
Usage
- 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"
Using with 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"
]
}
}
}
Troubleshooting
To see logs:
tail -n 50 -f ~/Library/Logs/Claude/mcp-server-aws.log
# or
tail -n 50 -f ~/Library/Logs/Claude/mcp.log
Features in Development
- MFA support
- Cache SSO credentials to prevent from refreshing them too eagerly
Related Servers
CISA M365 MCP Server
Implements CISA Binding Operational Directive 25-01 security controls for Microsoft 365 and Azure AD/Entra ID.
Huawei MCP Server
A Model Context Protocol server built on Huawei Cloud services, providing secure and controlled cloud access for large AI models.
Wuying AgentBay MCP Server
A cloud infrastructure from Alibaba Cloud for AI Agents, featuring one-click configuration and serverless execution.
VixMCP.Ai.Bridge
An MCP server that exposes VMware VIX operations for AI assistants and automation workflows.
NASA MCP Server
An MCP server for interacting with various NASA APIs and data sources. Requires a NASA API key.
Strava MCP Server
A server that connects to the Strava API, allowing language models to access Strava data and features.
WordPress MCP Server
An MCP server for interacting with WordPress sites via the REST API, allowing you to manage posts, pages, and media.
Strava MCP Server
Access the Strava API to interact with activities, athlete information, and other Strava data.
LlamaIndex MCP demos
Expose LlamaCloud services as MCP tools for building and managing LLM applications.
CORTEX MCP Extensions
Provides direct access to CORTEX infrastructure for orchestration, monitoring, AI flow management, model routing, and Docker administration.