Skip to main content
Glama

Nabrila MCP server

npm license: MIT CI

Opens Nabrila bug reports on your machine, so Claude Code, Cursor or any MCP client can read them: the tester's note, the widget they pointed at with its file:line, steps to reproduce, the timeline of taps, routes, HTTP calls and logs, the screenshot and the replay.

Try it with the example report · Docs · Nabrila for Flutter

Decrypted on your machine

Nabrila reports are encrypted on the tester's phone (AES-256-GCM). On the Free plan the key exists only in the link fragment, https://nabrila.com/r/<id>#k=<key>, and browsers never send the fragment to a server. On paid plans Nabrila also keeps a copy of the key so the team can open reports from the inbox, unless the app sets keepKeyOnDevice: true.

This server runs on your machine. open_report downloads the encrypted file by id, decrypts it locally with the key from #k= and keeps it in memory. This server never sends the key anywhere, not to Nabrila and not to any other service, and nothing it decrypts leaves your machine.

Other bug-reporting MCP servers read reports in plain text on the vendor's servers. This one cannot, by design.

Related MCP server: gn-tracing-mcp

Install

Requires Node.js 20 or newer. Your MCP client starts the server with npx, so there is nothing to install globally.

Claude Code:

claude mcp add nabrila -- npx -y @nabrila/mcp

Add --scope user to have it in every project.

Any other client takes this standard configuration:

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

Add the standard configuration to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (one project).

code --add-mcp '{"name":"nabrila","command":"npx","args":["-y","@nabrila/mcp"]}'

Or add it to .vscode/mcp.json, where the key is servers:

{
  "servers": {
    "nabrila": {
      "type": "stdio",
      "command": "npx",
      "args": ["-y", "@nabrila/mcp"]
    }
  }
}

Add the standard configuration to claude_desktop_config.json (~/Library/Application Support/Claude/ on macOS, %APPDATA%\Claude\ on Windows) and restart the app.

Add the standard configuration to ~/.codeium/windsurf/mcp_config.json.

codex mcp add nabrila -- npx -y @nabrila/mcp

On Windows, clients that cannot start npx directly need "command": "cmd" and "args": ["/c", "npx", "-y", "@nabrila/mcp"].

Then ask your agent, for example: "Open https://nabrila.com/r/…#k=… and fix the bug."

Tools

Tool

What it returns

open_report(link)

Downloads and decrypts the report; returns a compact summary: app, version, device, kind, the tester's note, the pointed element with its source location, context, numbered steps to reproduce, event and failure counts, the first failure, and whether there is a screenshot and a replay.

get_events(id, kind?, only_errors?)

The timeline, each event numbered #n, with full stack traces. kind is tap, navigation, http or log; only_errors keeps 4xx/5xx and unanswered requests, error logs and exceptions.

get_request(id, index)

