What is DynamoDB MCP Server?
A Model Context Protocol (MCP) server for managing Amazon DynamoDB resources. It provides tools for table management, index management, capacity management, and data operations. This server is intended for developers and administrators who want to interact with DynamoDB through AI assistants like Claude.
How to use DynamoDB MCP Server?
Install dependencies with npm install, then configure AWS credentials as environment variables (AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, AWS_REGION, and optionally AWS_SESSION_TOKEN). Build the server with npm run build and start with npm start. For use with Claude Desktop, add a Docker configuration to claude_desktop_config.json as shown in the README.
Key features of DynamoDB MCP Server
- Create, list, and describe DynamoDB tables
- Create and manage Global Secondary Indexes (GSI) and Local Secondary Indexes (LSI)
- Update provisioned read/write capacity for tables and GSIs
- Insert, retrieve, and update items in tables
- Query tables with key conditions and scan with filters
- Delete operations are intentionally not supported to prevent accidental data loss
Use cases of DynamoDB MCP Server
- Create a new DynamoDB table with custom partition key, sort key, and capacity settings
- Add a global secondary index to an existing table for alternative query patterns
- Scale the read/write capacity of a table or index on demand
- Insert and update items, then retrieve them by primary key
- Query items using key condition expressions or scan with filter expressions
评论