mongodb-js_mongodb-mcp-server

mongodb-js_mongodb-mcp-server

0

The MongoDB MCP Server facilitates interaction with MongoDB Databases and MongoDB Atlas using the Model Context Protocol. It supports a wide array of operations on Atlas and MongoDB instances, and features flexible configuration, including security and logging options.

MongoDB MCP Server

A Model Context Protocol server for interacting with MongoDB Databases and MongoDB Atlas.

Prerequisites

  • Node.js (v20 or later)
  • A MongoDB connection string or Atlas API credentials.

Setup

Quick Start

Most MCP clients require a configuration file to be created or modified to add the MCP server.

  • Connection String args
  • Atlas API credentials args
  • Standalone Service using command arguments
  • Standalone Service using environment variables

Supported Tools

MongoDB Atlas Tools

  • List and inspect MongoDB Atlas components like organizations, projects, clusters.
  • Create new projects and clusters.
  • Configure access lists and database users.

MongoDB Database Tools

  • Perform operations like connect, find, aggregate, insert, update, delete, and more on MongoDB collections and databases.

Configuration

The MongoDB MCP Server supports multiple configuration methods, including command-line arguments and environment variables. Options can control API credentials, connection strings, logging, tool availability, read-only mode, and telemetry settings.