mcp-database-server
0
The MCP Database Server is a protocol server that enables large language models to perform database interactions via natural language. It currently supports MongoDB and features such as document querying, insertion, and aggregation. Future updates will expand support to other database systems.
MCP Database Server
A Model Context Protocol (MCP) server implementation that allows Large Language Models (LLMs) to interact with various databases through natural language. Currently supports MongoDB and plans to support other databases like PostgreSQL and Redis.
Features
- Database operations through natural language
- Current support for MongoDB with features like querying and inserting documents, delete operations, and aggregation
- Future support planned for PostgreSQL, CockroachDB, and Redis
Prerequisites
- Node.js v20.12.2 or higher
- Database support (currently MongoDB)
- Claude Desktop Application
Available Tools
getCollections
: Lists all collectionsgetCollection
: Retrieves documents with query optionsinsertOne
: Inserts a documentdeleteOne
: Deletes a documentaggregate
: Executes aggregation pipeline