Home / Clients / Cursor

Connect Cursor to hosted MCP servers

Give Cursor, the AI code editor, 10,812 tools through one remote MCP server, without hitting its tool limit.

Steps

  1. Create an API key in the dashboard.
  2. Open Cursor Settings → MCP and add a new server, or paste the JSON below into ~/.cursor/mcp.json (or .cursor/mcp.json in a project).
  3. Toggle the server on in the MCP settings; the agent can then search for and call tools.

Add to ~/.cursor/mcp.json

Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "hj-hub": {
      "url": "https://mcp.hjlabs.in/mcp/hub",
      "headers": {
        "Authorization": "Bearer YOUR_API_KEY"
      }
    }
  }
}

Replace YOUR_API_KEY with a key from your dashboard. Cursor connects to the HTTP endpoint directly: no bridge, nothing to install.

What Cursor sees

Three tools: search_tools, call_tool and use_tool. When it needs something, it searches in plain words, gets the best matches with their schemas, and calls one. Any tool can also be called by its full name. You can connect an individual server instead, such as Public Knowledge or Developer Toolbox; the snippet is on each server page.

Other clients