Skip to content
Docs

Cursor

Connect Cursor to HeyBrain with a workspace key or browser sign-in, check the tools in Cursor Settings and ask your first question.

You need Cursor and Node.js installed. Choose a key or browser sign-in.

  1. Generate a key

    Open HeyBrain MCP in the workspace Cursor should use, choose Cursor and your operating system, then choose Generate key and name the connection.

    Warning: The full key is shown once. Copy it straight away and keep any command or file that contains it private.

  2. Run the setup command

    Run the Connect your agent to the brain command from the HeyBrain MCP page. It adds HeyBrain to ~/.cursor/mcp.json. To add it by hand, merge this entry into that file:

    ~/.cursor/mcp.json
    {
      "mcpServers": {
        "HeyBrain": {
          "url": "https://mcp.heybrain.io/mcp",
          "headers": { "Authorization": "Bearer REPLACE_WITH_YOUR_KEY" }
        }
      }
    }
  3. Restart Cursor

    Restart Cursor and open Cursor Settings → MCP. HeyBrain should be enabled with its tools listed.

Ask your first question#

In Agent mode: Ask your first question: “Use HeyBrain to find what we know about <the subject of your note>.” The agent can only see what your HeyBrain identity can access in this workspace.

Last checked against the product on November 25, 2026.