M

mongodb-mcp-server

ToolsApache-2.0

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

Source Information

Community: 1,001 stars
Last Updated: Mar 15, 2026
TypeScriptApache-2.0

You can verify all information on this page against the source repository above.

Related MCP Tools

Related Workflows

What To Do Next

Continue from this tool into a workflow and a learn guide to shorten implementation time.