Use Hoko with VS Code
Connect VS Code through its HTTP MCP server.
Before you start
Create a scoped API key in Dashboard > Integrations > API Keys. Keep it in the host's secret store and never commit it.
Configure VS Code
Add the Hoko MCP server at https://mcp.hoko.to with Authorization Bearer <HOKO_API_KEY>. Reload the host after saving.
Verify the connection
Run a read-only links operation and confirm the selected workspace before any write.
Fix common issues
- A 401 means an invalid key.
- A 403 means a missing scope.
- A 429 requires waiting for Retry-After.
- Check the host's current MCP settings when support varies by release.
Disconnect
Remove Hoko from VS Code and revoke the key.
Add it from the Command Palette
Run MCP: Add Server, choose HTTP, enter https://mcp.hoko.to, and save the key in the password input. The equivalent .vscode/mcp.json entry is:
{
"servers": {
"hoko": {
"type": "http",
"url": "https://mcp.hoko.to",
"headers": { "Authorization": "Bearer ${input:hoko-api-key}" }
}
},
"inputs": [{ "type": "promptString", "id": "hoko-api-key", "description": "Hoko API key", "password": true }]
}