Same three moves everywhere: add the server, log in, verify. Every
example asks for all toolsets, which is the right default — narrow it later if
you want a smaller tool list, see Toolsets.
1. Add
claude mcp add --transport http heizen https://api.studio.heizen.work/mcp \
-H "x-heizen-toolsets: all"2. Log in
claude mcp login heizenYour browser opens for approval. /mcp inside a session does the same thing
if you’d rather stay in the TUI.
3. Verify
claude mcp get heizenSigning out later: claude mcp logout heizen.
1. Add
codex mcp add heizen --http-header "x-heizen-toolsets=all" \
-- https://api.studio.heizen.work/mcpOr write it to ~/.codex/config.toml by hand (a project-level
.codex/config.toml takes precedence):
[mcp_servers.heizen]
url = "https://api.studio.heizen.work/mcp"
auth = "oauth"
http_headers = { "x-heizen-toolsets" = "all" }2. Log in
codex mcp login heizen3. Verify
codex mcp listSigning out later: codex mcp logout heizen.
1. Add
{
"mcpServers": {
"heizen": {
"url": "https://api.studio.heizen.work/mcp",
"headers": { "x-heizen-toolsets": "all" }
}
}
}Use .cursor/mcp.json inside a repo to scope the server to one project.
2. Log in
Open Settings → MCP. The heizen row shows Needs login — click it to
start the browser approval.
3. Verify
The row turns green with the tool count next to it. Ask the agent to run
whoami to confirm the account.
1. Add
{
"servers": {
"heizen": {
"type": "http",
"url": "https://api.studio.heizen.work/mcp",
"headers": { "x-heizen-toolsets": "all" }
}
}
}Or from the command line:
code --add-mcp '{"name":"heizen","type":"http","url":"https://api.studio.heizen.work/mcp"}'2. Log in
Run MCP: List Servers from the command palette, pick heizen, then
Start Server — VS Code opens the browser for approval. It also prompts on
the agent’s first tool call.
3. Verify
Same MCP: List Servers entry shows Running; Show Output has the handshake if it doesn’t.
1. Add
{
"mcpServers": {
"heizen": {
"httpUrl": "https://api.studio.heizen.work/mcp",
"headers": { "x-heizen-toolsets": "all" }
}
}
}httpUrl is what selects the streamable-HTTP transport — url would try SSE.
2. Log in
/mcp auth heizen3. Verify
/mcp list1. Add
Settings → Connectors → Add custom connector, paste
https://api.studio.heizen.work/mcp.
2. Log in
Click Connect on the connector and approve in the browser.
3. Verify
The connector lists its tools once connected.
The connector UI can’t send custom headers, so you get the core toolset
only. For the rest, use the stdio bridge on the next tab.
Clients that only speak stdio — Windsurf, Zed, older desktop apps — bridge
through mcp-remote, which runs the OAuth flow for them.
1. Add
{
"mcpServers": {
"heizen": {
"command": "npx",
"args": [
"-y", "mcp-remote",
"https://api.studio.heizen.work/mcp",
"--header", "x-heizen-toolsets: all"
]
}
}
}2. Log in
The first launch opens your browser automatically; tokens are cached in
~/.mcp-auth. To force a fresh sign-in, rm -rf ~/.mcp-auth and restart the
client.
3. Verify
Ask the agent to run whoami.
Anything that speaks streamable HTTP directly can skip the bridge and use the
endpoint as-is — the server advertises
/.well-known/oauth-protected-resource and
/.well-known/oauth-authorization-server, so a compliant client discovers
and registers itself with no extra configuration.
What the browser step is actually doing is covered in Authentication.