TokenToSeaMCP Hub
中文 Console

MongoDB MCP Server

kiliczsh

Queries and analyzes MongoDB collections and inspects their schemas.

Setup

Choose your client, copy the config, then fill in any required environment variables.

Add to CursorAdd to VS Code

claude mcp add mongodb --env MCP_MONGODB_URI='<MCP_MONGODB_URI>' -- npx -y mcp-mongo-server mongodb://muhammed:kilic@localhost:27017/database

Environment variables

  • MCP_MONGODB_URI

Replace the placeholders with your own credentials and keep them out of version control.