manpreet2000_mcp-database-server

manpreet2000_mcp-database-server

0

MCP Database Server is a Model Context Protocol server that allows Large Language Models to interact with databases using natural language queries. It currently supports MongoDB and plans to extend to other databases like PostgreSQL and Redis. The server provides functionalities like querying, inserting, and deleting documents.

MCP Database Server

A Model Context Protocol (MCP) server enabling interaction between LLMs and various databases through natural language. Currently supports MongoDB with plans for PostgreSQL, CockroachDB, and Redis.

Features

  • Database operations via natural language
  • Current MongoDB features include: listing collections, querying, inserting, and deleting documents, and aggregate operations.

Prerequisites

  • Node.js v20.12.2+
  • Database (MongoDB supported currently)
  • Claude Desktop Application

Installation

  1. Clone the repository
  2. Install dependencies
  3. Build the TypeScript code

Future Database Support

  • PostgreSQL: SQL queries, table operations
  • CockroachDB: Distributed SQL operations
  • Redis: Key-value operations, caching