Safe4 MCP server
{
"mcpServers": {
"safe4": {
"type": "http",
"url": "https://api.safe4.ai/mcp/"
}
}
}{
"mcpServers": {
"safe4": {
"type": "http",
"url": "https://api.safe4.ai/mcp/"
}
}
}{
"mcpServers": {
"safe4": {
"type": "http",
"url": "https://api.safe4.ai/mcp/"
}
}
}{
"servers": {
"safe4": {
"type": "http",
"url": "https://api.safe4.ai/mcp/"
}
}
}{
"mcpServers": {
"safe4": {
"type": "http",
"url": "https://api.safe4.ai/mcp/"
}
}
}file .mcp.json (in your project root)file claude_desktop_config.jsonfile ~/.cursor/mcp.jsonfile .vscode/mcp.jsonfile ~/.codeium/windsurf/mcp_config.jsonversion 1.0.0
What it does
Safe4 is a hosted MCP server that evaluates whether an AI agent's proposed payment is consistent with the task it was assigned. It returns ALLOW or DENY decisions with reason codes and maintains a hash-chained audit log. It is aimed at developers building autonomous payment-capable AI agents who need task-level authorization beyond simple budget or category checks.
- Check before an agent executes a payment whether the purchase actually serves the stated task, not just whether it fits within budget or category limits.
- Retrieve the current per-call price and accepted payment networks before committing to a paid authorization call.
- Review a tamper-evident audit trail of every authorization decision, including the task context and matched concepts, to verify agent behavior after the fact.
Tools this server exposes
| Tool | Does |
|---|---|
| safe4_price | Returns the current price and accepted payment networks for the safe4_authorize call; free to invoke. |
| safe4_authorize | Evaluates a proposed payment against the agent's assigned task and returns an ALLOW or DENY decision with a reason code and audit entry; paid per call in USDC v |
Before you enable it
An MCP server runs with whatever access you give it. Start with a development account rather than production, and check which tools the server exposes before you let an agent call them unattended.