mcp-database-server

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

  1. getCollections: Lists all collections
  2. getCollection: Retrieves documents with query options
  3. insertOne: Inserts a document
  4. deleteOne: Deletes a document
  5. aggregate: Executes aggregation pipeline