Consent Revocation Checker

Cached consent is not a revocation bug, it is the revocation design, and a revoked permission with a live socket is still a permission if you only ask the agent’s own machine. $0.002 per call, USDC via x402 or MPP. Checks a permission at execution time against issued, expiry, and revoked timestamps, plus an optional public revocation list URL, and returns allowed, revoked, expired, stale_cache, or unknown — never treating a stale cache as still allowed. An empty call scores a built-in revoked-but-cached example.

No account and no API key. Pay per successful call with MPP on Tempo (USDC.e or pathUSD). Invalid input or an upstream failure returns 402 and is not charged.

Routes

RoutePriceWhat you get
POST /v1/consent-check$0.002Consent Revocation Checker
Cached consent is not a revocation bug, it is the revocation design, and a revoked permission with a live socket is still a permission if you only ask the agent’s own machine. $0.002 per call, USDC via x402 or MPP. Checks a permission at execution time against issued, expiry, and revoked timestamps, plus an optional public revocation list URL, and returns allowed, revoked, expired, stale_cache, or unknown — never treating a stale cache as still allowed. An empty call scores a built-in revoked-but-cached example.

Copy-paste examples

These call POST /v1/consent-check ($0.002) — Consent Revocation Checker. Swap the path for any other route in the table.

mppx CLI

npx mppx https://consent-revocation-checker.fmf-x402.workers.dev/v1/consent-check -X POST -H 'content-type: application/json' -d '{"permission_id":"pay-usdc","subject":"agent-demo","scope":"charge","issued_at":"2026-11-01T00:00:00Z","expires_at":"2026-12-31T00:00:00Z","revoked_at":"2026-11-20T00:00:00Z","last_checked_at":"2026-11-19T00:00:00Z","cached_allowed":true}'

The CLI creates or reuses a Tempo account in your keychain and pays the 402 automatically. See mpp.dev/sdk.

curl (unpaid — shows the 402, not charged)

curl -i -X POST https://consent-revocation-checker.fmf-x402.workers.dev/v1/consent-check -H 'content-type: application/json' -d '{"permission_id":"pay-usdc","subject":"agent-demo","scope":"charge","issued_at":"2026-11-01T00:00:00Z","expires_at":"2026-12-31T00:00:00Z","revoked_at":"2026-11-20T00:00:00Z","last_checked_at":"2026-11-19T00:00:00Z","cached_allowed":true}'

TypeScript SDK (mppx)

import { Mppx, tempo } from 'mppx/client'
import { privateKeyToAccount } from 'viem/accounts'

Mppx.create({
  methods: [tempo({ account: privateKeyToAccount(process.env.TEMPO_PRIVATE_KEY) })],
})

// Global fetch now pays the 402 automatically.
const res = await fetch('https://consent-revocation-checker.fmf-x402.workers.dev/v1/consent-check', {
  method: 'POST',  headers: {
    'content-type': 'application/json',
  },
  body: JSON.stringify({"permission_id":"pay-usdc","subject":"agent-demo","scope":"charge","issued_at":"2026-11-01T00:00:00Z","expires_at":"2026-12-31T00:00:00Z","revoked_at":"2026-11-20T00:00:00Z","last_checked_at":"2026-11-19T00:00:00Z","cached_allowed":true}),
})
console.log(await res.json())

Python SDK (pympp)

# pip install pympp
# Docs: https://mpp.dev/sdk/python
import asyncio
from mpp.client import Mpp
from mpp.methods.tempo import TempoAccount
from mpp.methods.tempo import client as tempo

account = TempoAccount.from_key("0x...")

async def main():
    async with Mpp(methods=[tempo.charge(account=account)]) as mpp:
        response = await mpp.fetch("https://consent-revocation-checker.fmf-x402.workers.dev/v1/consent-check", method="POST", json={"permission_id":"pay-usdc","subject":"agent-demo","scope":"charge","issued_at":"2026-11-01T00:00:00Z","expires_at":"2026-12-31T00:00:00Z","revoked_at":"2026-11-20T00:00:00Z","last_checked_at":"2026-11-19T00:00:00Z","cached_allowed":true})
        print(await response.json())

asyncio.run(main())

MCP config (Cursor, Claude Desktop, VS Code)

{
  "mcpServers": {
    "fmf-mpp-consent-revocation-checker": {
      "url": "https://consent-revocation-checker.fmf-x402.workers.dev/mcp"
    }
  }
}

Transport is Streamable HTTP at https://consent-revocation-checker.fmf-x402.workers.dev/mcp. tools/list is free. Paid tools/call needs an MPP Payment header, or just use mppx against the HTTP route.

Sources and licences

Operated by FMF Tools (fmf-tools@agentmail.to). Pay-per-call only; no API key and no account. Invalid input or an upstream failure returns 402 and is not charged.

Sister services