Skip to main content
Cursor connects to remote MCP servers through an mcp.json file.
1

Open MCP settings

Cursor Settings → MCP → Add new MCP server, or edit the file directly: ~/.cursor/mcp.json (global) or .cursor/mcp.json (per-project).
2

Add the server

{
  "mcpServers": {
    "earth-care-network": {
      "url": "https://api.earthcare.network/mcp/",
      "headers": {
        "Authorization": "Bearer ecn_mcp_YOUR_KEY"
      }
    }
  }
}
3

Verify

Reopen the MCP settings panel — earth-care-network should show a green status and its tools. In a chat, ask Cursor to “search the Earth Care Network directory.”
A per-project .cursor/mcp.json is convenient but easy to commit by accident. Keep real keys out of version control.

Troubleshooting

  • Server shows red / “no tools” — confirm the URL ends in /mcp/ and the Authorization header includes the Bearer prefix.
  • Calls fail with Unauthorized — the key may be revoked; create a new one in the workspace.