Skip to content
MCP server

drift — mandate enforcement for AI agents

Blocks AI agent payments that fall outside the signed mandate it was given

Install
Pricing
Freemium
Platforms
API, self-hosted
Runs
Remotely
Version
0.1.0
Listing updated
2 days ago

About drift — mandate enforcement for AI agents

drift — mandate enforcement for AI agents is a freemium MCP server for security. It runs as a hosted remote server, so there is nothing to install locally.

A mandate says who an agent may pay, how much, in which currency and until when. The README argues that the AP2 protocol verifies this once at signing, after which nothing holds the agent inside its authority. drift runs afterwards, on each action, and with enforce=true it stops the flow itself rather than returning a verdict the caller might ignore.

Six rules run in a fixed order, so a refusal names the most important reason: amount, payee, audience, currency, window and intent. The default is deny. The README is plain about limits: it does not verify mandate signatures, does not execute anything, keeps no state (a session is just an argument) and cannot tell whether an agent's stated intent is true, since intent is untrusted input.

It is written in the Python standard library with no HTTP framework, runs with python3 -m drift.http_server, and is licensed Apache-2.0. The hosted endpoint takes payment per call in USDC over x402 with no account or card.

Install

Run in a terminal

claude mcp add --transport http drift https://drift.rta.lat/mcp

Add to Settings → Connectors → Add custom connector

https://drift.rta.lat/mcp
Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "drift": {
      "url": "https://drift.rta.lat/mcp"
    }
  }
}
Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to .vscode/mcp.json

{
  "servers": {
    "drift": {
      "type": "http",
      "url": "https://drift.rta.lat/mcp"
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "drift": {
      "serverUrl": "https://drift.rta.lat/mcp"
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "drift": {
      "type": "http",
      "url": "https://drift.rta.lat/mcp"
    }
  }
}

Tools this server provides (3)

Taken from the project documentation; the running server may differ.

drift_check
Checks one action against a mandate.
drift_session
Checks a sequence of actions and returns a report with a chain fingerprint.
drift_explain
Shows the rules in the order they apply.

What it does

Six ordered rules
Amount, payee, audience, currency, window and intent are checked in a fixed order.
Deny by default
Anything the mandate does not permit is refused, and the refusal names the first failed rule.
Enforce mode
With enforce=true the server blocks the call instead of only returning a verdict.
Session checks
drift_session checks a sequence of actions and returns a report with a chain fingerprint.
Stateless design
No sessions are stored on the server, so replicas cannot diverge.
Pay per call
100 free checks a day, then 0.005 USDC per call over x402 on Base.

Good for

  • Stop an agent paying more than its mandate allows
  • Catch a payment redirected to a different audience or payee
  • Reject actions outside a mandate's validity window
  • Audit a series of agent actions against one mandate
  • Layer runtime enforcement on top of AP2 signature verification

Pricing

Freemium

100 free checks per day; then 0.005 USDC per call, or 99 USDC for 30 days uncapped

Prices change. Check drift.rta.lat before you buy.

drift — mandate enforcement for AI agents FAQ

What does it cost?

100 checks a day are free, then 0.005 USDC per call on Base mainnet over x402. A 99 USDC payment removes the daily cap for 30 days.

Does it verify mandate signatures?

No. The README says that is AP2's job and drift runs after signature verification.

Does it execute payments?

No. It decides and the caller acts.

Can an agent lie about its intent?

Yes, intent comes from the agent and is untrusted. drift bounds the damage but does not certify intent.

Is drift — mandate enforcement for AI agents free?

drift — mandate enforcement for AI agents has a free plan, with paid plans for more usage or features.

How do I add drift — mandate enforcement for AI agents to Claude Code?

Run this command in your terminal: claude mcp add --transport http drift https://drift.rta.lat/mcp

What are the best alternatives to drift — mandate enforcement for AI agents?

The closest alternatives to drift — mandate enforcement for AI agents are REA, Solana MCP by Vybe, Tapetide - Indian Stock Market MCP, Agent Roast and Midplane.

Alternatives to drift — mandate enforcement for AI agents

  1. REA

    MCP server

    CLI and MCP server that lets coding agents reverse engineer apps and binaries

    Runs locally
    • Open source
    • 464K GitHub stars
    • Developer tools
  2. Remote MCP server exposing the Vybe Solana API to AI clients and code editors

    • 44 tools
    • Remote
    • 2.8K GitHub stars
    • Finance and payments
  3. Indian NSE and BSE stock market data for AI assistants through 48 MCP tools

    • 17 tools
    • Remote
    • Freemium
    • 150 GitHub stars
    • Finance and payments
  4. Agent Roast

    MCP server

    Offline review that flags agent changes which weaken tests, assertions or CI

    Runs locally
    • Open source
    • 4 Hacker News points
    • Developer tools
  5. Midplane

    MCP server

    Postgres gateway for AI agents with table grants, column masking and approval for writes

    Runs locally
    • Open source
    • 5 GitHub stars
    • Databases
  6. Budget Tracker

    MCP server

    Local MCP expense ledger that logs receipts and mileage, splits VAT and prepares rebilling

    • 14 tools
    • Remote
    • Freemium
    • 2 GitHub stars
    • Finance and payments