Skip to main content
Glama
DynamoDB MCP Server

DynamoDB MCP Server

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
AWS_REGIONNoAWS region to operate in. If not provided, defaults to us-west-2.us-west-2
AWS_PROFILENoAWS profile name to use for credentials.
DDB-MCP-READONLYNoSet to 'true' to run the server in read-only mode, preventing resource modifications.
AWS_ACCESS_KEY_IDNoAWS access key ID used for authentication.
AWS_SESSION_TOKENNoAWS session token for temporary credentials.
FASTMCP_LOG_LEVELNoLog level for the MCP server, for example 'ERROR'.
AWS_SECRET_ACCESS_KEYNoAWS secret access key used for authentication.

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

The official MCP Server for interacting with AWS DynamoDB

This server provides comprehensive DynamoDB capabilities with over 30 operational tools for managing DynamoDB tables, items, indexes, backups, and more, plus expert data modeling guidance through DynamoDB data modeling expert prompt

IMPORTANT: DynamoDB Attribute Value Format

When working with DynamoDB, all attribute values must be specified with their data types. Each attribute value is represented as a dictionary with a single key-value pair where the key is the data type and the value is the data itself:

  • S: String Example: {"S": "Hello"}

  • N: Number (sent as a string) Example: {"N": "123.45"}

  • B: Binary data (Base64-encoded) Example: {"B": "dGhpcyB0ZXh0IGlzIGJhc2U2NC1lbmNvZGVk"}

  • BOOL: Boolean value Example: {"BOOL": true}

  • NULL: Null value Example: {"NULL": true}

  • L: List of AttributeValue objects Example: {"L": [{"S": "Cookies"}, {"S": "Coffee"}, {"N": "3.14159"}]}

  • M: Map of attribute name/value pairs Example: {"M": {"Name": {"S": "Joe"}, "Age": {"N": "35"}}}

  • SS: String Set (array of strings) Example: {"SS": ["Giraffe", "Hippo", "Zebra"]}

  • NS: Number Set (array of strings representing numbers) Example: {"NS": ["42.2", "-19", "7.5", "3.14"]}

  • BS: Binary Set (array of Base64-encoded binary data objects) Example: {"BS": ["U3Vubnk=", "UmFpbnk=", "U25vd3k="]}

Common usage examples:

  • Primary key: {"userId": {"S": "user123"}}

  • Composite key: {"userId": {"S": "user123"}, "timestamp": {"N": "1612345678"}}

  • Expression attribute values: {":minScore": {"N": "100"}, ":active": {"BOOL": true}}

  • Complete item: {"userId": {"S": "user123"}, "score": {"N": "100"}, "data": {"B": "binarydata=="}}

Use the dynamodb_data_modeling tool to access enterprise-level DynamoDB design expertise. This tool provides systematic methodology for creating production-ready multi-table design with advanced optimizations, cost analysis, and integration patterns.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
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)
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.

get_resource_policyB

Returns the resource-based policy document attached to a DynamoDB table or stream in JSON format.

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.

queryC

Returns items from a table or index matching a partition key value, with optional sort key filtering.

update_itemC

Edits an existing item's attributes, or adds a new item to the table if it does not already exist.

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.

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.

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.

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.

update_tableB

Modifies table settings including provisioned throughput, global secondary indexes, and DynamoDB Streams configuration. This is an asynchronous operation.

list_tablesA

Returns a paginated list of table names in your account.

create_tableB

Creates a new DynamoDB table with optional secondary indexes. This is an asynchronous operation.

describe_tableB

Returns table information including status, creation time, key schema and indexes.

create_backupC

Creates a backup of a DynamoDB table.

describe_backupC

Describes an existing backup of a table.

list_backupsC

Returns a list of table backups.

restore_table_from_backupC

Creates a new table from a backup.

describe_limitsB

Returns the current provisioned-capacity quotas for your AWS account and tables in a Region.

describe_time_to_liveB

Returns the Time to Live (TTL) settings for a table.

describe_endpointsC

Returns DynamoDB endpoints for the current region.

describe_exportC

Returns information about a table export.

list_exportsC

Returns a list of table exports.

describe_continuous_backupsB

Returns continuous backup and point in time recovery status for a table.

untag_resourceC

Removes tags from a DynamoDB resource.

tag_resourceC

Adds tags to a DynamoDB resource.

list_tags_of_resourceC

Returns tags for a DynamoDB resource.

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.

update_continuous_backupsC

Enables or disables point in time recovery for the specified table.

list_importsB

Lists imports completed within the past 90 days.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

B3.1/5.0

Scored across 30 tools

Disambiguation4/5

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.

Naming Consistency4/5

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.

Tool Count3/5

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.

Completeness3/5

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

ActivityInactive
ResponsivenessNo recent community issues