1
Connect a server
${LINEAR_KEY} reads your environment or ~/.config/hai/.env, so keys stay out of the file. -d is a hint for the agent.2
Check it
--check connects to each server and counts its tools:✗ and its error.3
Run an agent
Every shell-mode agent on this machine gets them all.
- CLI
- Python
- TypeScript
What the agent runs
The agent sees each server’s name and description, and loads theh/mcporter skill:
What stays private
mcporter reaches the servers through a local resolver, the one port the sandbox opens for it. Its config holds a run token, no key.
A local command server runs as you, outside the sandbox, with only PATH, HOME, locale, and temp variables. Pass anything else with -e NAME=value.
Session body
POST /api/v2/sessions takes an optional connections array: up to 100 { "name", "description"? }, description up to 200 characters. Python and holo fill it from mcp.json.