Set up VS Code
Connect VS Code to programmable.run: where the URL and access key go, and what to do next.
Before you start
Sign in, add an API and make an access key for VS Code in Developers > API keys (the quickstart walks through it). Developers > API keys then shows these lines with your own URL and key in them, ready to copy. Below, https://programmable.run/mcp/YOUR_WORKSPACE and YOUR_ACCESS_KEY stand in for them.
Add it
Add this to .vscode/mcp.json in your project, or to your own file (run "MCP: Open User Configuration"):
{
"inputs": [
{
"type": "promptString",
"id": "programmable-key",
"description": "programmable.run access key",
"password": true
}
],
"servers": {
"programmable": {
"type": "http",
"url": "https://programmable.run/mcp/YOUR_WORKSPACE",
"headers": {
"Authorization": "Bearer ${input:programmable-key}"
}
}
}
}When VS Code asks for it, paste your access key. It's kept outside the file.
Press Start above the server. VS Code asks for your key once: paste it, then ask Copilot's agent mode something.
Developers > API keys also gives a one-click “Add to VS Code” link for your new key.
Check it works
Ask “Using programmable, which APIs can you call?”. The call shows in Developers > Logs. If VS Code says 401 or can't connect, see Troubleshooting.