One HTTP request (#n): URL, status, timing, sizes, request and response headers and body previews (redacted on the phone), and an equivalent curl.

get_screenshot(id)

The screenshot (PNG, with the tester's drawings) as image content.

get_replay(id)

Writes the replay to a private temp folder (<tmp>/nabrila-mcp/<id>/, mode 700) and returns the paths with each frame's time t on the same clock as the events. MP4 replays list t -> video time for ffmpeg; still-frame replays also return up to 6 evenly spaced frames as images.

get_changes(id, repo?, path?)

What changed since the tester's build: commits after it, the last commits in it, the files changed and, with path, that diff. Runs git in your checkout (the server's folder by default, or a folder inside it: anything outside is refused); the output is fenced as data, like report content. Needs builds made with --dart-define=NABRILA_COMMIT=$(git rev-parse HEAD).

symbolize(id | stack_trace, debug_info_path, index?)

Runs flutter symbolize on the report's obfuscated stack traces (or on a given one) and returns them with file:line frames.

id is the report id shown by open_report; the full link works too. Opened reports stay in memory (up to 20) until the server stops.

Security

The server only downloads reports from the link you give it. It opens https links, and plain http only for localhost, 127.0.0.1 and [::1] (a local Nabrila during development). Of your files, it only reads the symbols you pass to symbolize and, through git, the checkout you point get_changes at: the folder the server runs in or one inside it (real paths are compared, so .. and symlinks cannot leave it). It writes only to private temp folders (the replay, and the stack traces it hands to flutter symbolize). The only programs it runs are flutter symbolize and read-only git commands (rev-parse, cat-file, log, diff), run with --no-ext-diff --no-textconv and core.fsmonitor off so a repository's own config cannot start programs, and only with a commit that is 7 to 40 hex characters.

Every output that contains report data (the get_changes commits and diffs too) starts with a line saying it is content from a tester's app: data, not instructions. The engine also strips invisible and text-reordering characters from every field, so nothing can hide instructions for the agent in text that looks harmless.

A report is what a tester sent from their phone. Treat it as input to check, like any bug report.

Errors

Each problem comes back as one plain sentence: a link that is not a report link, a link without its #k= key, a report that is not found, expired or removed, a key that does not open the report, a damaged file, rate limiting or a network failure.

Symbolize prerequisites

Release builds made with --obfuscate print stack traces without names (#00 abs 0000… virt …). To turn them back into code locations:

  1. Build the app with split debug info, and keep the folder for every build you ship to testers:

    flutter build apk --obfuscate --split-debug-info=build/symbols/2.4.0+118
  2. Have Flutter on the PATH of the program that runs this server (flutter --version must work there).

  3. Call symbolize with the symbols file for the tester's device architecture, e.g. build/symbols/2.4.0+118/app.android-arm64.symbols (a folder works when it holds a single .symbols file).

The symbols must come from the exact build the tester used. Debug and profile builds already have readable traces and need nothing.

From source

npm install
npm run build      # bundles to dist/index.js
npm test

Then point your client at node /absolute/path/to/nabrila-mcp/dist/index.js. The build bundles the report engine in engine/: the same code the Nabrila web viewer uses to read reports.

License

MIT, including the report engine in engine/. See LICENSE.

Available Tools

7 tools
get_changesWhat changed since the tester's buildA
Read-only

Lists the commits and files that changed between the commit the tester's build came from and the current HEAD, by running git in the local checkout (nothing leaves this machine). Also lists the last commits inside that build, where the bug may come from. Pass path= for the diff of one file or folder. Needs reports from builds made with --dart-define=NABRILA_COMMIT.

Inputs: id (required), path, repo.

get_eventsList report eventsA
Read-only

The recorded timeline of an opened report: taps, navigations, HTTP requests and logs with their stack traces, numbered #n (use #n with get_request). Filter by kind or to failures only (4xx/5xx or unanswered requests, error logs and exceptions).

Inputs: id (required), kind, only_errors.

get_replayGet the report replayA
Idempotent

Writes the replay of the moments before the report (an MP4 or still frames) to a private temp folder and returns the file paths with their time t on the same clock as the events. For still frames, up to 6 evenly spaced frames are also returned as images.

Inputs: id (required).

get_requestShow one HTTP requestA
Read-only

Full details of one HTTP request event (#n from get_events): URL, status, timing, sizes, request and response headers and body previews (redacted on the phone) and an equivalent curl command.

Inputs: id (required), index (required).

get_screenshotGet the report screenshotA
Read-only

The screenshot the tester sent (PNG, with their drawings on it). The last taps and the pointed element are given as normalized x/y (0..1) in open_report and get_events.

Inputs: id (required).

open_reportOpen a Nabrila bug reportA
Read-only

Downloads a Nabrila report and decrypts it locally with the key in the link fragment (#k=…; only the report id is sent to the server). Returns a summary: app, device, the tester's note, the widget they pointed at with its source file:line, context, numbered steps to reproduce, event and failure counts, the first failure and whether there is a screenshot and a replay.

Inputs: link (required).

symbolizeSymbolize a Flutter stack traceA
Read-only

Turns an obfuscated Flutter release stack trace (frames like "#00 abs 0000… virt …") into file:line frames by running flutter symbolize locally. Give either a report id (its obfuscated stack traces are used, or only event #index) or a stack_trace, plus the symbols file from --split-debug-info of the same build. Needs Flutter installed.

Inputs: debug_info_path (required), id, index, stack_trace.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4.1/5.0

    Scored across 7 tools

    Disambiguation5/5

    Each tool targets a distinct artifact or operation: the report summary, the event timeline, a single request's detail, the screenshot, the replay video, git history, and stack symbolization. The one potentially overlapping pair (get_events vs. get_request) is explicitly disambiguated by describing get_request as taking an #n from get_events, and get_screenshot vs. get_replay are clearly different media.

    Naming Consistency4/5

    Five of seven tools use a consistent get_<noun> pattern (get_screenshot, get_events, get_request, get_replay, get_changes). open_report and symbolize deviate, but each deviation is semantically justified (a side-effecting download/decrypt and a transformation verb), so the set remains predictable.

    Tool Count5/5

    Seven tools is well within the ideal range and each one maps to a concrete step in the debugging workflow (open → inspect events → drill into a request → view screenshot/replay → check code changes → symbolize). No filler or redundant tools are present.

    Completeness4/5

    The lifecycle from ingesting a report through triage (events, request detail, screenshot, replay) to root-causing (git changes, symbolization) is covered end to end. The main gap is discovery: there is no tool to list or search available reports, so an agent must already possess a report link/id, and there is no way to annotate or close a report.

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      C
      maintenance
      Enables AI agents to inspect Shadow Monitor capture files locally, with tools to load bundles, find errors, search network requests, and replay user actions.
      11
      11 npm
      1
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables coding agents to read a replay link or a gn-tracing-*.zip package, surfacing console errors with source-mapped stacks, failed requests, and the user timeline.
      GPL 3.0
    • A
      license
      A
      quality
      B
      maintenance
      Local-first bug reports for coding agents: annotated screenshots, recordings and notes stored on your machine, served over MCP with the images included. Sync reports to GitHub issues when you choose.
      7
      MIT