Skip to content
VS Code

affiliate router mcp for VS Code

io.github.forgemeshlabs/affiliate-router-mcp

Route x402 payments, Pyrimid affiliate splits, and referral links. Vendor-neutral, adapter-based.

client:VS Code transport:stdio runtime:npm

Install affiliate router mcp in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "wallet-private-key",
      "description": "WALLET_PRIVATE_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "pyrimid-affiliate-id",
      "description": "PYRIMID_AFFILIATE_ID",
      "password": true
    }
  ],
  "servers": {
    "affiliate-router-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "affiliate-router-mcp"
      ],
      "env": {
        "WALLET_PRIVATE_KEY": "${input:wallet-private-key}",
        "PYRIMID_AFFILIATE_ID": "${input:pyrimid-affiliate-id}"
      }
    }
  }
}

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

affiliate router mcp in other clients