Back to Browse

Caido MCP Server

Developer ToolsModerate5.3MCP RegistryLocal
Free

Server data from the Official MCP Registry

Inspect Caido HTTPQL traffic, scopes, projects, filter presets, and security findings via MCP.

About

Inspect Caido HTTPQL traffic, scopes, projects, filter presets, and security findings via MCP.

Security Report

5.3
Moderate5.3Moderate Risk

The caido-mcp server is a Developer Tools MCP server that queries a local or remote Caido instance over GraphQL, requiring a Personal Access Token or Bearer token for auth, with read-only lock, dry-run mutations, and header redaction. Permissions (network_http to the configured Caido URL, env_vars for credentials, file_read/file_write for an optional token cache at 0600) match its stated purpose. Review is partial since the client.js source is truncated; the README's GitHub-install instructions and unpinned dependencies are worth noting but do not indicate malicious behavior. Supply chain analysis found 6 known vulnerabilities in dependencies (0 critical, 4 high severity).

6 files analyzed · 10 issues found

Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.

Permissions Required

This plugin requests these system permissions. Most are normal for its category.

HTTP Network Access

Connects to external APIs or services over the internet.

env_vars

Check that this permission is expected for this type of plugin.

File System Read

Reads files on your machine. Normal for tools that analyze or process local data.

File System Write

Writes or modifies files on your machine. Check that this is expected for the tool.

What You'll Need

Set these up before or after installing:

