Set up Diagnosis in Codex or Claude

Connect Claude, Codex, Cursor or another MCP client on your computer to Tellagen with a browser sign-in, so it can diagnose incidents with the tools you already use.

What you need
You need a responder seat, and your AI client and Node.js on your computer. To see the tools of the whole workspace, you also need permission to manage settings.

Your client runs the diagnosis on your computer and reads your metrics, logs and code with your own tools. Tellagen holds the incident and the result. You copy no key: you sign in once in the browser.

Steps

  1. Add Tellagen to your client

    Go to Settings → AI diagnosis and open the Local tab. If you connected a client before, select Connect a client. Under Your client, pick yours, select Copy, then run what you copied.

    Tap to enlarge.

    In Claude, the plugin is the quickest way. You can also use claude mcp add, or add the JSON to claude_desktop_config.json, then quit Claude fully and open it again. Cursor reads the same JSON from ~/.cursor/mcp.json.

    Claude

    /plugin marketplace add tellagen/tellagen-marketplace
    /plugin install tellagen@tellagen-marketplace

    Claude, MCP command

    claude mcp add tellagen -- npx -y @tellagen/mcp-server@latest

    Claude, config file

    {
      "mcpServers": {
        "tellagen": {
          "command": "npx",
          "args": ["-y", "@tellagen/mcp-server@latest"]
        }
      }
    }

    Codex

    codex mcp add tellagen -- npx -y @tellagen/mcp-server@latest

    Cursor and other MCP clients

    {
      "mcpServers": {
        "tellagen": {
          "command": "npx",
          "args": ["-y", "@tellagen/mcp-server@latest"]
        }
      }
    }
  2. Sign in from your client

    In Claude, type /tellagen:connect. In any other client, ask it to "sign in to Tellagen". Your client shows a short code and opens the sign-in page in your browser. If it can't open a browser, it gives you the address, and you can open it on any device.

  3. Approve the sign-in

    Check that the code matches the one in your client, and that the workspace is the one you want. Approve only a sign-in that you started yourself. Under Stay signed in for, pick 30 or 90 days, then select Approve.

    When the page says "Your client is connected", go back to your client. It's ready.

  4. Check your clients

    Back on the Local tab, find your client under Your clients, with its version, its computer and the days left on its sign-in. You can have two sign-ins at a time.

    Tap to enlarge.

    To remove a client, select Sign out in its row and confirm. To check from your computer instead, run npx @tellagen/mcp-server status.

  5. Add your evidence tools

    A diagnosis is only as good as what it can read. Add your Grafana, GitHub or Kubernetes tools to the same client, with read-only accounts. See how local diagnosis uses your tools, then add an evidence tool.

    After its first diagnosis, your client reports the tools it found under its row. A tool it didn't find has a dash. Select Add a missing tool to set it up.

  6. See the tools of the workspace (optional)

    With permission to manage settings, you also see For the workspace. Under Tools a diagnosis can use, each tool has the newest report of each client. A tool marked Not found becomes a gap in the diagnosis, so fix that one first. See Fix a tool that shows Not found.

    The switch Responders can connect their own client decides whether responders can sign a client in.

What happens next

  • Your client can now pick up a Diagnosis. Run one.
  • An admin can set how the close dialog offers a to-do under To-dos from a diagnosis, lower on the Local tab.
  • To have your computer start runs without you asking, see Let your computer take diagnosis runs.

FAQs

  • The sign-in page says I can't connect a client. Why?

    One of three things: you have a viewer seat, an admin turned off Responders can connect their own client, or your plan doesn't include API access. The page names the cause. If you already have two clients, sign one out under Your clients first.

  • The sign-in page says “This code is not valid, or it expired, or it was already used.” What now?

    A code works once and lasts 10 minutes. Start the sign-in again in your client and use the new code.

  • My client shows Update needed. How do I update it?

    Start the client again. The commands above load the newest server each time. With the Claude plugin, run /plugin and update Tellagen, because a restart keeps the plugin's own version.

  • My client can't do the browser sign-in at all. Is there another way?

    Yes. In Connect a client, select Use a key instead, then Make key, and copy the key at once, because Tellagen shows it only once. It counts as one of your two sign-ins. For a key the whole team shares, see API keys.

  • My client never reports its tools. What can I do?

    If your computer listens for runs, select Check now on its row. Otherwise someone with permission to manage settings selects Recheck on the tool under Tools a diagnosis can use, then pastes the prompt into the client.

Related guides

External setup references

Updated . Something out of date? Write to [email protected]. Open Markdown version