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:
meta
propertymeta
propertymeta
methodmeta
methodaddTools(...)
(server:McpServer, options?: Options) => MCPToolkit
Adds DynamoDB-Toolbox querying tools to an MCP Server. See Available Tools for a list of supported operations.
Examples
mcpToolkit.addTools(server)
The following tools are available:
ddb-tb_use-<KEY>-access-pattern-on-<TABLE>-table
Enables querying items from the database using a registered AccessPattern
.
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.
Manage and query databases, tenants, users, auth using LLMs
Query Onchain data, like ERC20 tokens, transaction history, smart contract state.
MCP server acting as an interface to the Frankfurter API for currency exchange data.
A modular server providing unified access to multiple astronomical datasets, including astroquery services and DESI data sources.
Access UniProt protein information, including function and sequence data.
Hydrolix time-series datalake integration providing schema exploration and query capabilities to LLM-based workflows.
Interact with the Neon serverless Postgres platform
A read-only MCP server by CData that enables LLMs to query live data from Dynamics 365. Requires the CData JDBC Driver for Dynamics 365.
Interact with the SingleStore database platform
MCP server for SQLite files. Supports Datasette-compatible metadata!