Package burp.mcp.util
package burp.mcp.util
-
ClassDescriptionCoordinates operator approvals for prompt-gated tool calls and out-of-scope targets.Everything a pending approval needs to describe itself.One operator decision covering the permission and/or scope requirement.UI hook; callbacks run on the calling thread.A pending (or already resolved but not yet consumed) approval request.Decision for a permission-gated tool.Decision for an out-of-scope target.Utility for hex encoding/decoding and byte array conversion.Circuit breaker for external-calling tools.Holds live
Crawlhandles by ID so agents can poll and stop crawls across MCP calls.File-based error logger with log rotation (max 5MB, keep 3 files), structured JSON-lines output, and JVM info header on new sessions.Serializes Montoya HTTP objects to JSON-compatible Maps.Input validation for MCP tool parameters.Structured log entry capturing all context for a single log event.Configuration manager backed by Montoya Preferences API.Custom exception for MCP errors with JSON-RPC error codes.JSON-RPC 2.0 encoding/decoding utilities.Thread-safe metrics collector for the MCP server.Middleware permission manager for MCP tool access control.Evaluation result for one tool call.Per-tool policy for CUSTOM mode.Locates the.burpfile of the current project.Token-bucket rate limiter keyed by source IP.Thread-safe request cache with TTL-based expiry, LRU eviction, and stats.TLS/SSL manager for the MCP server.Reads build version info from version.properties (filtered by Maven at build time).