Skip to content
Back to Knowledge Base

How to Connect Cursor to CoCoCo

  • Cursor installed
  • Your Endpoint URL and an active API Token from the MCP Connection page (see How to Find Your MCP Connection Details)

A remote MCP server needs no Node.js — just the URL and token.

Cursor reads MCP servers from an mcp.json file:

  • Global: ~/.cursor/mcp.json
  • Project: .cursor/mcp.json (in the project root; takes precedence over global)

Create the file if it doesn’t exist, or open it from Settings → MCP → Add new server.

{
"mcpServers": {
"cococo": {
"url": "https://<your-domain>/mcp",
"headers": { "Authorization": "Bearer YOUR_API_TOKEN" }
}
}
}

Remote servers use url plus headers (Streamable HTTP). Replace YOUR_API_TOKEN with your CoCoCo token.

Open Settings → MCP. CoCoCo should show a connected (green) status with its tools listed. In a chat, the agent can now call CoCoCo tools — by default it asks for approval before each call.

  • Red / disconnected: click the server to see the error; re-check the URL and that the token hasn’t been revoked.
  • Tools don’t appear: make sure the JSON is valid and saved, then reload Cursor.
  • Conflicting config: if both the project and global file define cococo, the project file wins.