Skip to content
Zed

Onyx MCP for Zed

io.github.bywaleed/onyx-mcp

Secure MCP access to Onyx search, chat, projects, and administration.

client:Zed transport:stdio runtime:npm

Install Onyx MCP in Zed

~/.config/zed/settings.json · windows: %APPDATA%\Zed\settings.json

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "context_servers": {
    "onyx-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "onyx-mcp"
      ],
      "env": {
        "ONYX_API_URL": "<ONYX_API_URL>",
        "ONYX_API_TOKEN": "<ONYX_API_TOKEN>",
        "ONYX_DEFAULT_PERSONA_ID": "<ONYX_DEFAULT_PERSONA_ID>",
        "ONYX_MCP_ENABLE_WEB_FETCH": "<ONYX_MCP_ENABLE_WEB_FETCH>",
        "ONYX_MCP_WEB_FETCH_ALLOWLIST": "<ONYX_MCP_WEB_FETCH_ALLOWLIST>"
      }
    }
  }
}

Merge this into your existing settings object — do not replace the file. Zed docs

Onyx MCP in other clients