Skip to main content
Glama

MongoDB MCP Server

Official
by mongodb-js
Apache 2.0
8,598
430
  • Apple
  • Linux

connect

Establish a connection to a MongoDB instance using a valid connection string (mongodb:// or mongodb+srv://) with the MongoDB MCP Server.

Instructions

Connect to a MongoDB instance

Input Schema

NameRequiredDescriptionDefault
connectionStringYesMongoDB connection string (in the mongodb:// or mongodb+srv:// format)

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "description": "Options for connecting to MongoDB.", "properties": { "connectionString": { "description": "MongoDB connection string (in the mongodb:// or mongodb+srv:// format)", "type": "string" } }, "required": [ "connectionString" ], "type": "object" }
Install Server

Other Tools from MongoDB MCP Server

Related Tools

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/mongodb-js/mongodb-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server