Debugai MCP Server

MCP server for DebugAI. Browser sign-in, auto client setup, no key pasting.

Remote serverstreamable-httpPython

What is the Debugai MCP server?

MCP server for DebugAI. Browser sign-in, auto client setup, no key pasting. Exposed over MCP by the debugai mcp server, that capability becomes something an assistant can invoke while it works, not something you go and do afterwards.

What it actually does

Your agent hands an error to debug_error and gets back the root cause, the exact file and line, and up to 3 ranked fixes as ready-to-apply edits. Each fix is labeled with whether a mechanical check actually passed, so the agent knows which ones were checked and which are the model's own estimate.

Adding it to your client

Being a remote server, there is no local install. You register the endpoint with your client, authorise it once, and the tools appear.

Its toolset

Everything the assistant can do here goes through one of these:

  • setup — login then install, then verifies. The one you want
  • login — Browser sign-in. --key dbg_… to paste a key instead (CI, air-gapped boxes). --force to re-link
  • logout — Removes the stored key
  • status — Which key and account are active right now
  • uninstall — Removes the entry from every client config
  • doctor — Diagnoses a broken setup: key, API reachability, per-client wiring
  • Commands — npx -y @debugai/mcp install --list prints every supported client, where its config lives on your OS, and whether DebugAI is already in it
  • debug_error — Returns the root cause, up to 3 fixes ranked by confidence, the detected framework, and whether the answer came from cache. Since 2.0 each fix also
  • report_outcome — Confirmed rank-1 fixes are remembered per project, so the next hit on the same error starts from the confirmed fix. Failed-fix follow-ups are the

Configuration

You will need 2 environment variables: DEBUGAI_API_KEY, DEBUGAI_CONFIG_PATH. The server will not start without them, which is usually why the tools fail to appear on a first run. Keep credentials in your client's env block or a secrets manager rather than in a file you might commit.

Caveats

  • Your data travels to the provider's service, so the usual questions apply about what you send and what they retain.
  • With 9 tools registered it takes up a noticeable share of the context window; turn it off in projects that never touch Debugai.
  • Missing credentials fail quietly in some clients — if no tools show up, check the environment block first.
  • MCP clients confirm each tool call by default. Leave that on until you have watched what the debugai mcp server does with a few real requests.

When to reach for it

This sits in the browser automation group, where several servers overlap in what they claim to do but differ sharply once you actually set them up. Debugai's toolset — setup, login, logout and 6 more — is a fair guide to whether it matches your workflow. It is maintained by 1shizaan; worth a glance at recent repository activity before you build anything load-bearing on it.

We check each listing at SyncDev against the project's documentation before it goes live — if something here drifts out of date, it is a bug worth reporting.

Available tools

ToolWhat it does
setuplogin then install, then verifies. The one you want.
loginBrowser sign-in. --key dbg_… to paste a key instead (CI, air-gapped boxes). --force to re-link.
logoutRemoves the stored key.
statusWhich key and account are active right now.
uninstallRemoves the entry from every client config.
doctorDiagnoses a broken setup: key, API reachability, per-client wiring.
Commandsnpx -y @debugai/mcp install --list prints every supported client, where its config lives on your OS, and whether DebugAI is already in it.
debug_errorReturns the root cause, up to 3 fixes ranked by confidence, the detected framework, and whether the answer came from cache. Since 2.0 each fix also carries, where derivable: edits (exact old/new strings your agent's edit
report_outcomeConfirmed rank-1 fixes are remembered per project, so the next hit on the same error starts from the confirmed fix. Failed-fix follow-ups are the feedback that improves future answers. Agents are asked to call this once

How to install the Debugai MCP server

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

Configuration as documented by the project. Restart the client after saving.

Configuration

VariableDescriptionRequired
DEBUGAI_API_KEYCredential the server authenticates with.Yes
DEBUGAI_CONFIG_PATHFilesystem location the server is allowed to use.Optional

Example prompts to try

  • Use Debugai to setup.
  • Use Debugai to login.
  • Use Debugai to logout.

Frequently asked questions

It connects Debugai to MCP-compatible AI assistants such as Claude and Cursor, exposing 9 tools (setup, login, logout, and more) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Debugai directly.