Skip to content
VS Code

nwc mcp for VS Code

io.github.llmops-pro/nwc-mcp

Lightning wallet for AI agents via Nostr Wallet Connect (NIP-47): budget caps, confirm, audit log.

client:VS Code transport:stdio runtime:npm

Install nwc mcp in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "nwc-connection-string",
      "description": "NWC_CONNECTION_STRING",
      "password": true
    },
    {
      "type": "promptString",
      "id": "nwc-daily-budget-sats",
      "description": "NWC_DAILY_BUDGET_SATS",
      "password": true
    },
    {
      "type": "promptString",
      "id": "nwc-read-only",
      "description": "NWC_READ_ONLY",
      "password": true
    }
  ],
  "servers": {
    "nwc-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "nwc-mcp"
      ],
      "env": {
        "NWC_CONNECTION_STRING": "${input:nwc-connection-string}",
        "NWC_DAILY_BUDGET_SATS": "${input:nwc-daily-budget-sats}",
        "NWC_READ_ONLY": "${input:nwc-read-only}"
      }
    }
  }
}

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

nwc mcp in other clients