0n3
MCP servers · MongoDB · MCP server

Connect Windsurf to MongoDB

One line gives Windsurf your MongoDB account as tools: 8 endpoints, aggregate, documents, more, called with your own connection. No key in the prompt, a receipt for every call, revoke Windsurf's access alone any time.

Get the line for WindsurfConnect MongoDB first

Three steps

  1. Create a free 0n3 account and connect MongoDB. Paste a key or sign in; it lands in your vault, encrypted.
  2. Install 0n3 into Windsurf. The mcp_config.json block.
  3. Ask Windsurf: whoami. Then: "Aggregate in MongoDB".
Write it yourself · ~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "0n3": {
      "serverUrl": "https://0n3.app/mcp",
      "headers": {
        "Authorization": "Bearer <your 0n token>"
      }
    }
  }
}

The line above carries a placeholder; 0n3.app/install mints a real key named for Windsurf and fills it in.

What Windsurf can then do in MongoDB

Aggregate · Run aggregation pipelines1
AggregatePOST /action/aggregate
Documents · CRUD operations on documents0
CRUD operations on documents
More · Everything else this app exposes.7
Find onePOST /action/findOne
Find manyPOST /action/find
Insert onePOST /action/insertOne
Insert manyPOST /action/insertMany
Update an onePOST /action/updateOne
Update a manyPOST /action/updateMany
Delete an onePOST /action/deleteOne

MongoDB in other AI clients

Claude Code + MongoDBMCP server + skillClaude (desktop & claude.ai) + MongoDBconnectorChatGPT + MongoDBconnector · GPT actionCodex CLI + MongoDBMCP serverGemini CLI + MongoDBMCP serverCursor + MongoDBMCP serverVS Code (Copilot) + MongoDBMCP server

Windsurf with other apps

Hostinger363 endpointsTelegram132 endpointsPipedrive95 endpointsResend67 endpointsSquare57 endpointsLinkedIn50 endpointsSlack45 endpointsFigma32 endpointsCloudConvert32 endpointseBay25 endpointsQuickBooks21 endpointsCloudflare21 endpoints