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

External MCP Servers

Beyond Burp's built-in MCP tools, Custom AI Agent can connect to external or custom MCP servers over SSE (HTTP) or stdio (local process) transports. Their tools appear alongside the built-in Burp tools in the agent's tool preamble, namespaced ext:<server>:<tool>. Introduced in v0.9.0 (closes #41).

Full build only. External MCP servers, the Settings > MCP Server > External MCP Servers section and the ext:<server>:<tool> tools are part of the GitHub full build (Custom-AI-Agent-full-<version>.jar, built with ./gradlew fullJar). The BApp Store build (./gradlew bappJar) does not include them. See Which Build?.

Setup

  1. Open Settings > MCP Server and expand External MCP Servers.

  2. Click Add Server and choose a transport:

    • SSE — enter the server's SSE URL (e.g. http://127.0.0.1:3000/sse) and, if required, a bearer token.

    • stdio — enter the executable command (e.g. /usr/local/bin/my-mcp-server). stdio is off by default (it launches a local process) — enable it explicitly and confirm the local-process warning first.

  3. Click Save Server, then Save settings. The Status column shows Connected (N tools), and the server's tools become callable as ext:<server>:<tool> and listed in the agent's tool preamble.

Transport Types

Transport
Use when
Example

SSE

Remote or local HTTP-based MCP server

http://127.0.0.1:3000/sse

stdio

Local process launched by the extension

/usr/local/bin/my-mcp-server

Security Model

  • Encrypted auth tokens. SSE bearer tokens are stored encrypted at rest (AES-256-GCM, ENC1:-prefixed) — the same path as every other API key — masked in the UI behind a show/hide toggle, and never logged. The AES master key is itself stored in Burp Preferences beside the ciphertext (secret.master.key.v1), so this protects against casual inspection of a preferences file, not against a local attacker. See Secrets at Rest.

  • Trust-boundary wrapping. Every external tool result is wrapped as [EXTERNAL-TOOL-RESULT:<server>]…[/EXTERNAL-TOOL-RESULT] (with close-marker escaping), marking it as untrusted data rather than agent instructions. Treat it as defense in depth, not a semantic sandbox.

  • SSRF guard. Configuring an external URL that resolves to a non-loopback private/link-local address triggers the same soft SSRF warning used for backend URLs — non-blocking, so deliberate internal use is still possible.

  • Audit logging. Every external tool invocation is recorded in the audit log (when enabled) with the server name, tool name, and a result summary.

  • Always confirmed. When the extension's own AI emits a call to an ext:-namespaced tool, it asks you every single time — no "approve for session" option. External tools never inherit a built-in tool's silent tier. See Tool-Call Confirmation.

Last updated