Config is the same across clients — only the file and path differ.
{
"mcpServers": {
"com-scopeblind-protect-mcp": {
"args": [
"-y",
"protect-mcp"
],
"command": "npx"
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
Enterprise security gateway for MCP servers and Claude Code hooks. Signed receipts, Cedar policies, and swarm-aware audit trails.
Run this in your terminal to verify the server starts. Then let us know if it worked — your result helps other developers.
npx -y 'protect-mcp' 2>&1 | head -1 && echo "✓ Server started successfully"
After testing, let us know if it worked:
Five weighted categories — click any category to see the underlying evidence.
No known CVEs.
Checked protect-mcp against OSV.dev.
Be the first to review
Have you used this server?
Share your experience — it helps other developers decide.
Sign in to write a review.
Others in security / ai-ml
Dynamic problem-solving through sequential thought chains
Persistent memory using a knowledge graph
Workspace template + MCP server for Claude Code, Codex CLI, Cursor & Windsurf. Multi-agent knowledge engine (ag-refresh / ag-ask) that turns any codebase into a queryable AI assistant.
The official MCP server implementation for the Perplexity API Platform
MCP Security Weekly
Get CVE alerts and security updates for com.scopeblind/protect-mcp and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
Enterprise security gateway for MCP servers and Claude Code hooks. Signed receipts, Cedar policies, and swarm-aware audit trails.
Integrated into Microsoft Agent Governance Toolkit (Tutorial 33 merged; sb-runtime integration PR #1202 open) | IETF Internet-Draft (draft-02 pending) | AGT Integration Profile | Live demo: acta.today/wiki
Two commands. Every tool call is receipted.
# 1. Generate hooks, keys, Cedar policy, and /verify-receipt skill
npx protect-mcp init-hooks
# 2. Start the hook server
npx protect-mcp serve
Open Claude Code in the same project. Every tool call is now intercepted, evaluated, and signed.
init-hooks creates| File | Purpose |
|---|---|
.claude/settings.json | Hook config (PreToolUse, PostToolUse, + 9 lifecycle events) |
keys/gateway.json | Ed25519 signing keypair (auto-gitignored) |
policies/agent.cedar | Starter Cedar policy — customize to your needs |
protect-mcp.json | JSON policy with signing + rate limits |
.claude/skills/verify-receipt/SKILL.md | /verify-receipt skill for Claude Code |
Claude Code → POST /hook → protect-mcp (Cedar + sign) → response
↓
.protect-mcp-log.jsonl
.protect-mcp-receipts.jsonl
| Method | Path | Description |
|---|---|---|
| POST | /hook | Claude Code hook endpoint |
| GET | /health | Server status, policy info, signer info |
| GET | /receipts | Recent signed receipts |
| GET | /receipts/latest | Most recent receipt |
| GET | /suggestions | Auto-generated Cedar policy fix suggestions |
| GET | /alerts | Config tamper detection alerts |
# Inside Claude Code:
/verify-receipt
# From terminal:
curl http://127.0.0.1:9377/receipts/latest | jq .
npx protect-mcp receipts
# Check policy suggestions:
curl http://127.0.0.1:9377/suggestions | jq .
Wrap any stdio MCP server as a transparent proxy:
# Shadow mode — log every tool call, enforce nothing
npx protect-mcp -- node my-server.js
# Enforce mode with policy
npx protect-mcp --policy protect-mcp.json --enforce -- node my-server.js
# Generate keys + config template
npx protect-mcp init
protect-mcp evaluates every tool call against a policy (JSON, Cedar, or external PDP), signs the decision as an Ed25519 receipt, and logs the result.
Two integration modes:
| Mode | Transport | Use Case | |------|------