Skip to content
VS Code

paywall mcp for VS Code

io.github.llmops-pro/paywall-mcp

Lightning-paywall sidecar: wraps any stdio MCP server, requires paid invoices before tool calls.

client:VS Code transport:stdio runtime:npm

Install paywall mcp in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "paywall-upstream-command",
      "description": "PAYWALL_UPSTREAM_COMMAND",
      "password": true
    },
    {
      "type": "promptString",
      "id": "paywall-upstream-args",
      "description": "PAYWALL_UPSTREAM_ARGS",
      "password": true
    },
    {
      "type": "promptString",
      "id": "nwc-connection-string",
      "description": "NWC_CONNECTION_STRING",
      "password": true
    },
    {
      "type": "promptString",
      "id": "paywall-default-price-sats",
      "description": "PAYWALL_DEFAULT_PRICE_SATS",
      "password": true
    },
    {
      "type": "promptString",
      "id": "paywall-price-map",
      "description": "PAYWALL_PRICE_MAP",
      "password": true
    }
  ],
  "servers": {
    "paywall-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "paywall-mcp"
      ],
      "env": {
        "PAYWALL_UPSTREAM_COMMAND": "${input:paywall-upstream-command}",
        "PAYWALL_UPSTREAM_ARGS": "${input:paywall-upstream-args}",
        "NWC_CONNECTION_STRING": "${input:nwc-connection-string}",
        "PAYWALL_DEFAULT_PRICE_SATS": "${input:paywall-default-price-sats}",
        "PAYWALL_PRICE_MAP": "${input:paywall-price-map}"
      }
    }
  }
}

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

paywall mcp in other clients