Set up Cline
Connect Cline 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 Cline 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
In Cline, open MCP Servers, then Configure MCP Servers, and add this to cline_mcp_settings.json:
{
"mcpServers": {
"programmable": {
"command": "npx",
"args": [
"-y",
"[email protected]",
"https://programmable.run/mcp/YOUR_WORKSPACE",
"--header",
"Authorization:${PROGRAMMABLE_AUTH}"
],
"env": {
"PROGRAMMABLE_AUTH": "Bearer YOUR_ACCESS_KEY"
}
}
}
}Cline starts it when you save (it needs Node.js, for npx). Then ask Cline something. That file is Cline's own, outside your projects, so the key never lands in a repository.
Check it works
Ask “Using programmable, which APIs can you call?”. The call shows in Developers > Logs. If Cline says 401 or can't connect, see Troubleshooting.