Cyphos Guard
Spending limits and passkey approval for AI agents that pay, on testnet
Cyphos Guard is an MCP server for agent approvals. It runs locally on your machine and is started by your AI client.
- Platforms
- CLI, API, Web
- Runs
- Locally
- Access
- Needs a secret key or token
- Version
- 0.1.3
- Listing updated
Similar MCP servers
Install
Add with the CLI
Run in a terminal
claude mcp add cyphos-guard --env CYPHOS_AGENT_PRIVATE_KEY='<CYPHOS_AGENT_PRIVATE_KEY>' -- npx -y @cyphos-guard/mcpAdd --scope user to use it in every project, or --scope project to share it in .mcp.json.
Or share it with your project
Add to .mcp.json
{
"mcpServers": {
"cyphos-guard": {
"command": "npx",
"args": [
"-y",
"@cyphos-guard/mcp"
],
"env": {
"CYPHOS_AGENT_PRIVATE_KEY": "<CYPHOS_AGENT_PRIVATE_KEY>"
}
}
}
}Add to claude_desktop_config.json
{
"mcpServers": {
"cyphos-guard": {
"command": "npx",
"args": [
"-y",
"@cyphos-guard/mcp"
],
"env": {
"CYPHOS_AGENT_PRIVATE_KEY": "<CYPHOS_AGENT_PRIVATE_KEY>"
}
}
}
}Settings → Developer → Edit Config, then quit and reopen Claude Desktop.
Add to ~/.cursor/mcp.json
{
"mcpServers": {
"cyphos-guard": {
"command": "npx",
"args": [
"-y",
"@cyphos-guard/mcp"
],
"env": {
"CYPHOS_AGENT_PRIVATE_KEY": "<CYPHOS_AGENT_PRIVATE_KEY>"
}
}
}
}Use .cursor/mcp.json in a project to share it with the project.
Add to ~/.copilot/mcp-config.json
{
"mcpServers": {
"cyphos-guard": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@cyphos-guard/mcp"
],
"env": {
"CYPHOS_AGENT_PRIVATE_KEY": "<CYPHOS_AGENT_PRIVATE_KEY>"
}
}
}
}Or put the same entry in .mcp.json at your workspace root to share it.
Add with the CLI
Run in a terminal
codex mcp add cyphos-guard --env CYPHOS_AGENT_PRIVATE_KEY='<CYPHOS_AGENT_PRIVATE_KEY>' -- npx -y @cyphos-guard/mcpOr add to config.toml
Add to ~/.codex/config.toml
[mcp_servers.cyphos-guard]
command = "npx"
args = ["-y", "@cyphos-guard/mcp"]
env = { CYPHOS_AGENT_PRIVATE_KEY = "<CYPHOS_AGENT_PRIVATE_KEY>" }Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"cyphos-guard": {
"command": "npx",
"args": [
"-y",
"@cyphos-guard/mcp"
],
"env": {
"CYPHOS_AGENT_PRIVATE_KEY": "<CYPHOS_AGENT_PRIVATE_KEY>"
}
}
}
}Gemini CLI and Antigravity
Gemini CLI
Add to ~/.gemini/settings.json
{ "mcpServers": { "cyphos-guard": { "command": "npx", "args": [ "-y", "@cyphos-guard/mcp" ], "env": { "CYPHOS_AGENT_PRIVATE_KEY": "<CYPHOS_AGENT_PRIVATE_KEY>" } } } }Or run: gemini mcp add -s user -e CYPHOS_AGENT_PRIVATE_KEY='<CYPHOS_AGENT_PRIVATE_KEY>' cyphos-guard npx -- -y @cyphos-guard/mcp
Antigravity
Add to ~/.gemini/config/mcp_config.json
{ "mcpServers": { "cyphos-guard": { "command": "npx", "args": [ "-y", "@cyphos-guard/mcp" ], "env": { "CYPHOS_AGENT_PRIVATE_KEY": "<CYPHOS_AGENT_PRIVATE_KEY>" } } } }Use .agents/mcp_config.json to add it to one workspace only.
Devin Desktop (formerly Windsurf)
Add to ~/.config/devin/mcp_config.json
{ "mcpServers": { "cyphos-guard": { "command": "npx", "args": [ "-y", "@cyphos-guard/mcp" ], "env": { "CYPHOS_AGENT_PRIVATE_KEY": "<CYPHOS_AGENT_PRIVATE_KEY>" } } } }On Windows the file is %APPDATA%\devin\mcp_config.json. Use .devin/mcp_config.json to share it with a project.
Cline
Add to cline_mcp_settings.json
{ "mcpServers": { "cyphos-guard": { "command": "npx", "args": [ "-y", "@cyphos-guard/mcp" ], "env": { "CYPHOS_AGENT_PRIVATE_KEY": "<CYPHOS_AGENT_PRIVATE_KEY>" } } } }Open it from the MCP Servers icon → Configure → Configure MCP Servers.
Zed
Add to Zed settings.json
{ "context_servers": { "cyphos-guard": { "command": "npx", "args": [ "-y", "@cyphos-guard/mcp" ], "env": { "CYPHOS_AGENT_PRIVATE_KEY": "<CYPHOS_AGENT_PRIVATE_KEY>" } } } }Open it with zed: open settings file. Merge context_servers into the settings you already have.
JetBrains AI Assistant and Junie
AI Assistant
Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add
{ "mcpServers": { "cyphos-guard": { "command": "npx", "args": [ "-y", "@cyphos-guard/mcp" ], "env": { "CYPHOS_AGENT_PRIVATE_KEY": "<CYPHOS_AGENT_PRIVATE_KEY>" } } } }The AI Assistant docs only show command and args. If the env block is ignored, use Junie for this server.
Junie
Add to ~/.junie/mcp/mcp.json
{ "mcpServers": { "cyphos-guard": { "command": "npx", "args": [ "-y", "@cyphos-guard/mcp" ], "env": { "CYPHOS_AGENT_PRIVATE_KEY": "<CYPHOS_AGENT_PRIVATE_KEY>" } } } }Use .junie/mcp/mcp.json to share it with a project.
Kiro
Add to ~/.kiro/settings/mcp.json
{ "mcpServers": { "cyphos-guard": { "command": "npx", "args": [ "-y", "@cyphos-guard/mcp" ], "env": { "CYPHOS_AGENT_PRIVATE_KEY": "<CYPHOS_AGENT_PRIVATE_KEY>" } } } }Use .kiro/settings/mcp.json to add it to one workspace only.
Using several servers? Build one config file with the MCP config generator.
Configuration
CYPHOS_AGENT_PRIVATE_KEYThe agent's own throwaway testnet key (create one with: npx @cyphos-guard/cli agent new). Holds gas only.RequiredCYPHOS_POLICY_SERVICE_URLPolicy service URL, e.g. https://app.cyphosguard.com/api (default http://127.0.0.1:8787)NETWORKlive = Base Sepolia, fork = local fork (default fork)RPC_URLBase Sepolia RPC for NETWORK=live (default https://sepolia.base.org)
About Cyphos Guard
Cyphos Guard puts a budget around an AI agent's payments. Small, expected payments go through on their own within limits enforced on-chain by your smart account, larger ones become a request you approve on your phone with Face ID or a fingerprint, and denylisted addresses or amounts above a hard maximum are refused outright.
The money stays in your own passkey-owned wallet and the service never holds a key that can move it; you can revoke the agent or withdraw at any time, even without the service. The MCP server gives Claude and other agents tools to pay, fetch paid x402 APIs and check approvals, and every payment, request, approval and block is logged with the agent's stated reason.
It currently runs on Base Sepolia testnet only, is not audited, and should not be used with real funds.
What it does
- On-chain limits
- Per-payment and daily caps, allowed recipients and expiry are checked by the blockchain.
- Passkey approvals
- Approve each large payment once with Face ID or fingerprint.
- Denylist and hard maximum
- Forbidden addresses and oversize amounts are refused without asking.
- Non-custodial
- The service never holds a key that can move your funds.
- x402 payments
- Agents can pay HTTP 402 APIs in USDC within limits.
- Activity log
- Records each payment, approval and block with the agent's reason.
Good for
- Give a coding agent a capped budget for paid APIs
- Require phone approval for payments above a threshold
- Block payments to known bad addresses
- Test agent payment flows on Base Sepolia
Cyphos Guard FAQ
Can I use Cyphos Guard with real funds?
Not yet. It is testnet only and not audited.
How is Cyphos Guard installed?
As the @cyphos-guard/mcp npm package over stdio, with the agent's testnet key in an environment variable.
Who holds the funds?
You do, in a smart account owned by your passkey.
Which network does Cyphos Guard use?
Base Sepolia.
How do I add Cyphos Guard to Claude Code?
Run this command in your terminal: claude mcp add cyphos-guard --env CYPHOS_AGENT_PRIVATE_KEY='<CYPHOS_AGENT_PRIVATE_KEY>' -- npx -y @cyphos-guard/mcp
What are the best alternatives to Cyphos Guard?
The closest alternatives to Cyphos Guard are AgentPay402 MCP, Logicnodes MCP, Xenarch MCP, Onchain Agent Wallets and CRA AGENT.
Where this comes from
- Description: written from the project's README, the project's website and its MCP Registry entry.
- Install steps: from the official MCP Registry entry.