Skip to content

Connect VS Code and Copilot

On the machine where you ran the installer, the one-step setup is in Use with your agent: it needs no key. This page is for a remote install.

  1. Install the hermitbox CLI where the Copilot MCP process runs.
  2. Start VS Code with HERMITBOX_API_URL and HERMITBOX_API_KEY in its private environment.
  3. Merge this into ~/.copilot/mcp-config.json, restart the native agent harness, and ask for project defaults, a sandbox, hello and cleanup. Use an image only for containers.
{
"mcpServers": {
"hermitbox": {
"type": "stdio", "command": "hermitbox", "args": ["mcp"], "tools": ["*"],
"env": { "HERMITBOX_API_URL": "${HERMITBOX_API_URL}", "HERMITBOX_API_KEY": "${HERMITBOX_API_KEY}" }
}
}
}

The current VS Code reference defines this native-harness file; COPILOT_HOME can relocate its directory. It also describes shared project configurations. Host tier boundaries still apply.

run it yourself
$curl -fsSL https://hbx.sh | sh
or ask your agent
Install Hermitbox and set it up for me
agents can read every page: llms.txt · llms-full.txt