MongoDB MCP Server

v1.10.0APIsstable

This repository implements an MCP (Model Context Protocol) server that connects to a MongoDB database and exposes operations for managing databases, collections, documents, indexes, and bulk operations. It uses Node.js, TypeScript, and the MCP SDK, e

mcpmcp-servermongodbmongodb-atlasmongodb-database
Share:
1,029
Stars
0
Downloads
0
Weekly
0/5

What is MongoDB MCP Server?

MongoDB MCP Server is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to this repository implements an mcp (model context protocol) server that connects to a mongodb database and exposes operations for managing databases, collections, documents, indexes, and bulk operation...

This repository implements an MCP (Model Context Protocol) server that connects to a MongoDB database and exposes operations for managing databases, collections, documents, indexes, and bulk operations. It uses Node.js, TypeScript, and the MCP SDK, e

This server falls under the APIs and Databases categories on MCPgee, the world's largest MCP server directory with 33,000+ servers.

Features

  • connect
  • list-collections
  • list-databases
  • collection-indexes
  • create-index

Use Cases

Connect to a MongoDB instance
List all collections for a given database
List all databases for a MongoDB connection
Describe the indexes for a collection
Create an index for a collection
mongodb-js

Maintainer

LicenseApache-2.0
Languagetypescript
Versionv1.10.0
UpdatedMay 21, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

NPM

npx -y mongodb-mcp-server

Manual Installation

npx -y mongodb-mcp-server

Examples

No examples available for this server.

Configuration

Configuration Details

Config File

claude_desktop_config.json

Web UI

Not available

Security

Authentication

RequiredNo

Features

Data Encryption
Audit Logging
RBAC Support

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

Frequently Asked Questions about MongoDB MCP Server

What is MongoDB MCP Server?

MongoDB MCP Server is a Model Context Protocol (MCP) server that this repository implements an mcp (model context protocol) server that connects to a mongodb database and exposes operations for managing databases, collections, documents, indexes, and bulk operations. it uses node.js, typescript, and the mcp sdk, e It connects AI assistants to external tools and data sources through a standardized interface.

How do I install MongoDB MCP Server?

Install via npm with the command: npx -y mongodb-mcp-server. Then add the server configuration to your AI client's JSON config file (e.g., claude_desktop_config.json or .cursor/mcp.json).

Which AI clients work with MongoDB MCP Server?

MongoDB MCP Server works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.

Is MongoDB MCP Server free to use?

Yes, MongoDB MCP Server is open source and available under the Apache-2.0 license. You can use it freely in both personal and commercial projects.

Browse More APIs MCP Servers

Explore all apis servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.

Quick Config Preview

{ "mcpServers": { "mongodb-mcp-server": { "command": "npx", "args": ["-y", "mongodb-mcp-server"] } } }

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide →

Ready to use MongoDB MCP Server?

Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.

33,000+ ServersFree & Open SourceStep-by-Step Guides