# MongoDB MCP Server for Database and Atlas Management

> The official MongoDB MCP server connects AI agents to MongoDB databases and Atlas clusters through the Model Context Protocol, enabling structured queries, collection management, Atlas API operations, and aggregation pipelines with built-in authentication and access control.

- Skill: `agentskillexchange/mongodb-mcp-server-for-database-and-atlas-management` (Agent Skill)
- Install (CLI): `npx skillmds@latest add agentskillexchange/mongodb-mcp-server-for-database-and-atlas-management`
- Raw SKILL.md: https://api.skillmd.com/api/skills/agentskillexchange/mongodb-mcp-server-for-database-and-atlas-management/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: AI & ML
- Author: agentskillexchange (https://skillmd.com/u/agentskillexchange)
- Updated: 2026-09-08
- Page: https://skillmd.com/skills/agentskillexchange/mongodb-mcp-server-for-database-and-atlas-management

---


# MongoDB MCP Server for Database and Atlas Management

The official MongoDB MCP server connects AI agents to MongoDB databases and Atlas clusters through the Model Context Protocol, enabling structured queries, collection management, Atlas API operations, and aggregation pipelines with built-in authentication and access control.

## Installation

Use the upstream install or setup path that matches your environment:
- npx -y mongodb-mcp-server@latest --readOnly
- docker run --rm -i \
- npx -y mongodb-mcp-server@latest --transport http
- npx -y mongodb-mcp-server@latest --transport http --httpHost=0.0.0.0 --httpPort=8080

Requirements and caveats from upstream:
- [Prerequisites](#prerequisites)
- Node.js
- node -v

Basic usage or getting-started notes:
- [🚀 Getting Started](#getting-started)
- [Quick Start](#quick-start)
- At least 20.19.0

- Source: https://github.com/mongodb-js/mongodb-mcp-server
- Extracted from upstream docs: https://raw.githubusercontent.com/mongodb-js/mongodb-mcp-server/HEAD/README.md

## Source

- [Agent Skill Exchange](https://agentskillexchange.com/skills/mongodb-mcp-server-database-atlas-management/)

