mcp-database-server MCP 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, with plans to…

Local serverstdioISC

What is the mcp-database-server MCP Server?

mcp-database-server is an MCP project maintained in the manpreet2000/mcp-database-server repository. The maintainer describes its purpose as “A Model Context Protocol (MCP) server implementation that allows Large Language Models (LLMs) to interact with various databases through natural language. Currently supports MongoDB, with…”. Read the project documentation for the complete scope.

Local setup

The project provides a local client configuration using /path/to/node. Follow the repository’s build and installation steps before copying it, and replace example paths with the paths on your own computer.

Configuration values

The example declares MONGODB_URI. Secret-looking values have been replaced with placeholders. Required and optional labels are shown only when the documentation states them.

Source

Project documentation · Repository · Discovery listing. This profile records the public documentation checked on 2026-10-08.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
collectionNameName of the collection
limitMaximum number of documents to return (default: 10, max: 1000)
queryQuery to match the document to delete
projectionFields to include/exclude
documentDocument object to insert
pipelineArray of aggregation stages
optionsOptional aggregation options

How to install the mcp-database-server MCP Server

{
  "mcpServers": {
    "database": {
      "command": "/path/to/node",
      "args": [
        "/path/to/mcp-database/dist/index.js"
      ],
      "env": {
        "MONGODB_URI": "your-mongodb-connection-string"
      }
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.

Configuration

VariableDescriptionRequired
MONGODB_URIDeclared in the maintainer’s client configuration.Check documentation