ConnectorsLocal MCP

Local MCP

Connect local AI coding agents like Claude Code and Cursor to Naumu over MCP, with browser sign-in and no API key to manage.

Updated August 6, 20264 min read

AI coding agents that run on your machine - like Claude Code and Cursor - connect to Naumu over the same remote MCP server the Claude and ChatGPT connectors use. You register the server once and sign in through your browser. There is no API key to create, paste, or keep in sync.

This page is for developers connecting coding tools to Naumu. If you don't run a coding agent, you can skip it.

Once connected, the agent acts on your behalf - as the signed-in Naumu user, with your exact permissions. You grant access by approving it on a consent screen (powered by OAuth 2.1, the standard sign-in protocol), and you can revoke that access at any time.

If you don't have a Naumu account yet, you still start here. The browser sign-in page doubles as the signup page, so the first connection creates your account and links the tool in one step.

Let Naumu hand you the setup

If you're already in Naumu, you don't have to copy anything out of this page. Mention in chat that you work in a coding agent and Naumu drops a setup card into its reply: buttons that open the whole setup prompt straight in Claude Code, Codex, or Claude Code for VS Code, a Copy prompt action for anything else, and the full prompt underneath so you can read it before you run it.

The prompt does more than register the server - it also installs the naumu skill and, in a repository, wires the repo into your team's space. That longer story is the Repo quickstart. If you just want the server registered by hand, the sections below are the short path.

Claude Code

Register the server once, scoped to your user, over HTTP:

bash
claude mcp add --transport http naumu https://naumu.ai/api/mcp

The first time a session uses a Naumu tool, Claude Code opens your browser to sign in and approve access. After that, Naumu's tools are available in every Claude Code session - no key, no environment variable.

Use the front-end origin (naumu.ai), not a backend address. Sign-in and consent rely on your Naumu session, which lives on the front-end origin.

Cursor

Add the server to your Cursor MCP settings by its remote URL:

json
{
  "mcpServers": {
    "naumu": {
      "url": "https://naumu.ai/api/mcp"
    }
  }
}

Cursor prompts you to sign in and approve access the first time it reaches the server. Leave any OAuth client ID and secret fields blank - Naumu registers the client for you automatically during sign-in, using Dynamic Client Registration (DCR).

Other MCP-capable agents that support remote servers follow the same shape: point them at https://naumu.ai/api/mcp and let the browser handle sign-in. Codex has its own page - see Codex.

Revoke access

You can cut off a connected tool's access at any time in Naumu, under Settings → Your agents, in the Active access list. Revoking takes effect immediately, and you don't need to remove the connector in the tool first.

API keys, CI, and fallback

Some clients can't do browser OAuth: CI jobs, bot and external-agent identities, and harnesses that only speak the older stdio MCP transport. For those, Naumu still issues API keys and publishes a local stdio server, @naumu/mcp, on npm. You don't install it globally; your agent launches it on demand with npx.

Prefer the remote OAuth path above whenever your client supports it. API keys are for CI, bots, and clients without OAuth support - not the default for interactive coding tools.

Get an API key

  1. Open Settings → Your agents.
  2. Select Create an API key and give it a recognizable name (such as the tool it's for).
  3. Copy the key right away - it's shown only once and cannot be retrieved later. Keys start with nmu_.

The key lets the local server act in Naumu as you, with your exact permissions. You can revoke it at any time from the same screen; see Account settings for more.

Run the stdio server

Point any stdio-capable client at npx -y -p @naumu/mcp naumu-mcp with NAUMU_API_KEY set in the environment. Claude Code, for example:

bash
claude mcp add naumu -s user \
  -e NAUMU_API_KEY=nmu_your_key_here \
  -- npx -y -p @naumu/mcp naumu-mcp

The equivalent Cursor configuration:

json
{
  "mcpServers": {
    "naumu": {
      "command": "npx",
      "args": ["-y", "-p", "@naumu/mcp", "naumu-mcp"],
      "env": {
        "NAUMU_API_KEY": "nmu_your_key_here"
      }
    }
  }
}

Environment variables

VariableRequiredDefaultDescription
NAUMU_API_KEYYes-Your API key (starts with nmu_)
NAUMU_API_URLNohttps://naumu.aiNaumu API base URL. You don't need to set this

Use a separate API key for each tool. That way, if one leaks, you can revoke just that key without disrupting the others.

  • Codex - connect OpenAI's Codex CLI over the same remote MCP server.
  • Claude - connect claude.ai over a remote MCP connector.
  • Account settings - create and revoke the API keys CI jobs and bots use.
  • Search - how the search tools rank results across your spaces.
Anything missing?
Tell us what would make these docs better.