Back to Home
officialpraise icon

mongodb-mcp-server-forked

Verified Safe

by officialpraise

Overview

A Model Context Protocol server for enabling AI assistants to interact with MongoDB databases and MongoDB Atlas resources through natural language.

Installation

Run Command
npx -y mongodb-mcp-server

Environment Variables

  • MDB_MCP_API_CLIENT_ID
  • MDB_MCP_API_CLIENT_SECRET
  • MDB_MCP_CONNECTION_STRING
  • MDB_MCP_LOG_PATH
  • MDB_MCP_DISABLED_TOOLS
  • MDB_MCP_READ_ONLY
  • MDB_MCP_INDEX_CHECK
  • MDB_MCP_TELEMETRY
  • DO_NOT_TRACK

Security Notes

The server uses `mongodb-redact` to hide sensitive data in logs, generates secure, expiring passwords for Atlas database users, and guides users on assigning minimal API key permissions. It features an 'indexCheck' to enforce query optimization and 'readOnly' mode for restricted access. However, like any database-interacting system, its overall security is highly dependent on how MongoDB connection strings and Atlas API credentials (client ID/secret) are configured and managed externally.

Similar Servers

Stats

Interest Score0
Security Score8
Cost ClassMedium
Avg Tokens1000
Stars0
Forks0
Last Update2025-12-22

Tags

MongoDBAtlasDatabaseMCPAI