Safe4 — the payment firewall for AI agents. MCP server manifest and client examples. Hosted at api.safe4.ai.
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add --transport http safe4 https://api.safe4.ai/mcp/~/.codex/config.toml
[mcp_servers.safe4]
url = "https://api.safe4.ai/mcp/"
# codex mcp add safe4 --url https://api.safe4.ai/mcp/~/.cursor/mcp.json
{
"mcpServers": {
"safe4": {
"url": "https://api.safe4.ai/mcp/"
}
}
}.vscode/mcp.json
{
"servers": {
"safe4": {
"type": "http",
"url": "https://api.safe4.ai/mcp/"
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"safe4": {
"httpUrl": "https://api.safe4.ai/mcp/"
}
}
}claude_desktop_config.json · Customize › Connectors › Add custom connector
{
"mcpServers": {
"safe4": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://api.safe4.ai/mcp/"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"safe4": {
"url": "https://api.safe4.ai/mcp/"
}
}
}