Skip to content
Gemini CLI

yieldagentx402 for Gemini CLI

io.github.fabio662/yieldagentx402

Policy-gated x402 MCP for agent workflows with TEE receipts, 18 tools, and no custody.

client:Gemini CLI transport:stdio runtime:npm

Install yieldagentx402 in Gemini CLI

~/.gemini/settings.json · windows: %USERPROFILE%\.gemini\settings.json

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "yieldagentx402": {
      "command": "npx",
      "args": [
        "-y",
        "agentx402-mcp-server"
      ],
      "env": {
        "YAX_API_KEY": "<YAX_API_KEY>",
        "YAX_AGENT_ID": "<YAX_AGENT_ID>",
        "YAX_MCP_ENDPOINT": "<YAX_MCP_ENDPOINT>"
      }
    }
  }
}

Gemini expands $VAR and ${VAR} inside env values, so a secret can live in your shell rather than this file. Gemini CLI docs

yieldagentx402 in other clients