Skip to content
VS Code

site prompt for VS Code

io.github.johntony1/site-prompt

Point at any part of a website and get a prompt that rebuilds it 1:1, or see how it is made.

client:VS Code transport:stdio runtime:npm

Install site prompt in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "site-prompt-wait",
      "description": "SITE_PROMPT_WAIT",
      "password": true
    },
    {
      "type": "promptString",
      "id": "site-prompt-telemetry",
      "description": "SITE_PROMPT_TELEMETRY",
      "password": true
    }
  ],
  "servers": {
    "site-prompt": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "site-prompt"
      ],
      "env": {
        "SITE_PROMPT_WAIT": "${input:site-prompt-wait}",
        "SITE_PROMPT_TELEMETRY": "${input:site-prompt-telemetry}"
      }
    }
  }
}

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

site prompt in other clients