What does MongoDB MCP Server do?
It provides an MCP server that allows you to query MongoDB collections using a simple `query` tool. It only supports read operations.
@PrashantSedhain
Basic information
MCP Server for MongoDB
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"mongo-db-mcp": {
"command": "node",
"args": [
"dist/client/client.js",
"dist/index.js"
]
}
}
}Tool list not available yet
This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
MongoDB MCP Server is a Model Context Protocol (MCP) server that connects to MongoDB and exposes a query tool to retrieve data from collections via a simple interface. It currently supports read-only transactions and is intended for local integrations and command line tools.
Clone the repository, install dependencies with npm install, and create a .env file with your MONGO_CONNECTION_STRING. Build the TypeScript code with npm run build, then run the client with node dist/client/client.js dist/index.js.
query tool for MongoDB collectionsIt provides an MCP server that allows you to query MongoDB collections using a simple `query` tool. It only supports read operations.
Node.js v16 or higher, npm, and a MongoDB database (local or cloud).
Create a `.env` file in the root directory and set `MONGO_CONNECTION_STRING` to your MongoDB connection string.
No. The server currently supports only read‑only transactions.
The README does not specify transport or authentication details beyond the MongoDB connection string.
Drop-in Apache Spark replacement written in Rust, unifying batch processing, stream processing, and compute-intensive AI workloads.
A Model Context Protocol server to connect to MongoDB databases and MongoDB Atlas Clusters.

Local database MCP server: your agent sees a migration's impact before it runs, for PostgreSQL, MySQL, SQL Server and SQLite, with no database credentials.
A Model Context Protocol server that provides read-only access to MySQL databases. This server enables LLMs to inspect database schemas and execute read-only queries.
The official Redis MCP Server is a natural language interface designed for agentic applications to manage and search data in Redis efficiently
Comments