Skip to content
VS Code

SPR (Sealed Payment Record) for VS Code

network.luca/spr-mcp

Seal every payment your AI agent makes as a signed record, on your own machine, with your key.

client:VS Code transport:stdio runtime:npm

Install SPR (Sealed Payment Record) in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "spr-agent-id",
      "description": "SPR_AGENT_ID",
      "password": true
    },
    {
      "type": "promptString",
      "id": "spr-entity",
      "description": "SPR_ENTITY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "spr-dir",
      "description": "SPR_DIR",
      "password": true
    },
    {
      "type": "promptString",
      "id": "spr-time-zone",
      "description": "SPR_TIME_ZONE",
      "password": true
    },
    {
      "type": "promptString",
      "id": "spr-binding",
      "description": "SPR_BINDING",
      "password": true
    }
  ],
  "servers": {
    "spr-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@luca-network/spr-mcp"
      ],
      "env": {
        "SPR_AGENT_ID": "${input:spr-agent-id}",
        "SPR_ENTITY": "${input:spr-entity}",
        "SPR_DIR": "${input:spr-dir}",
        "SPR_TIME_ZONE": "${input:spr-time-zone}",
        "SPR_BINDING": "${input:spr-binding}"
      }
    }
  }
}

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

SPR (Sealed Payment Record) in other clients