MongoDB MCP Server

Official
by mongodb-js
Apache 2.0
303
14
  • Apple
  • Linux

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
DO_NOT_TRACKNoWhen set to 1, disables telemetry collection
MDB_MCP_LOG_PATHNoFolder to store logs
MDB_MCP_READ_ONLYNoWhen set to true, only allows read and metadata operation types, disabling create/update/delete operations
MDB_MCP_TELEMETRYNoWhen set to disabled, disables telemetry collection
MDB_MCP_API_CLIENT_IDNoAtlas API client ID for authentication
MDB_MCP_DISABLED_TOOLSNoA comma-separated list of tool names, operation types, and/or categories of tools that will be disabled
MDB_MCP_API_CLIENT_SECRETNoAtlas API client secret for authentication
MDB_MCP_CONNECTION_STRINGNoMongoDB connection string for direct database connections (optional users may choose to inform it on every tool call)

Schema

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Tools

Functions exposed to the LLM to take actions

NameDescription

No tools

ID: o13w6dioja