Homelab MCP Bridge
Goal
Standardize MCP IDE setup on the local wrapper bridge (scripts/mcp-wrapper.sh) without relying on
@forge-mcp-gateway/client npm resolution.
Workflow
- Confirm bridge availability:
test -x scripts/mcp-wrapper.shtest -s data/.mcp-client-url
- Run setup:
./scripts/setup-forge-space-mcp.sh
- Validate setup:
python3 scripts/ide-setup.py setup cursor --action verify
- If validation fails, emit deterministic fixes:
- Gateway health failure:
make start - Missing URL file:
make register - Missing wrapper:
chmod +x scripts/mcp-wrapper.sh - Timeout:
CURSOR_MCP_TIMEOUT_MS=180000 ./scripts/setup-forge-space-mcp.sh - If register reports
GET /servers returned 404: gateway is in minimal mode; switch to a deployment profile that exposes/serversor setMCP_CLIENT_SERVER_URLexplicitly in IDE config until full mode is available.
- Gateway health failure:
Output Contract
Always report:
- Whether wrapper bridge is configured in IDE config
- Whether
data/.mcp-client-urlexists and matches/servers/<uuid>/mcp - The exact remediation command if any check fails
Guardrails
- Do not suggest
npx -y @forge-mcp-gateway/clientas an active setup path. - Keep secrets out of committed files; rely on
.envand runtime environment variables. - Preserve existing unrelated
mcpServersentries while updating bridge config.
Source: Forge-Space/mcp-gateway — distributed by TomeVault.