
Model Context Protocol server for managing Amazon DynamoDB resources
Model Context Protocol server for managing Amazon DynamoDB resources
A Model Context Protocol server for managing Amazon DynamoDB resources. This server provides tools for table management, capacity management, and data operations.
Iman Kamyabi ([email protected])
Note: Delete operations are not supported to prevent accidental data loss.
npm installexport AWS_ACCESS_KEY_ID="your_access_key"
export AWS_SECRET_ACCESS_KEY="your_secret_key"
export AWS_REGION="your_region"npm run buildnpm startCreates a new DynamoDB table with specified configuration.
Parameters:
tableName: Name of the table to createpartitionKey: Name of the partition keypartitionKeyType: Type of partition key (S=String, N=Number, B=Binary)sortKey: (Optional) Name of the sort keysortKeyType: (Optional) Type of sort keyreadCapacity: Provisioned read capacity unitswriteCapacity: Provisioned write capacity unitsExample:
{
"tableName": "Users",
"partitionKey": "userId",
"partitionKeyType": "S",
"readCapacity": 5,
"writeCapacity": 5
}Lists all DynamoDB tables in the account.
Parameters:
limit: (Optional) Maximum number of tables to returnexclusiveStartTableName: (Optional) Name of the table to start from for paginationExample:
{
"limit": 10
}Gets detailed information about a DynamoDB table.
Parameters:
tableName: Name of the table to describeExample:
{
"tableName": "Users"
}Creates a global secondary index on a table.
Parameters:
tableName: Name of the tableindexName: Name of the new indexpartitionKey: Partition key for the indexpartitionKeyType: Type of partition keysortKey: (Optional) Sort key for the indexsortKeyType: (Optional) Type of sort keyprojectionType: Type of projection (ALL, KEYS_ONLY, INCLUDE)nonKeyAttributes: (Optional) Non-key attributes to projectreadCapacity: Provisioned read capacity unitswriteCapacity: Provisioned write capacity unitsExample:
{
"tableName": "Users",
"indexName": "EmailIndex",
"partitionKey": "email",
"partitionKeyType": "S",
"projectionType": "ALL",
"readCapacity": 5,
"writeCapacity": 5
}Updates the provisioned capacity of a global secondary index.
Parameters:
tableName: Name of the tableindexName: Name of the index to updatereadCapacity: New read capacity unitswriteCapacity: New write capacity unitsExample:
{
"tableName": "Users",
"indexName": "EmailIndex",
"readCapacity": 10,
"writeCapacity": 10
}Creates a local secondary index on a table (must be done during table creation).
Parameters:
tableName: Name of the tableindexName: Name of the new indexpartitionKey: Partition key for the tablepartitionKeyType: Type of partition keysortKey: Sort key for the indexsortKeyType: Type of sort keyprojectionType: Type of projection (ALL, KEYS_ONLY, INCLUDE)nonKeyAttributes: (Optional) Non-key attributes to projectreadCapacity: (Optional) Provisioned read capacity unitswriteCapacity: (Optional) Provisioned write capacity unitsExample:
{
"tableName": "Users",
"indexName": "CreatedAtIndex",
"partitionKey": "userId",
"partitionKeyType": "S",
"sortKey": "createdAt",
"sortKeyType": "N",
"projectionType": "ALL"
}Updates the provisioned capacity of a table.
Parameters:
tableName: Name of the tablereadCapacity: New read capacity unitswriteCapacity: New write capacity unitsExample:
{
"tableName": "Users",
"readCapacity": 10,
"writeCapacity": 10
}Inserts or replaces an item in a table.
Parameters:
tableName: Name of the tableitem: Item to put into the table (as JSON object)Example:
{
"tableName": "Users",
"item": {
"userId": "123",
"name": "John Doe",
"email": "[email protected]"
}
}Retrieves an item from a table by its primary key.
Parameters:
tableName: Name of the tablekey: Primary key of the item to retrieveExample:
{
"tableName": "Users",
"key": {
"userId": "123"
}
}Updates specific attributes of an item in a table.
Parameters:
tableName: Name of the tablekey: Primary key of the item to updateupdateExpression: Update expressionexpressionAttributeNames: Attribute name mappingsexpressionAttributeValues: Values for the update expressionconditionExpression: (Optional) Condition for updatereturnValues: (Optional) What values to returnExample:
{
"tableName": "Users",
"key": {
"userId": "123"
},
"updateExpression": "SET #n = :name",
"expressionAttributeNames": {
"#n": "name"
},
"expressionAttributeValues": {
":name": "Jane Doe"
}
}Queries a table using key conditions and optional filters.
Parameters:
tableName: Name of the tablekeyConditionExpression: Key condition expressionexpressionAttributeValues: Values for the key condition expressionexpressionAttributeNames: (Optional) Attribute name mappingsfilterExpression: (Optional) Filter expression for resultslimit: (Optional) Maximum number of items to returnExample:
{
"tableName": "Users",
"keyConditionExpression": "userId = :id",
"expressionAttributeValues": {
":id": "123"
}
}Scans an entire table with optional filters.
Parameters:
tableName: Name of the tablefilterExpression: (Optional) Filter expressionexpressionAttributeValues: (Optional) Values for the filter expressionexpressionAttributeNames: (Optional) Attribute name mappingslimit: (Optional) Maximum number of items to returnExample:
{
"tableName": "Users",
"filterExpression": "age > :minAge",
"expressionAttributeValues": {
":minAge": 21
}
}Here are some example questions you can ask Claude when using this DynamoDB MCP server:
Add this to your claude_desktop_config.json:
{
"mcpServers": {
"dynamodb": {
"command": "docker",
"args": [ "run", "-i", "--rm", "-e", "AWS_ACCESS_KEY_ID", "-e", "AWS_SECRET_ACCESS_KEY", "-e", "AWS_REGION", "-e", "AWS_SESSION_TOKEN", "mcp/dynamodb-mcp-server" ],
"env": {
"AWS_ACCESS_KEY_ID": "your_access_key",
"AWS_SECRET_ACCESS_KEY": "your_secret_key",
"AWS_REGION": "your_region",
"AWS_SESSION_TOKEN": "your_session_token"
}
}
}
}Docker:
docker build -t mcp/dynamodb-mcp-server -f Dockerfile .To run in development mode with auto-reloading:
npm run devThis MCP server is licensed under the MIT License. This means you are free to use, modify, and distribute the software, subject to the terms and conditions of the MIT License. For more details, please see the LICENSE file in the project repository.
This repo does not document an install step we could read. Check the README on GitHub.
Paste this prompt into your agent. It reads this page and does the setup for you.
Read https://aiagentslisting.com/mcp/dynamodb-mcp-server to learn what the "DynamoDB MCP Server" MCP server does and how to install it. Add it to my coding agent's MCP configuration as documented on that page, then confirm the server connects and list the tools it exposes.Agents can also browse this directory over MCP at https://aiagentslisting.com/api/mcp
This server doesn't publish a machine-readable tool manifest, and it doesn't expose a public endpoint we could ask. Connect the server locally to see what it exposes.
Maintain this server? Claiming proves you own the listing and earns the last 4 points.
Claim this listingPaste this line near the top of your repository's README. The badge always renders the current score.
[](https://aiagentslisting.com/mcp/dynamodb-mcp-server)Nothing comparable is listed yet.
No tagged releases on record.
Connect to the AI Agents Listing MCP server at https://aiagentslisting.com/api/mcp using the HTTP transport and complete the sign-in when it asks. Then call the submit_review tool for the listing "dynamodb-mcp-server" with a rating from 1 to 5 and a short note on what worked and what did not.No reviews yet
Be the first to share your experience with this tool.
One email a week. New agents, MCP servers and skills, and what is actually getting traction.