# drift MCP server

> Enforces signed mandates for AI agents by validating actions against constraints like amount, payee, currency, and intent.

- Repository: https://github.com/mrpkk/drift
- Page: https://hostedmcp.org/servers/mrpkk/drift
- Transport: remote
- Stars: 0
- License: Apache-2.0
- Latest version: 0.1.0

## Install

### Claude Code

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

### Cursor (`~/.cursor/mcp.json`)

```json
{
  "mcpServers": {
    "drift": {
      "url": "https://drift.rta.lat/mcp"
    }
  }
}
```

### VS Code (`.vscode/mcp.json`)

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

### VS Code CLI

```sh
code --add-mcp '{"name":"drift","type":"http","url":"https://drift.rta.lat/mcp"}'
```

### Codex

```sh
codex mcp add drift --url https://drift.rta.lat/mcp
```

### Codex config.toml (`~/.codex/config.toml`)

```toml
[mcp_servers.drift]
url = "https://drift.rta.lat/mcp"
```

### Gemini CLI

```sh
gemini mcp add -s user --transport http drift https://drift.rta.lat/mcp
```

### Gemini settings.json (`~/.gemini/settings.json`)

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

## Tools (3)

- `drift_check`
- `drift_session`
- `drift_explain`

## FAQ

### Does drift verify the signature of the mandate?

No, verifying mandate signatures is the responsibility of AP2; drift operates at the decision level after signature verification.

### Does the server maintain state between calls?

No, the server does not keep state, which reduces the attack surface and prevents divergence under replication.

### What are the available MCP tools?

The server provides drift_check for single actions, drift_session for sequences with reports, and drift_explain to show applicable rules.
