
AWS DynamoDB Read-Only MCP Server
概览
A server that utilizes the Model Context Protocol (MCP) to query AWS DynamoDB databases. This server allows LLMs like Claude to query DynamoDB data through natural language requests. This MCP server provides the following features: - : - list-tables: View a list of all DynamoDB tables - describe-table: View detailed information about a specific table - : - scan-table: Scan all or part of a table's data - query-table: Search for data that matches specific conditions in a table - paginate-query-table: Retrieve data across multiple pages that matches specific conditions - get-item: Retrieve an item with a specific key - count-items: Calculate the number of items in a table - : - dynamodb-tables-info: A resource that provides metadata for all tables - dynamodb-table-schema: A resource that provides schema information for a specific table - : - dynamodb-query-help: A help prompt for writing DynamoDB queries You can run it without installation using the Run with NPX method below.
README
以下为原文 README 节选,完整内容请查看原文。
DynamoDB Read-Only MCP
A server that utilizes the Model Context Protocol (MCP) to query AWS DynamoDB databases. This server allows LLMs like Claude to query DynamoDB data through natural language requests.
Features
This MCP server provides the following features:
- Table Management Tools:
list-tables: View a list of all DynamoDB tablesdescribe-table: View detailed information about a specific table
- Data Query Tools:
scan-table: Scan all or part of a table’s dataquery-table: Search for data that matches specific conditions in a tablepaginate-query-table: Retrieve data across multiple pages that matches specific conditionsget-item: Retrieve an item with a specific keycount-items: Calculate the number of items in a table
- Resources:
dynamodb-tables-info: A resource that provides metadata for all tablesdynamodb-table-schema: A resource that provides schema information for a specific table
- Prompts:
dynamodb-query-help: A help prompt for writing DynamoDB queries
Installation and Execution
You can run it without installation using the Run with NPX method below.
Installing via Smithery
To install DynamoDB Read-Only Server for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install @jjikky/dynamo-readonly-mcp --client claude
Installation
-
Clone the repository:
git clone https://github.com/jjikky/dynamo-readonly-mcp.git cd dynamo-readonly-mcp -
Install the required packages:
npm install -
Create a
.envfile and set up your AWS credentials:AWS_ACCESS_KEY_ID=your_access_key AWS_SECRET_ACCESS_KEY=your_secret_key AWS_REGION=your_region
Build and Run
npm run build
npm start
Connect to Claude Desktop
To use this MCP server with Claude Desktop, you need to modify the Claude Desktop configuration file.
-
Open the Claude Desktop configuration file:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json
- macOS:
-
Add the server configuration as follows:
{ "mcpServers": { "dynamodb-readonly": { "command": "node",
安装
npx -y dynamo-readonly-mcp配置
{
"mcpServers": {
"dynamodb-readonly": {
"command": "node",
"args": ["/absolute-path/dynamo-readonly-mcp/dist/index.js"],
"env": {
"AWS_ACCESS_KEY_ID": "your_access_key",
"AWS_SECRET_ACCESS_KEY": "your_secret_key",
"AWS_REGION": "your_region"
}
}
}
}