Agent♥︎Age
Catalog

io.github.bolyra/shield

Official

by bolyra · TypeScript

Stdio MCP auth proxy: wrap any MCP server with per-tool permission enforcement.

Model Context Protocol (MCP) Server: io.github.bolyra/shield

io.github.bolyra/shield is a “Stdio MCP auth proxy” that wraps any MCP server with per-tool permission enforcement. It spawns the target server as a child process, intercepts tools/call requests, verifies agent credentials, enforces tool policies, and forwards requests without requiring server code changes.

🛠️ Key Features

  • Per-tool permission enforcement for MCP tools/call
  • Agent credential verification
  • Replay protection via nonce settings
  • Audit receipts for forwarded/enforced actions

🚀 Use Cases

  • Add authentication and authorization around existing MCP servers
  • Enforce tool-specific access policies without modifying server implementations

⚡ Developer Benefits

  • Works as a proxy: “No code changes to the server”
  • Configurable shield.yaml with devMode and defaultDeny
  • Nonce replay controls (store: memory, maxProofAge: 300)
  • Receipt output configurable/enabled (receipts.enabled: true, output shown as st)

⚠️ Limitations

  • Designed as a proxy wrapper; direct server functionality depends on the wrapped MCP server

Topics

ai-agentscircomdideddsagroth16identitysemaphoresolidityzero-knowledge-proofszkp

Related servers

More in Security