Caido MCP server: free AI proxy for authorised pentests
Caido MCP server is a free open-source tool that connects a local Caido web proxy to AI assistants through the Model Context Protocol, so a security engineer can ask an agent to search captured traffic, replay requests, diff responses and manage findings without leaving the chat. It is a community project, not affiliated with Caido, and it ships both an MCP server with 76 tools and a standalone CLI.
The standing theme behind this post is fully automated, agentic AI-driven cyber attacks. Google’s threat group has warned that fully automated, AI-driven attacks are moving from experiment to real intrusions, and the FBI has flagged autonomous frameworks being abused by criminals. Before an attacker points an agent at a target, defenders need the same class of capability pointed at a network they control. If you are weighing where your own agents can go, read about the wider shadow-AI risk inside enterprises first, and see how the open-source AI security engineer behind Spotlight built a similar sweep framework.
What the Caido MCP server does
The server talks to your local Caido instance over its GraphQL API. Once authenticated, an MCP client such as Claude Code or Cursor can call tools that read proxy history, send replayed requests, open WebSocket sessions, run race pipelines, control Automate fuzzing tasks, manage findings and browse the discovered sitemap. A compact mode cuts the advertised tool list from about 92 KB down to roughly 23 KB, so an agent spends less context before its first call.
Three safety features matter for a security team. Read-only mode registers only tools that read state, so a client cannot send traffic or change the project even when asked. Scope enforcement refuses any request to a host outside the project scope and withholds the tools that could move the boundary. And sensitive headers, including Authorization, Cookie and API keys, are redacted in every tool output by default, with an opt-out for authorised engagements.
The licence
Caido MCP server is distributed under the MIT Licence. MIT is permissive and allows use, modification and distribution, including commercially, provided the copyright and permission notices are retained. There is no warranty. The project is community-built and explicitly not affiliated with Caido, so review the code and assess the risks before installing it on any system.
Installing it on Linux
The project needs Go 1.25 or later, or you can use a pre-built binary. The quickest route is the install script:
The quickest route is the install script in the project repository. For a binary release, download the Linux amd64 or arm64 build from the project’s Releases page. To build from source:
git clone <repository-url>
cd caido-mcp-server
go build -o caido-mcp-server ./cmd/caido-mcp-server
Then authenticate against your local Caido instance. The recommended route is to copy the access token from the Caido GUI, open developer tools, run JSON.parse(localStorage.CAIDO_AUTHENTICATION).accessToken in the console tab, and pass it as CAIDO_ACCESS_TOKEN. Alternatively, run caido-mcp-server login for an OAuth device flow that refreshes the token automatically. Configure your MCP client with the server command, serve as the argument, and point CAIDO_URL at the address your local Caido instance listens on.
A concrete lab use case
Run this only against a target you own or have written permission to test. A sensible first target is a self-built web application lab on an isolated network, with Caido intercepting its traffic.
Start the server in read-only mode and ask your agent to list the captured requests, filter them with HTTPQL, and report which endpoints accept user input. Then switch to a second server with scope enforcement enabled and ask it to replay a single request with a modified parameter. Watch the tool return the response inline, with a compact fingerprint that shows the status, redirect target, cookie names and notable headers, so you can judge the finding without dumping a full body into the model context. Finally, create a finding for the confirmed issue and export it for your report.
The useful output is the evidence chain: the original request, the modified replay, the response fingerprint and the recorded finding. Compare a patched twin of the lab and watch the same replays fail closed. That is the discipline worth taking into a real assessment.
Risks and limits
- Data leakage. Sensitive headers are redacted by default, but the toggle exists for a reason. Keep
CAIDO_ALLOW_SENSITIVE_HEADERSoff except on an authorised engagement, and never point the server at a production system. - Prompt injection. An agent can be influenced by content it reads from proxy output. Treat every tool result as untrusted data and keep the agent behind explicit authorisation for anything that sends traffic.
- Hallucinated findings. The tool reports what it is told to report. A replayed response is real evidence, but an agent’s interpretation of it is not. Review every claim before it reaches a report.
- Licence limits. MIT permits reuse and commercial use with notice retention, and provides no warranty. The project is community-built, so there is no vendor support contract.
- What not to send it. No production credentials, customer data, real domain contents, or systems you are not authorised to test.
Use the Caido MCP server only against systems you own or have written permission to test. Using it against systems you do not have permission to test is unlawful.
Sources
- Caido MCP server repository
- MIT licence file
- Caido docs – Using a Caido MCP Server
- Hackers-Arise reference article – linked and credited; no text copied