Base URL of your Caido instance (defaults to http://127.0.0.1:8080)Optional

Environment variable: CAIDO_URL

Caido Personal Access Token (caido_...) exchanged via @caido/server-authRequired

Environment variable: CAIDO_PAT

Direct Caido Bearer access token (alternative to CAIDO_PAT)Required

Environment variable: CAIDO_ACCESS_TOKEN

Set to 1 or true to hide and reject all mutating toolsOptional

Environment variable: CAIDO_READ_ONLY

How to Install

Install command not verified. See the repository for install instructions.

View repository

Documentation

View on GitHub

From the project's GitHub README.

caido-mcp

khoap1220-hue/caido-mcp MCP server MCPRush Grade-A

Model Context Protocol (MCP) server for Caido (GET /health + POST /graphql). Connect Claude Desktop, Cursor, Cline / VS Code, Windsurf, or n8n to your local or remote Caido instance to query captured HTTP traffic with HTTPQL, inspect raw request/response pairs, manage project scopes, and record structured security findings.

Built on the official @modelcontextprotocol/sdk stdio transport and @caido/server-auth Personal Access Token (caido_…) exchange, with JSON Schema 2020-12 validated tools, sensitive HTTP header redaction (CAIDO_REDACT_AUTH_HEADERS=1), preview-first mutations (confirm: false by default), and a hard read-only lock (CAIDO_READ_ONLY=1).


Features

  • Official Caido GraphQL & PAT contract: Supports both CAIDO_PAT (caido_… Personal Access Tokens exchanged and refreshed automatically via @caido/server-auth) and static/session CAIDO_ACCESS_TOKEN Bearer tokens against POST /graphql and GET /health.
  • JSON Schema 2020-12 & Anthropic API verified: Every tool's inputSchema is validated in CI with Ajv2020 (strict: true) and checked against Anthropic's strict tool-use schema rules.
  • Context-safe raw HTTP inspection & DLP: Decodes Base64 Request.raw / Response.raw payloads, masks Authorization, Cookie, Set-Cookie, and X-Api-Key header values by default (CAIDO_REDACT_AUTH_HEADERS=1), and bounds payload size via CAIDO_MAX_RAW_BYTES (default 8192).
  • Safe-by-default mutations: select_project, create_scope, and create_finding default to confirm: false (dry-run preview), and CAIDO_READ_ONLY=1 removes and blocks all write tools completely.

Tools

ToolCaido Endpoint / OperationModeDescription
get_instance_statusGET /health + query Viewer + query ProjectsReadInstance version, readiness, viewer identity/plan, and workspace project summary.
list_projectsquery ProjectsReadLists all Caido projects (id, name, status, size, version, readOnly).
select_projectmutation SelectProject($id)Write (confirm)Switches the active Caido workspace project. Hidden when CAIDO_READ_ONLY=1.
list_scopesquery ScopesReadLists target scopes with allowlist and denylist glob patterns.
create_scopemutation CreateScope($input)Write (confirm)Creates a target scope with allowlist and denylist rules. Hidden when CAIDO_READ_ONLY=1.
list_filter_presetsquery FilterPresetsReadLists saved HTTPQL and StreamQL filter presets (id, name, alias, clause).
list_requestsquery Requests($filter: HTTPQLInput, ...)ReadSearches captured HTTP history via Caido HTTPQL, scopeId, cursor pagination, and sort order.
get_requestquery Request($id)ReadFetches a full HTTP request & response by ID with Base64 decoding and header DLP redaction.
list_findingsquery FindingsReadPaginated security findings with optional reporter filter and sort ordering.
create_findingmutation CreateFinding($requestId, $input)Write (confirm)Attaches a structured security finding (title, reporter, description, dedupeKey) to a request. Hidden when CAIDO_READ_ONLY=1.

Environment Variables

VariableRequiredDefaultDescription
CAIDO_URLNohttp://127.0.0.1:8080Base URL of your local or remote Caido instance.
CAIDO_PATOne of CAIDO_PAT / CAIDO_ACCESS_TOKEN—Caido Personal Access Token (caido_…) for automatic device-flow auth & refresh.
CAIDO_ACCESS_TOKENOne of CAIDO_PAT / CAIDO_ACCESS_TOKEN—Direct Bearer access token (for offline/CI or pre-authenticated sessions).
CAIDO_TOKEN_CACHE_PATHNo—Optional file path to cache PAT-exchanged tokens (0600 permissions).
CAIDO_ALLOW_NO_AUTHNo0Set to 1 only when connecting to a local Caido instance started with --no-auth.
CAIDO_READ_ONLYNo0Set to 1 or true to hide and block all mutating tools.
CAIDO_REDACT_AUTH_HEADERSNo1Masks Authorization, Cookie, Set-Cookie, and X-Api-Key values in raw HTTP payloads.
CAIDO_MAX_RAW_BYTESNo8192Maximum decoded bytes per raw HTTP request/response (256–262144).
CAIDO_TIMEOUT_MSNo15000Per-request HTTP timeout in milliseconds (1000–120000).

Client Configuration

Claude Desktop (claude_desktop_config.json)

{
  "mcpServers": {
    "caido": {
      "command": "npx",
      "args": ["-y", "github:khoap1220-hue/caido-mcp"],
      "env": {
        "CAIDO_URL": "http://127.0.0.1:8080",
        "CAIDO_PAT": "caido_your_pat_here"
      }
    }
  }
}

Cursor (.cursor/mcp.json)

{
  "mcpServers": {
    "caido": {
      "command": "npx",
      "args": ["-y", "github:khoap1220-hue/caido-mcp"],
      "env": {
        "CAIDO_URL": "http://127.0.0.1:8080",
        "CAIDO_PAT": "caido_your_pat_here"
      }
    }
  }
}

Cline / VS Code (.vscode/mcp.json)

{
  "servers": {
    "caido": {
      "type": "stdio",
      "command": "npx",
      "args": ["-y", "github:khoap1220-hue/caido-mcp"],
      "env": {
        "CAIDO_URL": "http://127.0.0.1:8080",
        "CAIDO_PAT": "caido_your_pat_here"
      }
    }
  }
}

Windsurf (~/.codeium/windsurf/mcp_config.json)

{
  "mcpServers": {
    "caido": {
      "command": "npx",
      "args": ["-y", "github:khoap1220-hue/caido-mcp"],
      "env": {
        "CAIDO_URL": "http://127.0.0.1:8080",
        "CAIDO_PAT": "caido_your_pat_here"
      }
    }
  }
}

n8n (MCP Client Tool Node — Command-line / Stdio)

FieldValue
Connection TypeCommand Line (STDIO)
Commandnpx
Arguments-y github:khoap1220-hue/caido-mcp
EnvironmentCAIDO_URL=http://127.0.0.1:8080,CAIDO_PAT=caido_your_pat_here

Development & Verification

Requires Node.js >= 20.

npm install
npm run lint
npm run typecheck
npm run build
npm test

License

MIT © 2026 Khoa Phan


Custom Enterprise MCP & Webhook Engineering

Need a production-hardened MCP server (OAuth 2.1, tenant scoping, annotation mutation guards, Official Registry server.json + Glama Grade-A) or replay-safe Stripe/HubSpot/n8n webhook integration?

Reviews

No reviews yet

Be the first to review this server!