#!/usr/bin/env sh # Claude Code: add WebPilot.si as an MCP server (Streamable HTTP) for your user. # WEBPILOT_URL: your gateway (http://localhost:8931 for a local one; https://webpilot.si for the hosted service). # WEBPILOT_TOKEN: your user token (cbu_...), shown once when an admin created your user. Keep it like a password. : "${WEBPILOT_URL:=http://localhost:8931}" : "${WEBPILOT_TOKEN:?set WEBPILOT_TOKEN to your cbu_ token}" claude mcp add --transport http --scope user webpilot "$WEBPILOT_URL/mcp" \ --header "Authorization: Bearer $WEBPILOT_TOKEN" claude mcp list # For a project instead, commit claude-code.mcp.json as .mcp.json: it reads the token from the environment.