MCP connection

Connect the agent you already use to Distilled. The server speaks Streamable HTTP and authenticates with a bearer API key.

Endpoint
https://mcp.distilled.cx/mcp
Transport
Streamable HTTP
Auth
Authorization: Bearer <API key>

It speaks the 2026-07-28 revision of the protocol and still answers 2025-era clients. Read-only keys see only the read tools.

Get a key

Create a key under Developers in the console. To configure a client by hand, export it as DISTILLED_API_KEY.

Quick setup

The installer asks for your key, checks it, saves it to ~/.config/distilled/api-key, and connects opencode, Claude Code and Cursor, whichever are installed. It needs Node.js 18+ or Bun.

macOS and Linux

curl -fsSL https://mcp.distilled.cx/install | sh

Windows PowerShell

irm https://mcp.distilled.cx/install.ps1 | iex

Claude Code

Run once in your terminal.

claude mcp add --transport http --scope user distilled https://mcp.distilled.cx/mcp --header "Authorization: Bearer $DISTILLED_API_KEY"

opencode

Add this under mcp in opencode.jsonc, with the key saved in ~/.config/distilled/api-key. Restart opencode after editing.

"distilled": {
  "type": "remote",
  "url": "https://mcp.distilled.cx/mcp",
  "headers": {
    "Authorization": "Bearer {file:~/.config/distilled/api-key}"
  },
  "oauth": false,
  "enabled": true
}

Next

See MCP tools for everything the server exposes.