# 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 indexes
- `delete_table` - Deletes a table and all of its items
- `describe_table` - Returns table information including status, creation time, key schema and indexes
- `list_tables` - Returns a paginated list of table names in your account
- `update_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 key
- `put_item` - Creates a new item or replaces an existing item in a table
- `update_item` - Edits an existing item's attributes, or adds a new item if it does not already exist
- `delete_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 filtering
- `scan` - Returns items and attributes by scanning a table or secondary index
### Backup and Recovery
- `create_backup` - Creates a backup of a DynamoDB table
- `describe_backup` - Describes an existing backup of a table
- `list_backups` - Returns a list of table backups
- `restore_table_from_backup` - Creates a new table from a backup
- `describe_continuous_backups` - Returns continuous backup and point in time recovery status
- `update_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 table
- `describe_time_to_live` - Returns the Time to Live (TTL) settings for a table
### Export Operations
- `describe_export` - Returns information about a table export
- `list_exports` - Returns a list of table exports
### Tags and Resource Policies
- `put_resource_policy` - Attaches a resource-based policy document to a table or stream
- `get_resource_policy` - Returns the resource-based policy document attached to a table or stream
- `tag_resource` - Adds tags to a DynamoDB resource
- `untag_resource` - Removes tags from a DynamoDB resource
- `list_tags_of_resource` - Returns tags for a DynamoDB resource
### Misc
- `describe_limits` - Returns the current provisioned-capacity quotas for your AWS account
- `describe_endpoints` - Returns DynamoDB endpoints for the current region
## 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
1. Install `uv` from [Astral](https://docs.astral.sh/uv/getting-started/installation/) or the [GitHub README](https://github.com/astral-sh/uv#installation)
2. Install Python using `uv python install 3.10`
3. Set 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
[](https://cursor.com/install-mcp?name=awslabs.dynamodb-mcp-server&config=eyJjb21tYW5kIjoidXZ4IGF3c2xhYnMuZHluYW1vZGItbWNwLXNlcnZlckBsYXRlc3QiLCJlbnYiOnsiRERCLU1DUC1SRUFET05MWSI6InRydWUiLCJBV1NfUFJPRklMRSI6ImRlZmF1bHQiLCJBV1NfUkVHSU9OIjoidXMtd2VzdC0yIiwiRkFTVE1DUF9MT0dfTEVWRUwiOiJFUlJPUiJ9LCJkaXNhYmxlZCI6ZmFsc2UsImF1dG9BcHByb3ZlIjpbXX0%3D)
Add the MCP to your favorite agentic tools. (e.g. for Amazon Q Developer CLI MCP, `~/.aws/amazonq/mcp.json`):
```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": []
}
}
}
```
or docker after a successful `docker build -t awslabs/dynamodb-mcp-server .`:
```json
{
"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": []
}
}
}
```
Raw data
{
"_id": null,
"home_page": null,
"name": "awslabs.dynamodb-mcp-server",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.10",
"maintainer_email": null,
"keywords": null,
"author": "Amazon Web Services",
"author_email": "AWSLabs MCP <203918161+awslabs-mcp@users.noreply.github.com>, Erben Mo <moerben@amazon.com>",
"download_url": "https://files.pythonhosted.org/packages/96/d0/4e10ed0c96445f24f37b5537dd9dbbc6b7144553006a43e099830226e307/awslabs_dynamodb_mcp_server-1.0.3.tar.gz",
"platform": null,
"description": "# AWS DynamoDB MCP Server\n\nThe official MCP Server for interacting with AWS DynamoDB\n\nThis 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.\n\n## Available MCP Tools\n\n### Design & Modeling\n- `dynamodb_data_modeling` - Retrieves the complete DynamoDB Data Modeling Expert prompt\n\n### Table Operations\n- `create_table` - Creates a new DynamoDB table with optional secondary indexes\n- `delete_table` - Deletes a table and all of its items\n- `describe_table` - Returns table information including status, creation time, key schema and indexes\n- `list_tables` - Returns a paginated list of table names in your account\n- `update_table` - Modifies table settings including provisioned throughput, global secondary indexes, and DynamoDB Streams configuration\n\n### Item Operations\n- `get_item` - Returns attributes for an item with the given primary key\n- `put_item` - Creates a new item or replaces an existing item in a table\n- `update_item` - Edits an existing item's attributes, or adds a new item if it does not already exist\n- `delete_item` - Deletes a single item in a table by primary key\n\n### Query and Scan Operations\n- `query` - Returns items from a table or index matching a partition key value, with optional sort key filtering\n- `scan` - Returns items and attributes by scanning a table or secondary index\n\n### Backup and Recovery\n- `create_backup` - Creates a backup of a DynamoDB table\n- `describe_backup` - Describes an existing backup of a table\n- `list_backups` - Returns a list of table backups\n- `restore_table_from_backup` - Creates a new table from a backup\n- `describe_continuous_backups` - Returns continuous backup and point in time recovery status\n- `update_continuous_backups` - Enables or disables point in time recovery\n\n### Time to Live (TTL)\n- `update_time_to_live` - Enables or disables Time to Live (TTL) for the specified table\n- `describe_time_to_live` - Returns the Time to Live (TTL) settings for a table\n\n### Export Operations\n- `describe_export` - Returns information about a table export\n- `list_exports` - Returns a list of table exports\n\n### Tags and Resource Policies\n- `put_resource_policy` - Attaches a resource-based policy document to a table or stream\n- `get_resource_policy` - Returns the resource-based policy document attached to a table or stream\n- `tag_resource` - Adds tags to a DynamoDB resource\n- `untag_resource` - Removes tags from a DynamoDB resource\n- `list_tags_of_resource` - Returns tags for a DynamoDB resource\n\n### Misc\n- `describe_limits` - Returns the current provisioned-capacity quotas for your AWS account\n- `describe_endpoints` - Returns DynamoDB endpoints for the current region\n\n## Instructions\n\nThe official MCP Server for interacting with AWS DynamoDB provides a comprehensive set of tools for both designing and managing DynamoDB resources.\n\nTo 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.\n\nAll 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'.\n\n## Prerequisites\n\n1. Install `uv` from [Astral](https://docs.astral.sh/uv/getting-started/installation/) or the [GitHub README](https://github.com/astral-sh/uv#installation)\n2. Install Python using `uv python install 3.10`\n3. Set up AWS credentials with access to AWS services\n - Consider setting up Read-only permission if you don't want the LLM to modify any resources\n\n## Installation\n\n[](https://cursor.com/install-mcp?name=awslabs.dynamodb-mcp-server&config=eyJjb21tYW5kIjoidXZ4IGF3c2xhYnMuZHluYW1vZGItbWNwLXNlcnZlckBsYXRlc3QiLCJlbnYiOnsiRERCLU1DUC1SRUFET05MWSI6InRydWUiLCJBV1NfUFJPRklMRSI6ImRlZmF1bHQiLCJBV1NfUkVHSU9OIjoidXMtd2VzdC0yIiwiRkFTVE1DUF9MT0dfTEVWRUwiOiJFUlJPUiJ9LCJkaXNhYmxlZCI6ZmFsc2UsImF1dG9BcHByb3ZlIjpbXX0%3D)\n\nAdd the MCP to your favorite agentic tools. (e.g. for Amazon Q Developer CLI MCP, `~/.aws/amazonq/mcp.json`):\n\n```json\n{\n \"mcpServers\": {\n \"awslabs.dynamodb-mcp-server\": {\n \"command\": \"uvx\",\n \"args\": [\"awslabs.dynamodb-mcp-server@latest\"],\n \"env\": {\n \"DDB-MCP-READONLY\": \"true\",\n \"AWS_PROFILE\": \"default\",\n \"AWS_REGION\": \"us-west-2\",\n \"FASTMCP_LOG_LEVEL\": \"ERROR\"\n },\n \"disabled\": false,\n \"autoApprove\": []\n }\n }\n}\n```\n\nor docker after a successful `docker build -t awslabs/dynamodb-mcp-server .`:\n\n```json\n {\n \"mcpServers\": {\n \"awslabs.dynamodb-mcp-server\": {\n \"command\": \"docker\",\n \"args\": [\n \"run\",\n \"--rm\",\n \"--interactive\",\n \"--env\",\n \"FASTMCP_LOG_LEVEL=ERROR\",\n \"awslabs/dynamodb-mcp-server:latest\"\n ],\n \"env\": {},\n \"disabled\": false,\n \"autoApprove\": []\n }\n }\n }\n```\n",
"bugtrack_url": null,
"license": "Apache-2.0",
"summary": "The official MCP Server for interacting with AWS DynamoDB",
"version": "1.0.3",
"project_urls": {
"changelog": "https://github.com/awslabs/mcp/blob/main/src/dynamodb-mcp-server/CHANGELOG.md",
"docs": "https://awslabs.github.io/mcp/servers/dynamodb-mcp-server/",
"documentation": "https://awslabs.github.io/mcp/servers/dynamodb-mcp-server/",
"homepage": "https://awslabs.github.io/mcp/",
"repository": "https://github.com/awslabs/mcp.git"
},
"split_keywords": [],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "c8f74713b1f8e499fa076f3f1eb08fce4f60103e4de7a1e0c7c3ff0ed31d2a50",
"md5": "43ffe753553a81427778f8e5729ef3ec",
"sha256": "d659e7546ed9a9e9718752adcaca5b0fc092793a1ae4116686c4c5a02f041fc7"
},
"downloads": -1,
"filename": "awslabs_dynamodb_mcp_server-1.0.3-py3-none-any.whl",
"has_sig": false,
"md5_digest": "43ffe753553a81427778f8e5729ef3ec",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.10",
"size": 34708,
"upload_time": "2025-07-11T18:48:32",
"upload_time_iso_8601": "2025-07-11T18:48:32.864608Z",
"url": "https://files.pythonhosted.org/packages/c8/f7/4713b1f8e499fa076f3f1eb08fce4f60103e4de7a1e0c7c3ff0ed31d2a50/awslabs_dynamodb_mcp_server-1.0.3-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "96d04e10ed0c96445f24f37b5537dd9dbbc6b7144553006a43e099830226e307",
"md5": "88224eba7a6a1ae0518aea1ec8277587",
"sha256": "11b4b9292e27fe306795cff4736bd3b6a4ac5b7f0848280a261e1f92e12c101e"
},
"downloads": -1,
"filename": "awslabs_dynamodb_mcp_server-1.0.3.tar.gz",
"has_sig": false,
"md5_digest": "88224eba7a6a1ae0518aea1ec8277587",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.10",
"size": 97930,
"upload_time": "2025-07-11T18:48:34",
"upload_time_iso_8601": "2025-07-11T18:48:34.864577Z",
"url": "https://files.pythonhosted.org/packages/96/d0/4e10ed0c96445f24f37b5537dd9dbbc6b7144553006a43e099830226e307/awslabs_dynamodb_mcp_server-1.0.3.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-07-11 18:48:34",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "awslabs",
"github_project": "mcp",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "awslabs.dynamodb-mcp-server"
}