What tools are available in MongoDB MCP Server?
Two tools: `generateErd` (produces ERD from database collections) and `generateQuery` (generates MongoDB/Mongoose queries from a natural‑language description).
@seeun0210
Basic information
mongodb mcp server를 만들어보자
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"mongo_mcp_server": {
"command": "node",
"args": [
"dist/index.js",
"mongodb://localhost:27017"
]
}
}
}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.
A Model Context Protocol (MCP) server for MongoDB databases. It analyzes database collection structures and generates queries using AI, providing two main tools: ERD generation and natural‑language query generation.
Install dependencies (npm install), build (npm run build), then run the server with node dist/index.js "mongodb://localhost:27017". For use with Claude Desktop, configure the MCP server in claude_desktop_config.json pointing to the built index.js and a MongoDB URI.
Two tools: `generateErd` (produces ERD from database collections) and `generateQuery` (generates MongoDB/Mongoose queries from a natural‑language description).
Pass the MongoDB connection string as a command‑line argument when starting the server, e.g., `node dist/index.js "mongodb://localhost:27017"`.
Yes, the `format` parameter accepts `"mermaid"` (default) or `"json"`.
Yes, the `type` parameter can be set to `"mongoose"` (default is `"mongodb"`).
Node.js with npm. The server is built and run locally; a running MongoDB instance must be accessible at the provided URI.

Model Context Protocol Servers
A powerful multi-database server implementing the Model Context Protocol (MCP) to provide AI assistants with structured access to databases.
MCP server for interacting with Neon Management API and databases
Universal MCP-Server for your Databases optimized for LLMs and AI-Agents.
Comments