AgentPay Sentinel MCP
AgentPay Sentinel MCP
A watchdog MCP that validates every agent payment request against all 9 security checks before it executes — catching policy violations, replay attacks, amount tampering, revoked tokens, and budget overruns at call time.
What your agent can do
Run a pre-flight audit on any payment transaction before executing it — get PASS or BLOCKED with the specific check that failed
Validate token integrity: confirms the SHA-256 hash matches the expected
merchant_id:amountbinding, catching forged or tampered tokensEnforce budget caps: rejects transactions where
current_spend + amount > budget_capand returns exact remaining budgetCheck merchant allowlist membership and block purchases in restricted categories
Verify token expiry and rate limits before the payment fires
Simulate known attack vectors (token forgery, budget overflow, replay, merchant spoof, expiry bypass) and get the specific defense mechanism and detection method for each
Installation
Requires: Python 3.10+, mcp package.
pip install mcpClaude Desktop — add to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):
{
"mcpServers": {
"agentpay-sentinel": {
"command": "python",
"args": ["/absolute/path/to/agentpay-sentinel-mcp/server.py"]
}
}
}Cursor — add to .cursor/mcp.json in your project root:
{
"mcpServers": {
"agentpay-sentinel": {
"command": "python",
"args": ["/absolute/path/to/agentpay-sentinel-mcp/server.py"]
}
}
}Tool Reference
Tool | Description | Key params |
| Run all 9 security checks; returns PASS/BLOCKED + SHA-256 audit hash |
|
| Permanently revoke a token — all future audits with this |
|
| Remove a nonce from the replay store (for legitimate refunds/retries only) |
|
| Verify a sequence of audit hashes forms an unbroken chain |
|
| Simulate any named attack vector; returns severity, defence, and detection |
|
All 9 checks run by sentinel_audit_transaction
# | Check | What it catches | Param |
1 | Token integrity | SHA-256 hash mismatch — forged tokens |
|
2 | Budget enforcement | Spend exceeding cap |
|
3 | Merchant allowlist | Payment to unlisted merchant |
|
4 | Category restriction | Purchase in blocked category |
|
5 | Expiry check | Expired token |
|
6 | Rate limit | Too many calls per minute |
|
7 | Amount mismatch | Agent changed amount after human approved |
|
8 | Replay attack | Same nonce used twice (file-backed store) |
|
9 | Revocation evasion | Agent using a revoked token |
|
Checks 7–9 activate when the corresponding param is passed. State persists to ~/.sentinel/.
Attack vectors in sentinel_threat_model
token_forgery · budget_overflow · replay_attack · amount_mismatch · revocation_evasion · merchant_spoof · expiry_bypass
Security
sentinel_audit_transaction returns an advisory verdict — it does not intercept network traffic. Your agent is responsible for calling it before executing a payment and halting on BLOCKED. The audit hash returned is a SHA-256 digest of all check results, giving you a tamper-evident record of each pre-flight decision.
Pricing
Plan | Price | Included |
Free | $0 | 50 audits/month |
Pro | $19/month | Unlimited audits + threat model simulations |
License
MIT — AgentPay Labs. Source: github.com/Rumblingb/agentpay-sentinel-mcp
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/Rumblingb/agentpay-sentinel-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server