Caido

Developer tools

MCP server for Caido proxy integration. Enables AI assistants like Claude Code to browse, analyse, and interact with HTTP traffic.

Your AI app calls the Caido MCP server, which does the developer tools work and sends the result back to the chat.

About Caido

Caido is a community MCP server from c0tton-fluff, filed in our directory under developer tools. MCP server for Caido proxy integration. Enables AI assistants like Claude Code to browse, analyse, and interact with HTTP traffic.

At a glance

Publisher
c0tton-fluff (community)
Runs
See the README for setup
Written in
Go
License
MIT
GitHub stars
163

How to set up Caido

  1. Follow the install steps in the Caido README; it is written in Go, so have that toolchain ready.
  2. Check the Caido README for keys or settings; the registry lists none that Caido requires.
  3. Add Caido to Claude Code, Claude Desktop, VS Code or Cursor with the config in the setup box on this page.
  4. Restart the app or reload its MCP servers, then ask it to list the Caido tools to confirm the connection.
  5. Run one read-only task with Caido first, and keep your app asking before each tool call until the results look right.

Caido compared with similar servers

  • Plex by vladimir-tutin has fewer GitHub stars than Caido (163 against 163); both are community servers, and both run locally.
  • HIG Doctor by raintree-technology has more GitHub stars than Caido (164 against 163); both are community servers, and both run locally.
  • Zotero (kujenga) by kujenga has fewer GitHub stars than Caido (163 against 163); both are community servers, and both run locally.

Before you connect Caido

  • Give Caido its own API key or account with the smallest permissions the job needs, never an admin key.
  • Keep your AI app asking before each Caido tool call until you trust what it does with them.
  • Treat text that Caido fetches as data. Pages, files and messages can hold instructions written to steer an AI.
  • Read the open issues for Caido on GitHub to see what breaks and how fast the maintainers reply.

Marketing use cases for Caido

How marketing and sales teams put Caido to work, by company size. Pick the size closest to yours and start Caido on one use case.

Small business

  • A small business with a developer can use Caido to ship site and tracking fixes faster, with the AI reading the code it changes.
  • Technical founders can ask Caido to explain and fix a marketing site issue without context switching between tools.
  • Caido runs on your own computer, which keeps data local; it needs a little setup, so a small team should plan an hour for it.

Mid-market

  • Growth engineers can use Caido to build landing pages, tracking and integrations in fewer cycles, with reviews kept in the normal flow.
  • Marketing ops engineers can connect Caido to keep scripts and automations documented and versioned as they change.
  • Start Caido on one workflow with one owner, measure the time it saves, then roll it out to the wider team.

Enterprise

  • Enterprise engineering teams can roll out Caido with repo scopes and audit logs, so agents work only where they are allowed.
  • Platform teams can standardize on Caido so web and marketing engineering share one reviewed way of working with AI.
  • Caido is a community server, so have security review the code and pin a version before Caido touches company data.

Need help becoming an AI-forward company?

We connect MCP servers and AI agents to your CRM, content and data, with the guardrails your team needs.

Contact us

Caido README

From c0tton-fluff/caido-mcp-server on GitHub, shared under its MIT license. Images are left out; the original has them.

README.md

caido-mcp-server

MCP server and CLI for Caido web proxy - browse, replay, and analyze HTTP traffic from AI assistants or your terminal.

Quick start · Capabilities · Safety controls · Code Mode · Tools · CLI

Overview

caido-mcp-server connects your Caido proxy to AI assistants and to your terminal:

  • MCP Server - expose 78 tools (or 2 tools in opt-in --code-mode) and 6 read-only resources to AI assistants (Claude Code, Cursor, etc.) via the Model Context Protocol
  • CLI - standalone terminal client for pentesters, including caido-cli exec to run sandboxed JavaScript workflows against Caido

Both share the same auth token, the same Go SDK, and the same codebase.

