Live survey315 models · 14 providers · 23,592 auditsAudited implement · SAFE →What changedHow we verifyllms.txt

MCP server · Org-owned · Audited from source

caddy-mcp

by yawlabs/caddy-mcpMIT licenceAudited 10 Oct 2026 · source 49846756e638

npm @yawlabs/caddy-mcp 2.6.0stdio★ 11
!CAUTIONGrade B · 85/100 · 10 Oct 2026 · 4984675
11GitHub stars

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

Ask an AI about this pageGChatGPTCClaudePPerplexityGeGeminiXGrok
More
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

Trust score85/100!CAUTION B
0 critical1 high1 medium14 low0 info

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

LayerWhat we checkResult
L0 ProvenanceRepo owner, licence, archive status, activityPASS
L1 Static sourceSecrets, path traversal, supply chainFAIL 14 findings
L2 InstructionsPrompt injection and authority framing in docs and tool descriptionsPASS 1 finding
L3 InventoryDeclared tools match the sourceWARN 1 finding
L4 SandboxRun in isolation and watch behaviourSKIPPED

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-mcp at 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
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
const SSH = "ssh -i ~/.ssh/gh_woods -o IdentitiesOnly=yes";
Why
touches a credential store
Fix
—
MEDIUMFilesystem / pathmcp.destructive_tools
F-05 Filesystem / pathCWE-22 · CWE-59Layer L3
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
F-02 Code injectionCWE-78 · CWE-94 · CWE-95Layer L1
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
F-02 Code injectionCWE-78 · CWE-94 · CWE-95Layer L1
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
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
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
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
["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
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
["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
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
{ 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
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
routes: [{ handle: [{ handler: "vars", "../../../../../../../../../load": { "@id": "toload" } }] }],
Why
No further detail recorded for this rule.
Fix
—
LOWNetwork egressnet.raw_ip · CHANGELOG.md:1059
F-04 Network egressCWE-200 · CWE-319Layer L1
`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
F-04 Network egressCWE-200 · CWE-319Layer L1
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
F-04 Network egressCWE-200 · CWE-319Layer L1
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
F-04 Network egressCWE-200 · CWE-319Layer L1
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
F-04 Network egressCWE-200 · CWE-319Layer L1
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
F-08 Supply chainCWE-829 · CWE-1357Layer L1
@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
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
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

12 read4 write2 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.

ToolRiskWhat it does
caddy_config_deletedestructiveDelete 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_routedestructiveRemove 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_routewriteAdd 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_setwriteWrite config at a JSON path. Mode
caddy_reverse_proxywriteAdd a reverse proxy route. The most common operation — just specify where traffic comes from and where it goes. Example: from=
caddy_stopwriteGracefully shut down the Caddy server. Requires confirm=true to prevent accidental shutdown.
caddy_adaptreadConvert 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_idreadAccess config by @id tag. Any config object with an
caddy_config_getreadRead 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_routesreadList all routes on a Caddy HTTP server with a human-readable summary of matchers and handlers, followed by the raw route JSON.
caddy_list_serversreadList 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_loadreadReplace the entire Caddy configuration atomically. Accepts a JSON config object, or a Caddyfile string with format=
caddy_metricsreadGet Prometheus metrics from Caddy. Shows request counts, durations, TLS handshake stats, active connections, and more.
caddy_pkireadGet PKI certificate authority info or the CA certificate chain.
caddy_revertreadManage config snapshots for rollback. Snapshots are auto-captured before caddy_load, and before a caddy_config_delete
caddy_statusreadCheck Caddy connectivity and get a config summary: servers, routes, listen addresses, and TLS status.
caddy_tlsreadGet or configure TLS/HTTPS settings. Actions:
caddy_upstreamsreadCaddy

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

  1. !CAUTION B 85 / 100

    First audit · 49846756e638

README badge

For maintainers · updates on every re-audit

ModelsAtlas: CAUTION BMODELSATLASCAUTION · B
[![ModelsAtlas: CAUTION B](https://modelsatlas.com/mcp/yawlabs/caddy-mcp/badge.svg)](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?
Caddy admin API MCP server, complete coverage of config, routes, reverse proxies, TLS, PKI, and metrics, ETag-safe
What tools does caddy-mcp expose?
18 in total: 12 read-only, 4 that write, and 2 that can delete or overwrite (caddy_config_delete, caddy_remove_route). Every one is listed on this page with its risk.
Is caddy-mcp safe to connect to an agent?
With care. The audit graded it B (85/100) and found 16 things worth knowing before you trust this server, listed below with the exact line each was found on. Separately from the audit: 2 of its tools can destroy data, so scope the token you give it to what you actually need.
What credentials does caddy-mcp need?
It reads CADDY_API_TOKEN, GH_TOKEN and GITHUB_TOKEN from the environment. Give it a token scoped to the least it needs — an agent that can be talked into calling a tool can be talked into calling it with your credentials.
How does caddy-mcp run?
It speaks stdio, so it runs as a local process your client starts. It is published on npm as @yawlabs/caddy-mcp at 2.6.0.
How current is this page?
The grade is for one exact copy of the source (49846756e638), read on 2026-10-10. The repository is watched and re-audited when it changes.

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.