Caddy MCP Server

One click adds this to your local Yaw MCP config so it's available in every Yaw Terminal session. Or install manually below. Its 7 documented tools cover caddy, route.

People who work with caddy and route and want it reachable from Claude, Cursor, VS Code, or another MCP client. The project is written in TypeScript.

VERIFIED ACTIVE

LAST COMMIT 2026-09-30 · ★ 11 · #25 OF 292 MAINTAINED API INTEGRATION · VERIFIED 2026-09-30

MIT · TypeScript servers · how we verify → /methodology

01 · Install Caddy MCP Server

before you install - you'll need

The README does not document required environment variables for a basic install.

Claude Code

claude mcp add yawlabs-caddy-mcp -- npx -y @yawlabs/caddy-mcp

Claude Desktop / Cursor / VS Code - add to config

{
  "mcpServers": {
    "yawlabs-caddy-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@yawlabs/caddy-mcp"
      ]
    }
  }
}

Same JSON for Cursor. For VS Code, rename the top-level key from `mcpServers` to `servers`.

Using another client? Same JSON, different key

Claude Desktop · mcpServers

Cursor · mcpServers

VS Code · servers

Windsurf · mcpServers

Zed · context_servers

Cline · mcpServers

Roo Code · mcpServers

Continue · mcpServers

LibreChat · mcpServers

Gemini CLI · mcpServers

Codex CLI · mcp_servers

Full setup guides: every client.

02 · Evidence

Security posture

What to check before giving this server access to your agent - from the registry, GitHub, and our own probes. We don't score safety; we show what's verifiable.

runs as local process (stdio) - runs on your machine with your user's permissions

license MIT - declared in the repository

npm package @yawlabs/caddy-mcp - published under the repo owner's npm scope (@yawlabs)

registry namespace io.github.YawLabs is GitHub-verified and matches the repo owner

03 · What Caddy MCP Server can do

Prose above is summarized from the project's README and registry record - no invented capabilities.

What you can build

With this server connected, an agent can read config at any JSON path (or the full config), add a route with full match/handle control (any Caddy handler), and remove a route by @id (preferred) or by index. Requires confirm=true.

The 7 tools it gives your agent

Extracted from the project's README - what Caddy MCP Server lets an agent do.

caddy_config_get
- Read config at any JSON path (or the full config).
caddy_reverse_proxy
- Add a reverse proxy in one call: from='api.local' to=['localhost:3000']. Pass an optional id for idempotent writes - repeat calls replace the route in place ins
caddy_add_route
- Add a route with full match/handle control (any Caddy handler).
caddy_remove_route
- Remove a route by @id (preferred) or by index. Requires confirm=true.
caddy_list_routes
- Human-readable route summary. Defensive: never crashes on weird config.
caddy_pki
- CA info and certificate chains (default CA: local).
caddy_stop
- Graceful shutdown. Requires confirm=true to prevent accidents.

Latest releases

v2.5.8 · 2026-09-30

Changed · caddy_reverse_proxy is now annotated destructiveHint: true. With an id, it · replaces an existing route under that @id wholesale by a PATCH, including a subroute · holding a whole site's nested routes, which…

v2.5.7 · 2026-09-29

Changed · release.sh reads npm's per-version document · (registry.npmjs.org/@yawlabs%2Fcaddy-mcp/<version>) for every "is this · version on npm?" check instead of npm view, whose whole-package document · Cloudflare's…

v2.5.6 · 2026-09-25

Security · caddy_config_by_id no longer replaces or unloads the entire config, or reaches other · admin endpoints, ungated. Fixes #60, · the sibling of · GHSA-6859-g3p8-jc93. · Where /id/<id> goes is decided by Caddy's…

04 · Who maintains Caddy MCP Server

Caddy MCP Server is maintained by yawlabs. We track 12 MCP servers from yawlabs - 12 actively maintained, 80 combined GitHub stars, oldest repo from Apr 2026. Full record: all servers from yawlabs.

  1. ctxlint Lint AI agent context files (CLAUDE.md, AGENTS.md, etc.) against your actual codebase ★ 9
  2. PostgreSQL MCP Server PostgreSQL MCP server - query, schema introspection, explain, and health checks for AI assistants ★ 6
  3. Tailscale MCP Server Tailscale MCP server for managing your tailnet from AI assistants ★ 30
  4. Yaw Labs AWS MCP AWS MCP server - call any AWS API from AI assistants, with first-class SSO re-login ★ 5
  5. MCP Compliance CLI tool and MCP server that tests MCP servers for spec compliance ★ 2
  6. Fetch MCP Server HTTP fetch MCP server: SSRF protection, HTML-to-markdown, reader mode, metadata extraction ★ 2

05 · Facts

category
API integration - ranked #25 of 292 actively-maintained API integration servers as of 2026-09-30.
release cadence
10+ releases in the last 90 days (latest 2026-09-30)
registry
io.github.YawLabs/caddy-mcp (active, first published 2026-05-15 · 28 versions)
packages
npm:@yawlabs/caddy-mcp

06 · Caddy MCP Server FAQ

Is Caddy MCP Server still maintained?

Yes - as of 2026-09-30, its last commit was 2026-09-30 and it shipped 10+ releases in the last 90 days. We re-verify nightly.

What can Caddy MCP Server do?

With this server connected, an agent can read config at any JSON path (or the full config), add a route with full match/handle control (any Caddy handler), and remove a route by @id (preferred) or by index. Requires confirm=true.

How do I install Caddy MCP Server?

Run `npx -y @yawlabs/caddy-mcp`. The README does not document required environment variables for a basic install. You can also paste the ready-made client config above.

Does Caddy MCP Server run locally?

Yes - it's a stdio server: it runs on your machine (via npx) with your user's permissions. Your data stays local unless the server itself calls external APIs.

07 · Alternatives to Caddy MCP Server