What you get:

  • Works on real traffic. Search history with HTTPQL, replay and edit requests, run race conditions, drive Automate, and open WebSockets, all through Caido.
  • Sized for a model's context. Response fingerprints, adaptive body limits, toolsets, compact mode and an opt-in Code Mode keep what the model reads small.
  • The operator stays in control. Credential redaction is on by default; read-only mode, scope enforcement and plugin allowlists are one flag each.
  • Static Go binaries. macOS, Linux and Windows on amd64 and arm64, built without CGO.

Works with Caido 0.57+. Race pipelines, WebSocket replay and pass-through options need Caido 0.59+.

Contents

  • Quick Start
  • What It Can Do
  • Safety Controls: redaction, read-only mode, scope enforcement, plugin calls
  • Managing Context: toolsets, Code Mode
  • MCP Reference: tools, resources, response details
  • CLI
  • Architecture
  • Troubleshooting
  • Security
  • Contributing

Quick Start

1. Install
curl -fsSL https://raw.githubusercontent.com/c0tton-fluff/caido-mcp-server/main/install.sh | bash

Or download a pre-built binary from Releases (macOS, Linux, Windows - amd64/arm64).

Or install with the Go toolchain (Go 1.25+):

go install github.com/c0tton-fluff/caido-mcp-server/v4/cmd/caido-mcp-server@latest

The binary lands in $(go env GOPATH)/bin (add it to your PATH). The installed binary reports its module version via caido-mcp-server --version.

Build from source
git clone https://github.com/c0tton-fluff/caido-mcp-server.git
cd caido-mcp-server
go build -ldflags "-X github.com/c0tton-fluff/caido-mcp-server/v4/internal/buildinfo.version=$(git describe --tags)" -o caido-mcp-server ./cmd/caido-mcp-server
2. Connect to Caido

Option A: Static access token (recommended)

This server talks to the local Caido app's GraphQL API, which authenticates with the access token from your Caido login session - not a Caido Cloud Personal Access Token. A Cloud PAT (prefixed caido_) is for the cloud/dashboard API and will not authenticate against your local instance.

Grab the access token from the Caido GUI: open developer tools (CTRL+SHIFT+I) and run this in the Console tab:

JSON.parse(localStorage.CAIDO_AUTHENTICATION).accessToken

Pass it via the CAIDO_ACCESS_TOKEN environment variable. No login command needed.

{
  "mcpServers": {
    "caido": {
      "command": "caido-mcp-server",
      "args": ["serve"],
      "env": {
        "CAIDO_URL": "http://127.0.0.1:8080",
        "CAIDO_ACCESS_TOKEN": "your-caido-access-token"
      }
    }
  }
}

Note: this token expires after ~7 days; for a long-lived setup use Option B (OAuth), which refreshes automatically. The older CAIDO_PAT variable is still accepted as a deprecated alias for CAIDO_ACCESS_TOKEN.

Option B: OAuth device flow

CAIDO_URL=http://127.0.0.1:8080 caido-mcp-server login

This opens your browser for OAuth authentication and saves the token under ~/.caido-mcp/tokens/. Then configure your MCP client:

{
  "mcpServers": {
    "caido": {
      "command": "caido-mcp-server",
      "args": ["serve"],
      "env": {
        "CAIDO_URL": "http://127.0.0.1:8080"
      }
    }
  }
}

