Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
mcp-shield
command
Command gateway is mcp-shield: run with no arguments (or "serve") to start the proxy+API daemon, or with a subcommand (servers, manifests, approve, reject, diff) to act as the `mcp-shield` CLI against a running gateway's API.
|
Command gateway is mcp-shield: run with no arguments (or "serve") to start the proxy+API daemon, or with a subcommand (servers, manifests, approve, reject, diff) to act as the `mcp-shield` CLI against a running gateway's API. |
|
mcp-shield-testserver
command
Command server is a fake MCP server used to exercise mcp-shield's manifest/diff/approval pipeline.
|
Command server is a fake MCP server used to exercise mcp-shield's manifest/diff/approval pipeline. |
|
internal
|
|
|
api
Package api exposes the HTTP approval API (and the server-rendered dashboard that sits on top of it) on the gateway's :8081 listener.
|
Package api exposes the HTTP approval API (and the server-rendered dashboard that sits on top of it) on the gateway's :8081 listener. |
|
app
Package app wires the gateway's components (store, approval workflow, proxy, API/dashboard) into one runnable process.
|
Package app wires the gateway's components (store, approval workflow, proxy, API/dashboard) into one runnable process. |
|
approval
Package approval implements the manifest approval state machine: the hard part of mcp-shield isn't hashing JSON, it's deciding "is this capability change acceptable?" and never letting that decision be bypassed or silently reversed.
|
Package approval implements the manifest approval state machine: the hard part of mcp-shield isn't hashing JSON, it's deciding "is this capability change acceptable?" and never letting that decision be bypassed or silently reversed. |
|
database
Package database provides SQLite-backed storage for servers, manifests, and approval records.
|
Package database provides SQLite-backed storage for servers, manifests, and approval records. |
|
diff
Package diff compares two manifests and reports what was added, removed, or changed so a human approver can judge whether a capability change is safe.
|
Package diff compares two manifests and reports what was added, removed, or changed so a human approver can judge whether a capability change is safe. |
|
manifest
Package manifest builds a canonical, hashable snapshot of an MCP server's advertised tools, prompts, and resources.
|
Package manifest builds a canonical, hashable snapshot of an MCP server's advertised tools, prompts, and resources. |
|
mcp
Package mcp implements the wire types and transport for the Model Context Protocol's JSON-RPC 2.0 framing, plus a proxy client/server pair used by mcp-shield to sit between an AI client and an upstream MCP server.
|
Package mcp implements the wire types and transport for the Model Context Protocol's JSON-RPC 2.0 framing, plus a proxy client/server pair used by mcp-shield to sit between an AI client and an upstream MCP server. |
Click to show internal directories.
Click to hide internal directories.