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

About

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

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

More APIs MCP Servers

Explore other servers in the APIs category.

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