Credentials are stored per instance, keyed by the canonical CAIDO_URL, so you can stay logged in to several Caido instances at once and switch between them without re-authenticating. Run login once per instance (note that http://localhost:8080 and http://127.0.0.1:8080 are stored under separate per-instance keys, so use the same URL in both login and your MCP config). An existing ~/.caido-mcp/token.json from an earlier version is migrated automatically the first time you use it, so upgrading does not require a fresh login.

3. Ask your assistant
"List all POST requests to /api"
"Send this request with a modified user ID"
"Create a finding for this IDOR"
"Show fuzzing results from Automate session 1"
"What's in scope?"

What It Can Do

Category Capabilities
Proxy History Search requests with HTTPQL, get full request/response details, diff two responses
Replay Send HTTP requests (raw or a pasted cURL command), get response inline (status, headers, body). Per-session cookie jar auto-persists Set-Cookie between calls
WebSocket Browse WS history; open a socket through Caido Replay (0.59+), send frames, long-poll pushed frames (e.g. graphql-ws subscriptions), read WS replay entries and stage/clear message drafts, close
Code Mode Opt-in sandboxed JavaScript execution (--code-mode and caido-cli exec) over QuickJS-NG WASM: shrinks 78 tools to 2 (caido_search + caido_execute) and runs loops, filtering, diffs, and JWT/base64 decoding in one call
Race conditions Single-packet, last-byte-sync and sequential runs through Caido Replay Pipelines (0.59+), with a status-code tally per run
Automate Access fuzzing sessions, results, and payloads. Start/pause/resume/cancel tasks
Findings Create, list, delete, and export security findings
Sitemap Browse discovered endpoints
Scopes Full lifecycle: create, rename, delete target scope definitions; check if a host/URL is in scope
Projects Full lifecycle: create, rename, select, delete projects
Workflows List, run, and toggle automation workflows
Tamper List, create, update, toggle, and delete Match & Replace rules in all four GUI modes (update raw, update value, add, remove); dry-run a rule against a raw request before committing it
Intercept Check status, pause/resume, list/forward/drop intercepted requests
Environments Create, select, delete variable environments (tokens, keys)
Filters Create, list, and delete saved HTTPQL filter presets
Hosted Files List payload files served by Caido
Tasks List and cancel running background tasks
Plugins List installed plugin packages with manifestId and backend health (id, enabled, running, error); opt-in allowlisted backend function calls via --plugins
Instance Get Caido version and platform info

Built for how an agent reads traffic:

  • Response fingerprinting: Auto-detects content kind (json/html/xml/text/binary) so agents know what they're dealing with
  • Adaptive body limits: JSON gets 4KB, HTML 3KB, binary 200B (override with explicit bodyLimit)
  • Response diff: Repeated identical responses in the same session collapse to a one-line summary, saving tokens
  • Session cookie jar: RFC 6265 jar per replay session; Set-Cookie from a response is auto-attached to the next send_request against the same session
  • Session reuse: Single replay session per server lifetime, no sprawl
  • Token auto-refresh: Expired OAuth tokens refresh mid-session automatically
  • Input validation: Length limits on all string inputs to prevent context flooding

Safety Controls

Credential redaction is on by default. Everything else here is a flag the operator sets when the server starts; the model cannot change it.

  • Credential redaction: Authorization, Cookie, and API key headers are redacted in tool output by default (including raw request/response dumps and the caido://requests/{id} resource); opt out with CAIDO_ALLOW_SENSITIVE_HEADERS (see Revealing sensitive headers)
  • Secret environment variables: Values of SECRET variables are redacted in caido_list_environments; the same opt-out applies
  • Read-only mode: serve --read-only registers only the tools that read state, so nothing that sends traffic or changes the project can be called (see Read-only mode)
  • Scope enforcement: serve --enforce-scope refuses any request, batch, race or WebSocket connection to a host outside the project scope, and withholds the tools that could change the scope (see Scope enforcement)
  • Opt-in plugin backend calls: serve --plugins quickssrf:createSession,quickssrf:getInteractions exposes caido_call_plugin strictly for operator-allowlisted plugins/functions (off by default, always withheld under --read-only and --enforce-scope)
  • Tool annotations: Every tool declares readOnlyHint/destructiveHint/idempotentHint/openWorldHint so MCP clients can distinguish read-only, destructive, and external-network tools
Revealing sensitive headers

By default, sensitive headers (Authorization, Cookie, Set-Cookie, Proxy-Authorization, X-Api-Key, X-Auth-Token, X-CSRF-Token, X-XSRF-Token, X-Amz-Security-Token, X-Access-Token, X-Session-Token, Private-Token, Api-Key, X-Secret-Key, X-Functions-Key) are replaced with [REDACTED] in tool output (and CLI output) to avoid leaking credentials into the model context. On an authorized engagement where you need the real values - to analyze or replay a captured authenticated request, or to produce a working caido_export_curl PoC - set CAIDO_ALLOW_SENSITIVE_HEADERS to a truthy value (1, true):

{
  "mcpServers": {
    "caido": {
      "command": "caido-mcp-server",
      "args": ["serve"],
      "env": {
        "CAIDO_URL": "http://127.0.0.1:8080",
        "CAIDO_ALLOW_SENSITIVE_HEADERS": "true"
      }
    }
  }
}

When enabled, real credential values flow through tool output to the model; leave it unset to keep redaction. The same toggle reveals the values of SECRET environment variables in caido_list_environments. It does not affect the session cookie jar, which only ever reports cookie names and metadata, never values.

Read-only mode

Start the server with --read-only (or set CAIDO_MCP_READ_ONLY=1) to expose only the tools annotated read-only. Tools that send traffic or change the Caido project are not registered at all, so a client cannot call them even by name. Use it to let an agent review captured traffic without the ability to touch a target or the project.

{
  "mcpServers": {
    "caido-readonly": {
      "command": "caido-mcp-server",
      "args": ["serve", "--read-only"],
      "env": {
        "CAIDO_URL": "http://127.0.0.1:8080"
      }
    }
  }
}

The startup banner reports the mode and the reduced tool count. A CAIDO_MCP_READ_ONLY value that is not a boolean stops the server instead of starting it with every tool.

Scope enforcement

Start the server with --enforce-scope (or set CAIDO_MCP_ENFORCE_SCOPE=1) to make the project scope a hard boundary for the agent:

{
  "mcpServers": {
    "caido": {
      "command": "caido-mcp-server",
      "args": ["serve", "--enforce-scope"],
      "env": {
        "CAIDO_URL": "http://127.0.0.1:8080"
      }
    }
  }
}
Refused A target host outside every scope, for caido_send_request, caido_edit_request, caido_batch_send (per request), caido_race_pipeline, caido_race_window_send and caido_ws_connect
Withheld caido_create_scope, caido_update_scope, caido_delete_scope, caido_select_project, caido_create_project, caido_delete_project, and caido_call_plugin, so the agent cannot move or bypass the boundary
Fails closed Scopes cannot be read, the project has no scope, or the only scopes have an empty allowlist: nothing is sent
Not covered Traffic the server does not address itself: forwarding an intercepted browser request, starting an Automate session, running a workflow

A host is in scope when one scope's allowlist matches it and that scope's denylist does not, the same rule caido_is_in_scope reports. Scopes are read on every send, so a change you make in Caido applies to the next request. A refused target is refused before any Replay session is created.

Opt-in plugin backend calls

By default caido_call_plugin is not registered. Opt in for specific installed plugin packages or functions with --plugins (or CAIDO_MCP_PLUGINS):

caido-mcp-server serve --plugins quickssrf:createSession,quickssrf:getInteractions

caido_call_plugin is enforced against the resolved package manifestId, capped at 1 MiB output, blocks HTTP redirects, checks backend.enabled, and is always withheld under --read-only and --enforce-scope.

Managing Context

serve --toolsets core --compact cuts the advertised tool list to ~27.8 KB, and opt-in serve --code-mode replaces all 78 tools with 2 tools (caido_search + caido_execute, 3.4 KB tool list) over a QuickJS-NG WASM sandbox (see Toolsets and Code Mode).

Toolsets

Every MCP client loads the full tool list into the model's context at the start of a session. With all 78 tools that list is about 107 KB (wire JSON). Three options shrink it:

  • --toolsets (or CAIDO_MCP_TOOLSETS) registers only the toolsets you name, comma separated.
  • --compact (or CAIDO_MCP_COMPACT=1) leaves the output schemas out of the list. Results still carry structured content.
  • --code-mode (or CAIDO_MCP_CODE_MODE=1) replaces the full tool list with 2 tools (caido_search and caido_execute) over an isolated QuickJS-NG WASM sandbox.
Configuration Tools Tool list (stdio JSON)
default 78 107.3 KB
--compact 78 70.6 KB
--toolsets core --compact 31 27.8 KB
--code-mode 2 3.4 KB (+ 5.1 KB instructions)
Toolset Tools
history Captured HTTP traffic: list, read, diff, sitemap, body conversion
replay Send requests, replay sessions and collections, session cookie jars
websocket WebSocket history and WebSocket replay
race Race pipelines and the raw-socket race window
scopes List, check, create, change and delete scopes
findings List, create, delete and export findings
automate Automate sessions, entries and task control
intercept Intercept queue and TLS pass-through options
tamper Match & Replace rules
workflows List, run and toggle workflows
environments Environments and their variables
admin Instance, projects, filter presets, hosted files, tasks, plugins
core Shorthand for history,replay,scopes,findings
{
  "mcpServers": {
    "caido": {
      "command": "caido-mcp-server",
      "args": ["serve", "--toolsets", "core,websocket", "--compact"],
      "env": {
        "CAIDO_URL": "http://127.0.0.1:8080"
      }
    }
  }
}

Toolsets combine with --read-only, --enforce-scope, --plugins, and --code-mode. An unknown toolset name stops the server with the list of valid names. With a toolset selection the server instructions name no specific tool, since which tools exist is then your choice.

Code Mode

Start the server with --code-mode (or CAIDO_MCP_CODE_MODE=1) to advertise 2 tools - caido_search (ranked TypeScript signatures) and caido_execute (sandboxed JavaScript) - instead of the full 78-tool surface. Up-front context drops from ~109 KB to ~8.4 KB (-92%), and multi-step loops, filtering, and decoding stay inside one call instead of flooding the model's context window.

{
  "mcpServers": {
    "caido": {
      "command": "caido-mcp-server",
      "args": ["serve", "--code-mode", "--enforce-scope"],
      "env": {
        "CAIDO_URL": "http://127.0.0.1:8080"
      }
    }
  }
}

Scripts run inside a fresh QuickJS-NG WebAssembly runtime (Wazero, pure Go, zero CGO) pinned to an empty read-only WASI directory (no host filesystem, env, exec, or direct network access), calling the inner MCP tools registered with the exact same --enforce-scope, --read-only, --toolsets, and --plugins options.

Built-in sandbox globals:

  • caido.* - every registered tool in both camelCase and snake_case, plus caido.readResource(uri)
  • util.* - base64Encode/Decode, urlEncode/Decode, hexEncode/Decode, sha256, jwtDecode
  • store.* - per-server 2 MiB in-memory scratchpad (get, set, delete, keys, clear; auto-cleared on selectProject)
  • console.log - captured in output logs

Operator-only guardrail flags (env vars CAIDO_MCP_EXEC_*; the model cannot raise any ceiling):

Flag Default Purpose
--exec-max-calls 50 Max caido.* invocations per script
--exec-max-requests 100 Weighted outbound HTTP/WS request cap (requests.length for batch/race tools)
--exec-timeout 30s Hard execution timeout (script timeoutSec may only lower it)
--exec-max-memory-mb 64 Hard QuickJS heap cap inside WASM
--exec-max-output-bytes 32768 Cap on serialized result + logs
--exec-audit-log (off) Optional JSONL audit log path (summary always logged to stderr)

You can run the same sandboxed scripts from your terminal with caido-cli exec:

caido-cli exec --search "replay"
caido-cli exec -c 'const r = await caido.listRequests({ limit: 5 }); return r.requests.map(x => x.path);'
caido-cli exec sweep.js --enforce-scope --json

MCP Reference

MCP Tools

78 tools are registered by default. --code-mode replaces them with 2.

Tool Description
caido_list_requests List requests with HTTPQL filter, scope, ordering and pagination; returns the filter's total count. snippet shows regex hits in bodies and headers without returning them
caido_get_request Get request details (metadata, headers, body). 2KB body limit default; binary bodies come back as base64
caido_diff_responses Structural diff of two responses by Caido request ID: status/size change flags and a compact body/header summary (never dumps full bodies)
caido_send_request Send HTTP request via Replay, returns response inline. Polls up to 10s. Auto-injects session cookies and persists Set-Cookie (toggle with useCookieJar)
caido_batch_send Send multiple requests in parallel (BAC sweeps, parameter fuzzing, endpoint sweeps). Max 50 per batch
caido_edit_request Modify and resend an existing request. Preserves auth/cookies while changing method, path, headers, or body
caido_export_curl Convert a request to an executable curl command for PoC reports
caido_create_replay_session Create a named replay session, optionally seed with a request
caido_list_replay_sessions List replay sessions with kind (http, ws, pipeline) and collection
caido_delete_replay_sessions Bulk delete replay sessions by ID
caido_move_replay_session Move a session to a different collection
caido_rename_replay_session Rename a replay session (tab title)
caido_get_replay_entry Get HTTP or WebSocket replay entry (redacted request/handshake, response, WS draft and recorded frames). 2KB body limit default; binary bodies come back as base64
caido_clear_session_cookies Wipe the in-memory cookie jar for a replay session
caido_get_session_cookies List metadata for cookies stored in a session jar matching a URL (values not returned)
caido_list_replay_collections List replay session collections
caido_create_replay_collection Create a named replay collection
caido_rename_replay_collection Rename a replay collection
caido_delete_replay_collection Delete a replay collection
caido_list_automate_sessions List fuzzing sessions
caido_get_automate_session Get session details with entry list
caido_get_automate_entry Get fuzz results and payloads
caido_automate_task_control Start/pause/resume/cancel fuzzing tasks
caido_list_findings List security findings
caido_create_finding Create finding linked to a request
caido_delete_findings Delete findings by IDs or reporter name
caido_export_findings Export findings for reporting
caido_get_sitemap Browse the sitemap tree: root domains, children, or a whole subtree, with optional request counts
caido_list_scopes List target scopes
caido_is_in_scope Check whether a host or URL is in the project scope; returns the matching scope and the allow/deny rule that decided it
caido_create_scope Create new scope with allow/deny lists
caido_rename_scope Rename a scope
caido_update_scope Change a scope's name, allowlist or denylist; addAllow / addDeny append without restating the lists
caido_delete_scope Delete a scope
caido_list_projects List projects, marks current
caido_select_project Switch active project
caido_create_project Create a new project
caido_rename_project Rename a project
caido_delete_project Delete a project
caido_list_workflows List automation workflows
caido_run_workflow Execute an active or convert workflow
caido_toggle_workflow Enable or disable a workflow
caido_list_tamper_rules List Match & Replace rule collections
caido_create_tamper_rule Create a tamper rule in a collection
caido_update_tamper_rule Update an existing tamper rule
caido_test_tamper_rule Dry-run a tamper rule against a raw request
caido_toggle_tamper_rule Enable or disable a tamper rule
caido_delete_tamper_rule Delete a tamper rule
caido_get_instance Get Caido version and platform info
caido_intercept_status Get intercept status (PAUSED/RUNNING)
caido_intercept_control Pause or resume intercept
caido_list_intercept_entries List queued intercept entries with HTTPQL filtering
caido_forward_intercept Forward intercepted request, optionally with modifications
caido_drop_intercept Drop intercepted request
caido_list_environments List environments and their variables
caido_select_environment Switch active environment
caido_update_environment Set, overwrite or delete environment variables by name, or rename the environment. Returns names and kinds, never values
caido_create_environment Create a new environment
caido_delete_environment Delete an environment
caido_list_filters List saved HTTPQL filter presets
caido_create_filter Save an HTTPQL query as a named filter preset
caido_delete_filter Delete a filter preset
caido_list_hosted_files List hosted payload files
caido_list_tasks List running background tasks
caido_cancel_task Cancel a running task by ID
caido_list_plugins List installed plugin packages with manifestId and backend state (id, enabled, running, error)
caido_list_ws_streams List WebSocket streams (connections) from the WebSocket tab
caido_list_ws_messages List WebSocket frames for a stream (direction/format/decoded body)
caido_ws_connect Open a WebSocket through a WS Replay session (url + headers/subprotocols, raw, or a history request); logged in history (Caido 0.59+)
caido_ws_send Send frames in order on a session's open WebSocket
caido_ws_read Long-poll a session's WebSocket for new (pushed) frames, with until/skip rules and a resume cursor
caido_ws_close Close a session's open WebSocket
caido_set_ws_message_draft Stage a pending text or base64 message draft on a WebSocket replay entry (Caido 0.59+)
caido_clear_ws_message_draft Remove the pending message draft from a WebSocket replay entry (Caido 0.59+)
caido_convert_body Convert a request body between JSON, form-urlencoded, XML, and multipart
caido_race_pipeline Race requests through a Caido Replay Pipeline (single-packet, last-byte or sequential; Caido 0.59+); logged in history
caido_race_window_send Fire raw HTTP/1.1 requests with synchronized last-byte send for race-condition testing (bypasses Caido proxy)
caido_passthrough_options Read or update pass-through options (tunnel without recording; keep history to in-scope only; Caido 0.59+)

Opt-in MCP Tools (not registered by default):

Tool Flag Description
caido_search --code-mode Search registered caido.* methods and return compact TypeScript signatures
caido_execute --code-mode Execute a sandboxed JS script against the inner Caido tools with util.* and store.*
caido_call_plugin --plugins Call an operator-allowlisted plugin backend function (withheld under --read-only / --enforce-scope)
MCP Resources

Read-only data exposed via the MCP resources protocol. Agents can read these without consuming tool calls.

URI Description
caido://requests/{id} Full HTTP request and response for a given request ID
caido://replay-sessions/{id} Replay session details with entry list
caido://sitemap Root domains from the sitemap
caido://findings Security finding summaries (up to 100)
caido://scopes All target scopes with their allow/deny rules
caido://project Current project, instance version, and connection status
Response details
Session cookie jar

The caido_send_request tool maintains an in-memory http.CookieJar per replay session. Cookies set via Set-Cookie in any response are stored and auto-injected into subsequent requests targeting the same RFC 6265 domain/path. Pass useCookieJar: false to a single call to disable injection (useful for session-fixation testing or to verify auth gates). Use caido_clear_session_cookies to wipe a session jar between test runs and caido_get_session_cookies to introspect what is stored (cookie values are not returned, only metadata).

The output of caido_send_request includes a cookieJar block with injectedCookies (names sent on this call) and storedCookies (names captured from Set-Cookie), so the LLM can verify the chain stayed authenticated.

Response fingerprinting

Every caido_send_request / caido_batch_send response includes a compact fingerprint so an agent can reason about a response without the full body:

  • title - HTML <title>, if present
  • redirectTarget - Location target on a 3xx
  • setCookies - names set via Set-Cookie (values are never included)
  • wordCount - body word count, for size/diff comparison
  • notableHeaders - non-standard response headers (Server, X-Powered-By, custom X-*). App and flag signal often hides here - check these on every response, including 4xx/5xx.

The fingerprint stays populated even when includeBody: false.

Parameter reference
caido_list_requests
Parameter Type Description
httpql string HTTPQL filter query (Caido 0.58+: req.header["Name"].cont:"x", resp.body.cont:"x")
limit int Max requests (default 20, max 100)
after string Pagination cursor
orderBy string Sort field: id, createdAt, host, method, path, query, fileExtension, source, statusCode, roundtripTime, responseLength. Omit for Caido's default order
order string asc or desc (default desc when orderBy is set; desc without orderBy sorts by id, i.e. newest first)
scopeId string Only requests inside this scope (ID from caido_list_scopes); totalCount then counts in-scope matches
snippet object Regex scan over the returned rows: {regex, context, maxPerRequest, parts}. parts is any of responseBody (default), requestBody, responseHeaders, requestHeaders
fields string[] Extra per-row fields: createdAt, host, path, query, source, responseLength, roundtripTime

totalCount in the response is every request matching httpql, not just the rows on the page, so {"httpql": "...", "limit": 1} counts matches in one call. The newest N is {"limit": N, "order": "desc"}. nextCursor keeps the requested order, so after pages contiguously.

snippet finds a value without pulling bodies into the model's context: each returned row gets up to 3 matches (max 10), each with its part, byte offset and an excerpt (40 bytes each side by default, max 200). httpql still selects the rows; the scan only annotates them, searching up to 1 MiB per part. Header parts are searched after credential redaction, so a snippet cannot return an Authorization, Cookie or Set-Cookie value. Rows that did not come from the proxy always carry source (REPLAY, AUTOMATE, WORKFLOW, PLUGIN, IMPORT).

caido_get_request
Parameter Type Description
ids string[] Request IDs (required)
include string[] requestHeaders, requestBody, responseHeaders, responseBody
bodyOffset int Byte offset
bodyLimit int Byte limit (default 2000)
bodyEncoding string auto (default), text or base64

With auto, a UTF-8 body comes back as text in body and anything else as base64 in bodyBase64 with bodyEncoding: "base64", the full bodySize and the slice's bodyOffset, so images, protobuf and compressed bodies can be rebuilt byte for byte. bodyOffset and bodyLimit count bytes. A character cut by bodyLimit is returned whole with the page it starts in, so paging with bodyOffset += bodyLimit loses nothing.

caido_get_sitemap
Parameter Type Description
parentId string Entry to list children of. Omit for root domains
depth string With parentId: direct (default) or all for the whole subtree
limit int Max entries to return. Caido has no cursor here, so this truncates locally and sets truncated; totalEntries is the full count
includeRequestCounts bool Add requestCount per entry and, on root domains, capturedRequests

A root domain is one host on one port and scheme, so rows carry port and isTls and the same label can appear more than once. capturedRequests is the number of captured requests for that host, port and scheme. Counts cost one lookup per entry, so pair includeRequestCounts with limit on a large project.

Read the rest of the Caido README on GitHub

Questions about Caido

What is the Caido MCP server?

MCP server for Caido proxy integration. Enables AI assistants like Claude Code to browse, analyse, and interact with HTTP traffic. Caido is maintained by c0tton-fluff on GitHub at c0tton-fluff/caido-mcp-server, and works with AI apps that support the Model Context Protocol, such as Claude, Cursor and VS Code.

How do I install the Caido MCP server?

Caido doesn't publish a one-line install in the MCP registry, so follow the setup steps in its README on GitHub (c0tton-fluff/caido-mcp-server). Like most servers, Caido ends with a command or URL you paste into your AI app's MCP config.

Does Caido need an API key?

The registry lists no required keys for Caido. Check the Caido README for optional settings, and expect a remote server to ask you to sign in the first time you connect.

Is Caido an official MCP server?

No. Caido is a community server maintained by c0tton-fluff. Community servers can be excellent; read the code and the open issues before you give Caido access to company data.

What license is Caido under?

Caido is released under the MIT license, according to its GitHub repository. The license covers the code of Caido; the service it connects to has its own terms.