@imazhar101/mcp-aws-server
v1.0.3
Published
AWS MCP Server - Provides tools for interacting with AWS services (DynamoDB, Lambda, API Gateway)
Downloads
298
Readme
AWS MCP Server
AWS MCP Server provides Model Context Protocol tools for interacting with AWS services including DynamoDB, Lambda, and API Gateway.
Features
DynamoDB
- List tables
- Describe table schema
- Put, get, update, delete items
- Query and scan operations
- Batch operations
Lambda
- List functions
- Get function details
- Invoke functions
- Update function code and configuration
API Gateway
- REST API management (v1)
- HTTP/WebSocket API management (v2)
- Resource and method management
- Integration setup
- Deployment management
Configuration
Set the following environment variables:
export AWS_REGION=us-east-1
export AWS_ACCESS_KEY_ID=your-access-key
export AWS_SECRET_ACCESS_KEY=your-secret-keyOr use AWS profiles, IAM roles, or other AWS credential methods.
Installation & Usage
Option 1: npm Package (Recommended)
# Install globally
npm install -g @imazhar101/mcp-aws-server
# Or run directly with npx
npx @imazhar101/mcp-aws-serverOption 2: Build from Source
# From project root
npm install
npm run build
# The server will be available at:
./dist/servers/aws/src/index.jsCline MCP Configuration
To use this server with Cline (VS Code extension), add the following to your Cline MCP settings:
File Location:
- macOS:
~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json - Windows:
%APPDATA%/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json - Linux:
~/.config/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
Configuration:
{
"mcpServers": {
"aws-integration": {
"command": "npx",
"args": ["@imazhar101/mcp-aws-server"],
"env": {
"AWS_REGION": "us-east-1",
"AWS_ACCESS_KEY_ID": "your-access-key-id",
"AWS_SECRET_ACCESS_KEY": "your-secret-access-key"
},
"disabled": false,
"alwaysAllow": [
"dynamodb_list_tables",
"lambda_list_functions",
"apigateway_list_rest_apis"
]
}
}
}Tools
DynamoDB Tools
dynamodb_list_tables- List all DynamoDB tablesdynamodb_describe_table- Get table schema and detailsdynamodb_put_item- Insert or replace an itemdynamodb_get_item- Retrieve an item by keydynamodb_update_item- Update an existing itemdynamodb_delete_item- Delete an itemdynamodb_query- Query items with conditionsdynamodb_scan- Scan all items in a table
Lambda Tools
lambda_list_functions- List all Lambda functionslambda_get_function- Get function detailslambda_invoke_function- Invoke a functionlambda_update_function_code- Update function codelambda_update_function_configuration- Update function settings
API Gateway Tools
apigateway_list_rest_apis- List REST APIsapigateway_create_rest_api- Create a new REST APIapigateway_get_resources- Get API resourcesapigateway_create_resource- Create a new resourceapigateway_put_method- Add a method to a resourceapigateway_put_integration- Add integration to a methodapigateway_create_deployment- Deploy the APIapigatewayv2_list_apis- List HTTP/WebSocket APIsapigatewayv2_create_api- Create HTTP/WebSocket APIapigatewayv2_get_routes- Get API routesapigatewayv2_create_route- Create a new route
Required AWS Permissions
The server requires appropriate AWS IAM permissions for the services you want to use:
DynamoDB
dynamodb:ListTablesdynamodb:DescribeTabledynamodb:PutItemdynamodb:GetItemdynamodb:UpdateItemdynamodb:DeleteItemdynamodb:Querydynamodb:Scandynamodb:BatchGetItemdynamodb:BatchWriteItem
Lambda
lambda:ListFunctionslambda:GetFunctionlambda:InvokeFunctionlambda:UpdateFunctionCodelambda:UpdateFunctionConfiguration
API Gateway
apigateway:GETapigateway:POSTapigateway:PUTapigateway:DELETE
