Skip to content
VS Code

aegis protocol for VS Code

io.github.im-sham/aegis-protocol

Trustless escrow for AI agent-to-agent transactions on Base L2 with ERC-8004 identity and USDC.

client:VS Code transport:stdio runtime:npm

Install aegis protocol in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "aegis-chain",
      "description": "AEGIS_CHAIN",
      "password": true
    },
    {
      "type": "promptString",
      "id": "aegis-rpc-url",
      "description": "AEGIS_RPC_URL",
      "password": true
    },
    {
      "type": "promptString",
      "id": "aegis-private-key",
      "description": "AEGIS_PRIVATE_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "aegis-api-url",
      "description": "AEGIS_API_URL",
      "password": true
    }
  ],
  "servers": {
    "aegis-protocol": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@aegis-protocol/mcp-server"
      ],
      "env": {
        "AEGIS_CHAIN": "${input:aegis-chain}",
        "AEGIS_RPC_URL": "${input:aegis-rpc-url}",
        "AEGIS_PRIVATE_KEY": "${input:aegis-private-key}",
        "AEGIS_API_URL": "${input:aegis-api-url}"
      }
    }
  }
}

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

aegis protocol in other clients