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 the regenerate icon next to Token (or delete the value and tab out — the field re-fills with a fresh random token).

  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?

Every prompt, scanner job, and MCP call carries a trace ID (chat-turn-…, scanner-job-…, mcp-tool-…). To pull the full timeline for one trace:

Or for a specific custom-prompt source:

Cross-reference: Audit Logging.

…clear the prompt cache for one engagement?

Each project has its own cache subdirectory. Find the project ID in ~/.burp-ai-agent/cache/ (Burp generates it from the .burp project file) and delete 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 AI call without disabling caching globally?

The persistent cache key is the SHA-256 of the normalized prompt. To force a cache miss for one specific request without flipping the global toggle:

  • Add or remove a non-security-relevant token in the request that is not stripped by cache normalization (e.g., a unique header X-Cache-Buster: <uuid>). The new fingerprint produces a new cache entry.

  • Or temporarily lower Prompt cache TTL (min) to 1 in Settings → AI Passive Scanner, run the request, then revert.

The clean option is to disable Persistent cache for the duration of the targeted run and re-enable it after.

…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.

Cross-reference: Settings Reference → Custom Prompts, Context Menus → Custom Prompt Library.

…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 stays redacted under the old mode — there is no rewrite. If that is a problem, also clear the relevant cache subdirectory and rerun against the same request to produce a fresh audit entry under the new mode.

Cross-reference: Privacy Modes, Best Practices → Privacy Posture by Environment.

…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.

Cross-reference: AI Request Logger, Settings Reference → Rolling Log Persistence.

…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