awslabs

AWS DynamoDB MCP Server

Community awslabs
Updated

Open source MCP Servers for AWS

AWS DynamoDB MCP Server

The official MCP Server for interacting with AWS DynamoDB

Available MCP Tools

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 managing DynamoDB resources. Each tool maps directly to DynamoDB API operations and supports all relevant parameters.

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 or the GitHub README
  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

Install MCP Server

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": []
    }
  }
}

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": []
      }
    }
  }

MCP Server · Populars

MCP Server · New

    jackccrawford

    Geniuz

    Your AI remembers now. Geniuz stores everything in a local database locally on Mac, Windows, Linux, Raspberry Pi. No cloud. No account. No API keys. Nothing leaves your machine. It's open source; you can read every line of code.

    Community jackccrawford
    ggui-ai

    ggui

    The universal interface layer between AI agents and humans. Generate rich UIs on demand via MCP.

    Community ggui-ai
    aanno

    CocoIndex Code MCP Server

    An RAG for code development, implemented as MCP server with cocoindex

    Community aanno
    timescale

    Tiger Linear MCP Server

    A wrapper around the Linear API for internal LLMs

    Community timescale
    choplin

    MCP Gemini CLI

    MCP Server

    Community choplin