Skip to content
VS Code

CastHub for VS Code

io.github.cast-hub/mcp

Control CastHub digital signage. Manage TVs, presentations, schedules, and emergency alerts.

client:VS Code transport:stdio runtime:npm

Install CastHub in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "casthub-api-key",
      "description": "CASTHUB_API_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "casthub-mcp-url",
      "description": "CASTHUB_MCP_URL",
      "password": true
    }
  ],
  "servers": {
    "mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@cast-hub/mcp"
      ],
      "env": {
        "CASTHUB_API_KEY": "${input:casthub-api-key}",
        "CASTHUB_MCP_URL": "${input:casthub-mcp-url}"
      }
    }
  }
}

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

CastHub in other clients