vantic-mcp
OfficialAllows AI agents built with LangChain to be protected by Vantic's spending firewall, enforcing signed budgets, counterparty allowlists, and per-transaction caps before any payment tool executes, and emitting tamper-proof receipts for all allowed actions.
Provides integration for OpenAI-based tool-calling agents, wrapping payment tools to enforce mandate-based spending limits and prevent out-of-scope transactions, even if the model is prompt-injected.
Works with the Vercel AI SDK to gate payment tools, ensuring that AI agents only make spending decisions within a signed mandate's scope, with signed receipts for audit trails.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@vantic-mcpVerify this signed receipt and the mandate chain for this transaction."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Vantic
A spending firewall and permission layer for AI agents. Give your agent a signed budget it can't exceed — even if it gets prompt-injected — and get a tamper-proof receipt for everything it does.
Zero dependencies · TypeScript · Ed25519 + W3C DIDs · works with MCP, LangChain, or any tool-calling agent.
The problem
Your AI agent can hold a wallet and call payment APIs. That's useful — and dangerous. One prompt injection from a poisoned web page, one hallucination, one bug, and your agent pays the wrong party. This is a documented, actively-exploited failure mode: agents tricked into wiring funds to attacker-controlled accounts.
Related MCP server: agentfolio-mcp-server
What Vantic does
You issue your agent a signed mandate — a budget, a per-transaction cap, allowed actions, and an allowlist of who it may pay — and wrap its money-moving calls (purchase, subscribe, transfer, pay-per-use, payout, refund — any action that moves value). From then on, an out-of-scope payment is impossible: the check runs before the money-moving code, so even a fully compromised model can't execute it. Every allowed action emits a signed, tamper-proof receipt — a clean audit trail, and evidence if a charge is ever disputed.
Install
npm install @vantic/sdkProtect your agent in ~5 lines
import { generateKeyPair, issueMandate, AgentWallet } from "@vantic/sdk";
const owner = generateKeyPair(); // you (the principal)
const agent = generateKeyPair(); // your autonomous agent
// Authorize the agent: what it may pay for, ≤ $200 each, ≤ $500/week, only these counterparties.
const mandate = issueMandate({
agent: agent.publicKey,
principal: owner.publicKey,
principalPrivateKeyPem: owner.privateKeyPem,
ttlSeconds: 7 * 24 * 3600,
scope: {
budget: { currency: "USD", amount: 50000, windowSeconds: 7 * 24 * 3600 }, // $500 / 7 days
maxPerTransaction: 20000, // $200
allowedActions: ["purchase", "subscribe"], // any money-moving action: transfer, payout, refund, …
allowedCounterparties: ["etsy.com", "*.shop.example"],
},
});
const wallet = new AgentWallet(mandate, agent.privateKeyPem);
// Your real payment call goes inside the executor. The guard runs FIRST;
// if the action is out of scope, the executor is never called.
await wallet.spend(
{ type: "purchase", counterparty: "etsy.com", amount: 4500, currency: "USD" },
async (action) => ({ outcome: "settled", result: await pay(action) }),
);
// A prompt-injected wallet.spend({ counterparty: "attacker.xyz", ... })
// throws GuardViolation — before any money moves.Run npm run guard-demo to watch it block live attacker payments.
Already have a payment tool? Wrap it once.
For MCP / LangChain / function-calling agents, gate an existing tool without restructuring anything:
import { wrapMcpTool } from "@vantic/sdk";
const guardedPurchase = wrapMcpTool(purchaseTool, {
wallet,
toAction: (args) => ({ type: "purchase", counterparty: args.merchant, amount: args.amountCents, currency: args.currency }),
});
// Register `guardedPurchase` instead of `purchaseTool`. A blocked call comes back as a tool
// error the model can read and recover from; the real charge never fires.Framework guides (OpenAI, LangChain, Vercel AI SDK, MCP, raw): docs/integrations.md.
What you get
Hard spending limits — per-transaction cap and a rolling budget window, enforced deterministically.
Counterparty allowlists — the agent can only pay who you allow (exact match or wildcard domains).
Prompt-injection protection — the mandate is enforced outside the model, so a compromised agent can't spend out of scope.
Tamper-proof receipts — a signed, hash-chained record of every action; verify offline; use as dispute evidence.
Standard identity — agents and owners are W3C
did:key/did:webDIDs, and the owner→agent relationship is a W3C Verifiable Credential.MCP server —
npx vantic-mcpexposes verification tools to any MCP host.Zero dependencies — Node's built-in crypto only. Ed25519 + SHA-256.
How it works
Two primitives (full spec in spec/SPEC.md):
Mandate — a signed statement from an owner authorizing an agent within a scope (budget, limits, counterparties, expiry, revocation).
Receipt — a signed, hash-chained record binding each action to the mandate and its outcome. Tamper-evident.
Everything is deterministic and runs outside the agent's model.
Use it from an MCP host
npm run mcp # or, once published: npx vantic-mcpExposes stateless verification tools (no private keys): mandate_authorize, mandate_verify_chain, mandate_verify_credential, mandate_resolve_did.
Identity
Agents and owners can be identified by bare keys (key:<x>) or by W3C did:key DIDs — interchangeable, both verify. generateKeyPair() returns both. DIDs resolve to standard DID documents offline (resolveDidKey), the same key can be published as did:web (buildDidWebDocument), and the owner→agent relationship is a portable W3C Verifiable Credential (issueSponsorCredential / verifySponsorCredential). See npm run identity-demo.
Develop
cd sdk
npm install
npm test # 39 tests
npm run demo # end-to-end walkthroughLearn more
docs/integrations.md — add Vantic to OpenAI / LangChain / Vercel AI SDK / MCP / raw agents.
docs/ap2-and-standards.md — how Vantic relates to AP2, x402, and the shared "mandate" concept.
docs/agent-spending-security.md — securing agent spending (and why not to roll your own).
spec/SPEC.md — the protocol.
Status & security
v0.1 — early, and honest about it. The code is production-quality (Ed25519 + SHA-256 + canonical JSON; did:key/did:web + Verifiable Credential identity; zero runtime dependencies), but it is not yet audited and the wire format isn't frozen.
ROADMAP.md— exactly what is and isn't hardened, and the path to v1.0.SECURITY.md— how to report a vulnerability (please don't open a public issue).spec/SPEC.md§8 — threat model and non-goals.
Feedback and PRs welcome. Apache-2.0.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityCmaintenanceAgent network intelligence for trust verification, broker discovery, and capability matching. Ed25519 identity, graph-based trust scoring, USDC payments, and MCP tools for agent registration, search, and trust attestation.Last updated3,7315MIT
- AlicenseAqualityCmaintenanceMCP server for AgentFolio — the identity and reputation layer for AI agents. Query agent profiles, trust scores, verification status, and marketplace listings through 8 MCP tools.Last updated9871MIT

Internet Court MCPofficial
Flicense-qualityBmaintenanceProvides a trust layer for agent-to-agent commerce and delegated agent authority, allowing MCP-capable agents to install and fetch the latest Internet Court skill dynamically.Last updated2- AlicenseAqualityAmaintenanceMCP server exposing Verity's trust checks as tools (verify_fact, detect_injection, moderate_content, redact_pii, guard_action) that any MCP-capable agent can discover and call for fail-closed safety verification before spending or sending.Last updated8MIT
Related MCP Connectors
A paid remote MCP for ZeroID, built to return verdicts, receipts, usage logs, and audit-ready JSON.
Read-only Remote MCP for externally grounded AI agent trust receipts.
Workflow diagnostics, capability routing, and x402 settlement for MCP-compatible agents.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/vanticlabs/vantic'
If you have feedback or need assistance with the MCP directory API, please join our Discord server