mongodb-mcp-server
Overview
mongodb-mcp-server is a TypeScript/JavaScript server implementing the MongoDB Model Context Protocol, configurable via environment variables and command-line arguments.
Best For
A TypeScript/JavaScript server for the MongoDB Model Context Protocol, supporting configuration via environment variables and command-line arguments.
Decision Snapshot
Usage
available
Docs
8 links
- • GitHub stars: 1001
- • Forks: 215
- • Source provenance count: 1
- • Last seen: 3/15/2026
- • Published: 3/15/2026
Usage
export MDB_MCP_LOGGERS="disk,stderr"
Features
- • For **environment variable** configuration, use a comma-separated string: export MDB_MCP_PREVIEW_FEATURES="search,feature1,feature2".
- • For **command-line argument** configuration, use a space-separated string: --previewFeatures search feature1 feature2.
- • search - Enables tools or functionality related to Atlas Search and Vector Search in MongoDB Atlas:
- • Index management, such as creating, listing, and dropping search and vector search indexes.
Use Cases
- • Use in tools-oriented MCP workflows.
Compatibility Signals
- • Windsurf: mentions (Mentioned in approved metadata/docs evidence.)
- • GitHub: mentions (Mentioned in approved metadata/docs evidence.)
Prompt Examples
example
• export MDB_MCP_LOGGERS="disk,stderr"
Notes / Requirements
- • Primary language: TypeScript
- • License: Apache-2.0
- • Source feeds: npm Registry Search API
- • Topic cluster: general
Official Links
- Website
- Repository
- Documentation 1 (/docs/concepts/transports)
- Documentation 2 (/en/copilot/concepts/ag...)
- Documentation 3 (/specification/draft/cl...)
- Documentation 4 (/docs/atlas/api/service...)
- Documentation 5 (/docs/atlas/reference/u...)
- Documentation 6 (/windsurf/mcp)
- Documentation 7 (/docs/copilot/chat/mcp-...)
- Documentation 8 (/quickstart/user)
Source Information
You can verify all information on this page against the source repository above.
Related MCP Tools
@modelcontextprotocol/sdk
TypeScript/JavaScript implementation of the Model Context Protocol (MCP).
@modelcontextprotocol/server-filesystem
An MCP server designed for filesystem access.
@azure-devops/mcp
An MCP server for interacting with Azure DevOps, implemented in TypeScript/JavaScript and available as an npm package.
@winor30/mcp-server-datadog
An MCP server for interacting with the Datadog API, implemented in TypeScript/JavaScript.
Related Workflows
What To Do Next
Continue from this tool into a workflow and a learn guide to shorten implementation time.