DynamoDB-Toolbox
Leverages your Schemas and Access Patterns to interact with your DynamoDB Database using natural language.
Version: v2
On this page
note
MCPToolkit requires the zod and @modelcontextprotocol/sdk dependencies to be installed first:
npm install zod @modelcontextprotocol/sdk
A utility for quickly adding Tools to an MCP Server, enabling any MCP Clients (like Claude or Cursor) to interact with your DynamoDB Tables using natural language.
import { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js'
import { MCPToolkit } from 'dynamodb-toolbox/database/actions/mcpToolkit'
// Set up your MCP Server as usual
const server = new McpServer(...)
const mcpToolkit = PokeDB.build(MCPToolkit)
mcpToolkit.addTools(server)
info
We highly recommend adding title and description metadata to your models for better LLM processing. For more details, see:
- For Tables: The
metaproperty - For Entities: The
metaproperty - For Table Access Patterns: The
metamethod - For Entity Access Patterns: The
metamethod
Methods
addTools(...)
(server:McpServer, options?: Options) => MCPToolkit
Adds DynamoDB-Toolbox querying tools to an MCP Server. See Available Tools for a list of supported operations.
Examples
- Usage
- Read-only
mcpToolkit.addTools(server)
Available tools
The following tools are available:
Access Pattern Tools
ddb-tb_use-<KEY>-access-pattern-on-<TABLE>-table
Enables querying items from the database using a registered AccessPattern.
Entity Tools
ddb-tb_get-${entityName}-item-from-${dbTableKey}-table
Enables retrieving an entity item from the database.
ddb-tb_put-${entityName}-item-in-${dbTableKey}-table
(Unavailable in readonly mode)
Enables inserting an entity item in the database.
ddb-tb_delete-${entityName}-item-from-${dbTableKey}-table
Enables deleting an entity item from the database.
info
All tools automatically apply validation, default values, links, encoding/decoding and formatting.
Related Servers
SupaMCP Server
A runtime-configurable MCP server that turns a Supabase project into an AI-compatible tool interface.
LSD MCP server
Access the internet and query data using LSD SQL.
MongoDB Mongoose MCP
An MCP server for MongoDB with optional Mongoose schema support.
Data Mesh Manager MCP
Discover data products and request access in Data Mesh Manager.
AI Knowledge System
An enterprise-ready system to archive AI conversations from ChatGPT and Claude into a Supabase database.
B1 Bridge
Connect SAP Business One (SQL Server) to Claude AI Desktop via MCP. Query financials, inventory, sales, and purchasing with natural language.
SQL Server
Enables AI assistants to access and query SQL Server databases.
MCP Toolbox for Databases
Open source MCP server specializing in easy, fast, and secure tools for Databases.
Metabase Server
Integrates with Metabase for data visualization and business intelligence. Requires METABASE_URL, METABASE_USERNAME, and METABASE_PASSWORD environment variables.
AgentBay
Persistent memory, teams, and projects for AI agents. 76 MCP tools for storing, recalling, and sharing knowledge across sessions.