DynamoDB MCP Server
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@DynamoDB MCP Server list my DynamoDB tables in us-west-2"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
AWS DynamoDB MCP Server
The official MCP Server for interacting with AWS DynamoDB
This comprehensive server provides both operational DynamoDB management and expert design guidance, featuring 30+ operational tools for managing DynamoDB tables, items, indexes, backups, and more, expert data modeling guidance.
Available MCP Tools
Design & Modeling
dynamodb_data_modeling- Retrieves the complete DynamoDB Data Modeling Expert prompt
Table Operations
create_table- Creates a new DynamoDB table with optional secondary indexesdelete_table- Deletes a table and all of its itemsdescribe_table- Returns table information including status, creation time, key schema and indexeslist_tables- Returns a paginated list of table names in your accountupdate_table- Modifies table settings including provisioned throughput, global secondary indexes, and DynamoDB Streams configuration
Item Operations
get_item- Returns attributes for an item with the given primary keyput_item- Creates a new item or replaces an existing item in a tableupdate_item- Edits an existing item's attributes, or adds a new item if it does not already existdelete_item- Deletes a single item in a table by primary key
Query and Scan Operations
query- Returns items from a table or index matching a partition key value, with optional sort key filteringscan- Returns items and attributes by scanning a table or secondary index
Backup and Recovery
create_backup- Creates a backup of a DynamoDB tabledescribe_backup- Describes an existing backup of a tablelist_backups- Returns a list of table backupsrestore_table_from_backup- Creates a new table from a backupdescribe_continuous_backups- Returns continuous backup and point in time recovery statusupdate_continuous_backups- Enables or disables point in time recovery
Time to Live (TTL)
update_time_to_live- Enables or disables Time to Live (TTL) for the specified tabledescribe_time_to_live- Returns the Time to Live (TTL) settings for a table
Export Operations
describe_export- Returns information about a table exportlist_exports- Returns a list of table exports
Tags and Resource Policies
put_resource_policy- Attaches a resource-based policy document to a table or streamget_resource_policy- Returns the resource-based policy document attached to a table or streamtag_resource- Adds tags to a DynamoDB resourceuntag_resource- Removes tags from a DynamoDB resourcelist_tags_of_resource- Returns tags for a DynamoDB resource
Misc
describe_limits- Returns the current provisioned-capacity quotas for your AWS accountdescribe_endpoints- Returns DynamoDB endpoints for the current region
Related MCP server: DynamoDB Read-Only MCP
Instructions
The official MCP Server for interacting with AWS DynamoDB provides a comprehensive set of tools for both designing and managing DynamoDB resources.
To use these tools, ensure you have proper AWS credentials configured with appropriate permissions for DynamoDB operations. The server will automatically use credentials from environment variables (AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, AWS_SESSION_TOKEN) or other standard AWS credential sources.
All tools support an optional region_name parameter to specify which AWS region to operate in. If not provided, it will use the AWS_REGION environment variable or default to 'us-west-2'.
Prerequisites
Install
uvfrom Astral or the GitHub READMEInstall Python using
uv python install 3.10Set up AWS credentials with access to AWS services
Consider setting up Read-only permission if you don't want the LLM to modify any resources
Installation
Cursor | VS Code |
Add the MCP to your favorite agentic tools. (e.g. for Amazon Q Developer CLI MCP, ~/.aws/amazonq/mcp.json):
{
"mcpServers": {
"awslabs.dynamodb-mcp-server": {
"command": "uvx",
"args": ["awslabs.dynamodb-mcp-server@latest"],
"env": {
"DDB-MCP-READONLY": "true",
"AWS_PROFILE": "default",
"AWS_REGION": "us-west-2",
"FASTMCP_LOG_LEVEL": "ERROR"
},
"disabled": false,
"autoApprove": []
}
}
}Windows Installation
For Windows users, the MCP server configuration format is slightly different:
{
"mcpServers": {
"awslabs.dynamodb-mcp-server": {
"disabled": false,
"timeout": 60,
"type": "stdio",
"command": "uv",
"args": [
"tool",
"run",
"--from",
"awslabs.dynamodb-mcp-server@latest",
"awslabs.dynamodb-mcp-server.exe"
],
"env": {
"FASTMCP_LOG_LEVEL": "ERROR",
"AWS_PROFILE": "your-aws-profile",
"AWS_REGION": "us-east-1"
}
}
}
}or docker after a successful docker build -t awslabs/dynamodb-mcp-server .:
{
"mcpServers": {
"awslabs.dynamodb-mcp-server": {
"command": "docker",
"args": [
"run",
"--rm",
"--interactive",
"--env",
"FASTMCP_LOG_LEVEL=ERROR",
"awslabs/dynamodb-mcp-server:latest"
],
"env": {},
"disabled": false,
"autoApprove": []
}
}
}Available Tools
30 toolscreate_backupC
Creates a backup of a DynamoDB table.
Inputs: table_name (required), backup_name (required), region_name.
create_tableB
Creates a new DynamoDB table with optional secondary indexes. This is an asynchronous operation.
Inputs: key_schema (required), table_name (required), attribute_definitions (required), region_name, +3 more.
delete_itemB
Deletes a single item in a table by primary key. You can perform a conditional delete operation that deletes the item if it exists, or if it has an expected attribute value.
Inputs: key (required), table_name (required), region_name, condition_expression, +2 more.
delete_tableC
The DeleteTable operation deletes a table and all of its items. This is an asynchronous operation that puts the table into DELETING state until DynamoDB completes the deletion.
Inputs: table_name (required), region_name.
describe_backupC
Describes an existing backup of a table.
Inputs: backup_arn (required), region_name.
describe_continuous_backupsB
Returns continuous backup and point in time recovery status for a table.
Inputs: table_name (required), region_name.
describe_endpointsC
Returns DynamoDB endpoints for the current region.
Inputs: region_name.
describe_exportC
Returns information about a table export.
Inputs: export_arn (required), region_name.
describe_limitsB
Returns the current provisioned-capacity quotas for your AWS account and tables in a Region.
Inputs: region_name.
describe_tableB
Returns table information including status, creation time, key schema and indexes.
Inputs: table_name (required), region_name.
describe_time_to_liveB
Returns the Time to Live (TTL) settings for a table.
Inputs: table_name (required), region_name.
dynamodb_data_modelingA
Retrieves the complete DynamoDB Data Modeling Expert prompt.
This tool returns a production-ready prompt to help user with data modeling on DynamoDB.
The prompt guides through requirements gathering, access pattern analysis, and production-ready
schema design. The prompt contains:
- Structured 2-phase workflow (requirements → final design)
- Enterprise design patterns: hot partition analysis, write sharding, sparse GSIs, and more
- Cost optimization strategies and RPS-based capacity planning
- Multi-table design philosophy with advanced denormalization patterns
- Integration guidance for OpenSearch, Lambda, and analytics
Usage: Simply call this tool to get the expert prompt.
Returns: Complete expert system prompt as text (no parameters required)
Inputs: no named parameters. Returns: result
get_itemB
Returns attributes for an item with the given primary key. Uses eventually consistent reads by default, or set ConsistentRead=true for strongly consistent reads.
Inputs: key (required), table_name (required), region_name, projection_expression, +1 more.
get_resource_policyB
Returns the resource-based policy document attached to a DynamoDB table or stream in JSON format.
Inputs: resource_arn (required), region_name.
list_backupsC
Returns a list of table backups.
Inputs: table_name (required), limit, backup_type, region_name, +1 more.
list_exportsC
Returns a list of table exports.
Inputs: table_arn, next_token, max_results, region_name.
list_importsB
Lists imports completed within the past 90 days.
Inputs: next_token, region_name.
list_tablesA
Returns a paginated list of table names in your account.
Inputs: limit, region_name, exclusive_start_table_name.
list_tags_of_resourceC
Returns tags for a DynamoDB resource.
Inputs: resource_arn (required), next_token, region_name.
put_itemB
Creates a new item or replaces an existing item in a table. Use condition expressions to control whether to create new items or update existing ones.
Inputs: item (required), table_name (required), region_name, condition_expression, +2 more.
put_resource_policyA
Attaches a resource-based policy document (max 20 KB) to a DynamoDB table or stream. You can control permissions for both tables and their indexes through the policy.
Inputs: policy (required), resource_arn (required), region_name.
queryC
Returns items from a table or index matching a partition key value, with optional sort key filtering.
Inputs: table_name (required), key_condition_expression (required), limit, select, +8 more.
restore_table_from_backupC
Creates a new table from a backup.
Inputs: backup_arn (required), target_table_name (required), region_name.
scanB
Returns items and attributes by scanning a table or secondary index. Reads up to Limit items or 1 MB of data, with optional FilterExpression to reduce results.
Inputs: table_name (required), limit, select, index_name, +6 more.
tag_resourceC
Adds tags to a DynamoDB resource.
Inputs: tags (required), resource_arn (required), region_name.
untag_resourceC
Removes tags from a DynamoDB resource.
Inputs: tag_keys (required), resource_arn (required), region_name.
update_continuous_backupsC
Enables or disables point in time recovery for the specified table.
Inputs: table_name (required), point_in_time_recovery_enabled (required), region_name, recovery_period_in_days.
update_itemC
Edits an existing item's attributes, or adds a new item to the table if it does not already exist.
Inputs: key (required), table_name (required), region_name, update_expression, +3 more.
update_tableB
Modifies table settings including provisioned throughput, global secondary indexes, and DynamoDB Streams configuration. This is an asynchronous operation.
Inputs: table_name (required), region_name, table_class, billing_mode, +9 more.
update_time_to_liveC
Enables or disables Time to Live (TTL) for the specified table. Note: The epoch time format is the number of seconds elapsed since 12:00:00 AM January 1, 1970 UTC.
Inputs: table_name (required), time_to_live_specification (required), region_name.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 30 tools
Most tools map cleanly to a distinct resource+action (table, item, backup, TTL, tags, policy, export), so misselection is unlikely. Minor overlap exists between put_item and update_item (both can create/replace an item) and between describe_table/list_tables style read tools, but descriptions resolve the difference.
The set follows a strong AWS-style snake_case verb_noun convention (create_table, describe_backup, list_exports, tag_resource, update_time_to_live). Deviations are minor: bare verbs scan/query and the oddly scoped dynamodb_data_modeling prompt-retrieval tool break the pattern.
30 tools is heavy for an MCP surface, even accounting for DynamoDB's broad API. Many describe_*/list_* pairs (exports, imports, endpoints, limits) and the standalone data-modeling prompt tool feel like they pad the set beyond core workflows.
Core table and item CRUD is well covered, along with backups, TTL, tags, and resource policies. However there are notable gaps: no batch/transaction operations, no create_export or start_import (only list/describe), no delete_backup, and no PartiQL/execute_statement, which limits realistic agent workflows.
Maintenance
Related MCP Connectors
Create, read, update and delete your data lake with simple prompts. Share tables by row and column.
Query, explore, and manage your databases through natural conversation.
Work with your database from AI tools: ask, export, approved changes, and scheduled jobs.
Astra DB tools for agents: schema, find, vector search, guarded writes, and interactive views.
Related MCP Servers
- AlicenseBqualityDmaintenanceEnables management of DynamoDB resources through the Model Context Protocol, supporting table and index creation, capacity management, and data operations without delete functionality to prevent accidental data loss.1216MIT
- AlicenseBqualityDmaintenanceA server that enables LLMs like Claude to query AWS DynamoDB databases through natural language requests, supporting table management, data querying, and schema analysis.743 npm2MIT
- AlicenseNot gradedqualityNot gradedmaintenanceEnables comprehensive SQLite database management through natural language, including database creation, table operations, data CRUD operations, backup/restore functionality, and CSV import/export capabilities.MIT
- FlicenseNot gradedqualityDmaintenanceEnables logging and retrieving activity data from DynamoDB, supporting activity logging and history queries.-