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
{
"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