VerityLayer MCP โ Integration Guide¶
Fail-closed verify-before-you-act trust gate for AI agents. Five tools โ verify_fact, detect_injection, moderate_content, redact_pii, guard_action โ that run before agent actions execute. Every verdict ships an Ed25519-signed receipt for audit trails.
Command:
npx -y @veritylayer/mcpยท Source: mcp.so ยท Last seen: July 4, 2026
What It Does¶
VerityLayer acts as a mandatory safety checkpoint between your AI agent and the outside world. Before the agent can act on a fact, send a message, or execute a transaction, VerityLayer runs verification checks and returns a cryptographically signed verdict. If any check fails, the action is blocked (fail-closed). This makes it essential for production AI agent deployments where safety and audit trails matter.
Key Capabilities¶
- verify_fact โ Cross-references claims against trusted sources before the agent acts on them
- detect_injection โ Scans agent inputs and outputs for prompt injection, data exfiltration, and manipulation
- moderate_content โ Content safety checks for agent-generated text before it reaches users
- redact_pii โ Strips personally identifiable information from agent outputs before external delivery
- guard_action โ Final approval gate โ the last check before any agent action executes
Every verdict includes: - Ed25519-signed cryptographic receipt - Timestamp and tool identifier - Verdict (pass/fail) with confidence score - Audit trail for compliance
Installation¶
npx -y @veritylayer/mcp
Hermes / Claude Desktop Configuration¶
{
"mcpServers": {
"veritylayer": {
"command": "npx",
"args": ["-y", "@veritylayer/mcp"],
"env": {
"VERITYLAYER_API_KEY": "your-key"
}
}
}
}
CorpusIQ Use Cases¶
1. Agent Output Sanitization¶
"Before sending this agent-generated email to the client, run redact_pii
and moderate_content on the draft. Only release if both pass."
2. Prompt Injection Defense¶
"Run detect_injection on every user input before it reaches the agent's
context window. Block any flagged inputs."
3. Compliance Audit Trail¶
"Show me all VerityLayer verdicts from the last 24 hours โ which actions
passed, which were blocked, and why."
Operator Value¶
| Protection | Without VerityLayer | With VerityLayer |
|---|---|---|
| Prompt injection | No detection โ agent acts on malicious input | Injection detected and blocked before context entry |
| PII in outputs | Manual review or none | Automatic redaction with cryptographic proof |
| Content safety | Reactive (find issues after sending) | Proactive (block before delivery) |
| Audit trail | Agent logs only (may be incomplete) | Signed receipts for every safety decision |
Safety Architecture¶
User Input โ [detect_injection] โ Agent Processing โ Agent Output
โ
[verify_fact]
[moderate_content]
[redact_pii]
โ
[guard_action] โ Final gate
โ
Deliver / Block
Every arrow includes an Ed25519-signed receipt. The system is fail-closed โ if any check cannot complete (network error, timeout), the action is blocked rather than allowed through unsafely.
Pricing¶
Keyless, pay-per-call via x402 (USDC on Base). No subscription required โ pay only for the checks you run. Pricing details at veritylayer.com.
Related Resources¶
- External MCP Server Catalog โ full curated catalog
- Compliance & Regulatory MCPs โ complementary trust and verification tools
- ChronoVerify โ image authenticity verification MCP
โ External MCP Catalog | MCP Servers Home โ
Guide created July 4, 2026. VerityLayer available via npx -y @veritylayer/mcp. Check mcp.so for latest pricing and availability.