For the complete documentation index, see llms.txt. This page is also available as Markdown.

Recipes: How Do I…

Short, copy-pasteable answers to common operational questions. Each recipe is self-contained and links to the canonical page for deeper context.

…rotate the MCP bearer token?

When the External Access path is exposed, the bearer token in Settings → MCP Server → Token acts as the only credential. Rotate it when sharing a workstation, after a suspected leak, or on a schedule.

  1. Open Settings → MCP Server.

  2. Click Regenerate next to Token. Clearing the editable field does not generate a replacement automatically.

  3. Hit Save. The MCP server restarts automatically.

  4. Push the new value to every external client that connects (Claude Desktop config, gateway env var, etc.).

Cross-reference: MCP Security Model.

…rotate the MCP TLS certificate?

The auto-generated keystore at ~/.burp-ai-agent/certs/mcp-keystore.p12 is valid for 365 days. To force regeneration without waiting:

# Stop Burp (or disable MCP) first.
rm ~/.burp-ai-agent/certs/mcp-keystore.p12

Re-enable MCP. With Auto-Generate Certificate on, the next start regenerates the keystore (RSA 2048, SHA256withRSA, 365 days, CN=burp-mcp) and stores a fresh password in Burp preferences.

If you maintain a custom keystore, replace the file and re-set Keystore Password under Settings → MCP Server.

Cross-reference: Configuration Directory.

…filter the audit log for a specific trace?

Trace correlation is stored by the AI Request Logger. If rolling persistence is enabled, pull one trace from its active JSONL file with:

The separate audit stream does not put a trace ID on every event. It can still filter prompt launch metadata, for example a specific custom-prompt source:

Cross-reference: Audit Logging.

…clear the prompt cache for one engagement?

Each project has its own cache subdirectory. Its name is the first eight characters of api.project().id() (or default if that API lookup fails). Identify the directory by time/size while the relevant project is open, disable the passive scanner, and remove only that subdirectory:

The plugin recreates the directory on the next cache write. Other projects' caches are untouched.

Cross-reference: Passive AI Scanner → Cache Behavior.

…force a fresh passive-scanner AI call?

There is no per-request cache-bypass switch. Three independent gates can reuse or skip work: endpoint dedup, response-fingerprint dedup, and the in-memory/persistent prompt-result cache. Changing a header alone does not bypass the earlier endpoint gate.

For a controlled fresh run, disable the passive scanner, turn Persistent cache off, set Endpoint dedup, Response dedup, and Prompt cache TTL to 1 minute, then reload the extension (or restart Burp) to clear the in-memory maps. Re-enable the scanner, wait past the one-minute window if the request was already seen, run the request once, and restore the prior settings. If persistent cache must remain enabled, remove only the current project's cache directory while the scanner is disabled as described above.

…connect an external MCP client?

For Claude Desktop and any client that speaks MCP over SSE, the canonical URL is http://127.0.0.1:9876/sse. Loopback works without auth; external access requires bearer + TLS.

Example claude_desktop_config.json fragment:

For external access, replace 127.0.0.1 with the bound IP, switch to https://, and pass the bearer:

Cross-reference: MCP Overview, Burp Scan Skill (Terminal AI).

…migrate agent profiles between machines?

Profiles live as plain Markdown files in ~/.burp-ai-agent/AGENTS/ plus a default marker file naming the active one.

Cross-reference: Agent Profiles.

…export the saved custom prompt library?

Open Settings → Custom Prompts → Export JSON. The output is pretty-printed and contains every entry's id, title, promptText, tags, showInContextMenu, and isFavorite. Drop the file on another workstation and use Import JSON to merge by id.

…switch privacy mode mid-engagement without leaking the previous mode's data?

Privacy mode applies to the prompt that is about to be built, not retroactively. So:

  1. Switch Privacy Mode under Settings → Privacy & Logging.

  2. Confirm the top-bar pill reflects the new mode.

  3. Re-trigger the analysis. The next context capture is redacted under the new mode.

Anything already in the audit log or already in flight keeps the representation produced under the old mode — including unredacted content if that mode was OFF. There is no rewrite. If that is a problem, protect or remove the relevant artifact according to the engagement's retention policy, clear the relevant cache state, and rerun under the new mode.

…enable rolling persistence for the AI Request Logger?

The in-memory logger keeps the last 500 entries by default. To also persist them to rotating JSONL files, set JVM properties at Burp startup:

Files land in ~/.burp-ai-agent/logs/. Defaults: 1 MB per file, 5 rolled files.

…add a custom backend without rebuilding?

Drop the compiled JAR into ~/.burp-ai-agent/backends/ and restart Burp. The plugin picks it up via ServiceLoader on the next start.

After restart the new backend appears in Settings → AI Backend → Preferred Backend. If it does not, check Extensions → Output for ServiceLoader errors from the JAR.

Cross-reference: Adding a Backend.

…stop a runaway active scan?

If the active scan queue is consuming traffic budget faster than expected:

  1. Toggle Active off in the top bar. In-flight requests finish; nothing new is dequeued.

  2. Open the AI Active Scanner tab and clear the queue from the runtime controls.

  3. (Optional) Lower Max Concurrent Scans and Max Risk Level before re-enabling.

Toggling Active off is non-destructive — confirmed findings already created as Burp issues stay in Target → Issues.

Cross-reference: Active AI Scanner.

Last updated