mongodb-mcp-server

mongodb-mcp-server

Model Context Protocol server for connecting to MongoDB databases and Atlas clusters.

MCPDataOpen sourcemongodbmcpdatabaseatlas
Type
MCP
Transport
stdio
Open source
Yes
GitHub Stars
★ 1.1k
Source
mcp-github

Overview

The MongoDB MCP Server is a Model Context Protocol server that enables interaction with MongoDB databases and MongoDB Atlas clusters. It allows AI/Agents to access and manipulate MongoDB data through a standard protocol. Can be installed and configured in a Node.js environment. Ideal for developers working with large datasets, performing data analysis, or building data-driven applications.

Capabilities

  • Connect to MongoDB databases
  • Connect to MongoDB Atlas clusters
  • Execute database queries
  • Manage database collections
  • Support Atlas API access

Use cases

Data querying and analysisDatabase managementData-driven application developmentReal-time data processing

Setup

Requires: Node.js 22.13 或更高版本MongoDB 连接字符串Atlas API 凭证
npx -y mongodb-mcp-server --readOnly

This information was compiled by AI from public sources and may contain inaccuracies — please refer to the source.

FAQ

What version of Node.js is required?

At least Node.js 22.13.0.

How do I get Atlas API credentials?

Create a service account in MongoDB Atlas and use its credentials.

Related skills