Skip to content
VS Code

yieldagentx402 for VS Code

io.github.fabio662/yieldagentx402

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

client:VS Code transport:stdio runtime:npm

Install yieldagentx402 in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "yax-api-key",
      "description": "YAX_API_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "yax-agent-id",
      "description": "YAX_AGENT_ID",
      "password": true
    },
    {
      "type": "promptString",
      "id": "yax-mcp-endpoint",
      "description": "YAX_MCP_ENDPOINT",
      "password": true
    }
  ],
  "servers": {
    "yieldagentx402": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "agentx402-mcp-server"
      ],
      "env": {
        "YAX_API_KEY": "${input:yax-api-key}",
        "YAX_AGENT_ID": "${input:yax-agent-id}",
        "YAX_MCP_ENDPOINT": "${input:yax-mcp-endpoint}"
      }
    }
  }
}

VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs

yieldagentx402 in other clients