MCP server · Org-owned · Audited from source
caddy-mcp
by yawlabs/caddy-mcpMIT licenceAudited 10 Oct 2026 · source 49846756e638
Is it safe? With care — CAUTION, grade B (85/100). It exposes 18 tools: 12 read, 4 write and 2 destructive. The audit recorded 16 findings (0 critical, 1 high, 1 medium, 14 low). Maintainer's description: Caddy admin API MCP server, complete coverage of config, routes, reverse proxies, TLS, PKI, and metrics, ETag-safe
Cite
Cite this page
ModelsAtlas. “caddy-mcp (YawLabs/caddy-mcp)”. Retrieved 10 Oct 2026. https://modelsatlas.com/mcp/yawlabs/caddy-mcp
Trust audit
Audit 0.4.1 · full source read 10 Oct 2026
16 findings, listed below with the file and line each was found on. Grade A needs a sandboxed behavioural run too; this audit read the source only.
What the source does
- FilesystemDeclared2 observations
- NetworkDeclared7 observations
- ShellDeclared5 observations
- DependenciesNot pinnedSome ranges float
- SecretsNone foundNo keys in source
“Declared” means the server says it does this and the source agrees. Browser, file and shell access are expected of some kinds of server.
Five audit layers
| Layer | What we check | Result |
|---|---|---|
L0 Provenance | Repo owner, licence, archive status, activity | PASS |
L1 Static source | Secrets, path traversal, supply chain | FAIL 14 findings |
L2 Instructions | Prompt injection and authority framing in docs and tool descriptions | PASS 1 finding |
L3 Inventory | Declared tools match the source | WARN 1 finding |
L4 Sandbox | Run in isolation and watch behaviour | SKIPPED |
Provenance & runtime
Who published it, and what the audit could and could not run
Provenance
- Repository owner
yawlabsOrganizationAccount type recorded when we read the repository. - PackagePublished on npm
@yawlabs/caddy-mcpat version 2.6.0 - LicenceMITFrom the repository, as read at the audited commit.
- Last push1 day agoActivity of the repository when we read it.
- Source commit read49846756e638The audit covers exactly this commit, read on 10 Oct 2026.
Runtime
- Sandbox runNot run yetThis audit read the source only; it did not execute the server.
- Tool inventory18 declaredRead from the source and classed read, write or destructive.
Every value here is read from the record's own repository and audit.Suggest a correction
Findings (16)
Sorted by severity
HIGHFilesystem / pathfs.credential_store · scripts/update-manifests.mjs:225
const SSH = "ssh -i ~/.ssh/gh_woods -o IdentitiesOnly=yes";
- Why
- touches a credential store
- Fix
- —
MEDIUMFilesystem / pathmcp.destructive_tools
caddy_config_delete, caddy_remove_route
- Why
- 2 tool(s) can delete or overwrite
- Fix
- prefer a read-only mode or scoped tokens; the page states the blast radius
LOWCode injectioncode.eval_exec · src/tests/launcher.test.ts:219
return new Function(`${pieces}\nreturn runtimePlan;`)() as RuntimePlan;- Why
- evaluates text as code
- Fix
- remove; use a parser or a dispatch table
LOWCode injectioncode.eval_exec · src/tests/launcher.test.ts:225
return new Function(`${pieces}\nreturn { pickNewest, floor: OAM_MIN };`)() as {- Why
- evaluates text as code
- Fix
- remove; use a parser or a dispatch table
LOWFilesystem / pathfs.traversal · src/tests/api.test.ts:920
const res = await api.configByIdGet("my-route", "../../load");- Why
- No further detail recorded for this rule.
- Fix
- —
LOWFilesystem / pathfs.traversal · src/tests/api.test.ts:2812
["configByIdSet", (a: typeof import("../api.js")) => a.configByIdSet("my-route", {}, "PATCH", "../../load")],- Why
- No further detail recorded for this rule.
- Fix
- —
LOWFilesystem / pathfs.traversal · src/tests/api.test.ts:2813
["configByIdDelete", (a: typeof import("../api.js")) => a.configByIdDelete("my-route", "../../stop")],- Why
- No further detail recorded for this rule.
- Fix
- —
LOWFilesystem / pathfs.traversal · src/tests/integration.test.ts:1282
{ apps: { http: { servers: { "../../..": { "@id": "deep", listen: [":18887"], routes: [] } } } } },- Why
- No further detail recorded for this rule.
- Fix
- —
LOWFilesystem / pathfs.traversal · src/tests/integration.test.ts:1311
routes: [{ handle: [{ handler: "vars", "../../../../../../../../../load": { "@id": "toload" } }] }],- Why
- No further detail recorded for this rule.
- Fix
- —
LOWNetwork egressnet.raw_ip · CHANGELOG.md:1059
`CADDY_ADMIN_URL` (default `http://127.0.0.1:2019`) with host and port both
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWNetwork egressnet.raw_ip · src/tests/api.test.ts:2708
process.env.CADDY_ADMIN_URL = `http://127.0.0.1:${port}`;- Why
- No further detail recorded for this rule.
- Fix
- —
LOWNetwork egressnet.raw_ip · src/tests/api.test.ts:3554
process.env.CADDY_ADMIN_URL = `http://127.0.0.1:${port}`;- Why
- No further detail recorded for this rule.
- Fix
- —
LOWNetwork egressnet.raw_ip · src/tests/api.test.ts:3782
expect(res.error).toBe(`Cannot connect to Caddy admin API at http://127.0.0.1:${srv.port} — is Caddy running?`);- Why
- No further detail recorded for this rule.
- Fix
- —
LOWNetwork egressnet.raw_ip · src/tests/api.test.ts:3812
expect(res.error).toBe(`Cannot connect to Caddy admin API at http://127.0.0.1:${port} — is Caddy running?`);- Why
- No further detail recorded for this rule.
- Fix
- —
LOWSupply chainsupply.unpinned · package.json
@modelcontextprotocol/sdk, zod, @biomejs/biome, @types/node, esbuild, postject, tsup, typescript
- Why
- 9 dependency range(s) float
- Fix
- pin exact versions or ship a lockfile
LOWPrompt injectionprompt.transfer_instruction · CHANGELOG.md:72
SDK's OAuth client could send credentials to an authorization server chosen by
- Why
- an instruction to move sensitive data to an outside destination
- Fix
- remove; a skill never needs the user's secrets off the machine
Tools it exposes
18 declared in source · 2 destructive
2 tools can delete or overwrite. An agent that can be talked into calling a tool can be talked into calling this one, so give it a token scoped to what you need.
| Tool | Risk | What it does |
|---|---|---|
caddy_config_delete | destructive | Delete config at a JSON path. Removes the config node at the specified path. Deleting a parent node also deletes every descendant -- e.g. deleting |
caddy_remove_route | destructive | Remove a route. Target by @id (preferred — stable across reorderings) or by array index on a specific server. Index-based removal is a two-step read-then-delete and can race against concurrent edits; prefer @id when possible. |
caddy_add_route | write | Add a route with full control over match conditions and handlers. Supports any Caddy handler (reverse_proxy, file_server, static_response, redirect, encode, headers, etc.). |
caddy_config_set | write | Write config at a JSON path. Mode |
caddy_reverse_proxy | write | Add a reverse proxy route. The most common operation — just specify where traffic comes from and where it goes. Example: from= |
caddy_stop | write | Gracefully shut down the Caddy server. Requires confirm=true to prevent accidental shutdown. |
caddy_adapt | read | Convert a config in any registered adapter format to Caddy JSON without loading it. Useful for previewing what a Caddyfile produces, or for porting from nginx/yaml configs when Caddy is built with the matching adapter module ( |
caddy_config_by_id | read | Access config by @id tag. Any config object with an |
caddy_config_get | read | Read Caddy config at any JSON path. Returns the full config when path is empty, or a subtree at a specific path (e.g., |
caddy_list_routes | read | List all routes on a Caddy HTTP server with a human-readable summary of matchers and handlers, followed by the raw route JSON. |
caddy_list_servers | read | List all configured HTTP servers with their names, listen addresses, route counts, and TLS status. Use this to discover server names before calling route tools. |
caddy_load | read | Replace the entire Caddy configuration atomically. Accepts a JSON config object, or a Caddyfile string with format= |
caddy_metrics | read | Get Prometheus metrics from Caddy. Shows request counts, durations, TLS handshake stats, active connections, and more. |
caddy_pki | read | Get PKI certificate authority info or the CA certificate chain. |
caddy_revert | read | Manage config snapshots for rollback. Snapshots are auto-captured before caddy_load, and before a caddy_config_delete |
caddy_status | read | Check Caddy connectivity and get a config summary: servers, routes, listen addresses, and TLS status. |
caddy_tls | read | Get or configure TLS/HTTPS settings. Actions: |
caddy_upstreams | read | Caddy |
Install
Package version 2.6.0 · audited commit 4984675
Read the findings first. The most severe is Filesystem / path (high) at scripts/update-manifests.mjs.
claude mcp add caddy-mcp -- npx -y @yawlabs/[email protected]
The command pins the package version recorded in the source (2.6.0); the audit covers commit 49846756e638. Transport: stdio. Reads these environment variables: CADDY_API_TOKEN, GH_TOKEN, GITHUB_TOKEN. Give it the narrowest token it needs.
Audit history
- !CAUTION B 85 / 100
First audit ·
49846756e638
README badge
For maintainers · updates on every re-audit
[](https://modelsatlas.com/mcp/yawlabs/caddy-mcp/)
The badge always shows the latest audit; a maintainer cannot pin an old verdict.
Other ratings
Cited, never blended into our score
No third-party security ratings are recorded for this server yet. When they exist they appear here with their source and date, beside, not inside, our grade.
Questions about caddy-mcp
What is the caddy-mcp MCP server?
What tools does caddy-mcp expose?
Is caddy-mcp safe to connect to an agent?
What credentials does caddy-mcp need?
How does caddy-mcp run?
How current is this page?
Sources
- YawLabs/caddy-mcp on GitHub — the source we read, its licence, stars and activityObserved · 10 Oct 2026
- ModelsAtlas trust audit — CAUTION verdict for commit 49846756e638Observed · 10 Oct 2026
Spotted something wrong? Report a correction · Methodology
Keep going in your AI
Opens with this page as the source. We add nothing else to the prompt.
- What is the caddy-mcp MCP server?
- What tools does caddy-mcp expose?
- Is caddy-mcp safe to connect to an agent?