Onyx MCP for Claude Code
io.github.bywaleed/onyx-mcp
Secure MCP access to Onyx search, chat, projects, and administration.
client:Claude Code
transport:stdio
runtime:npm
Install Onyx MCP in Claude Code
run in your project directory
claude mcp add onyx-mcp -e ONYX_API_URL=<ONYX_API_URL> -e ONYX_API_TOKEN=<ONYX_API_TOKEN> -e ONYX_DEFAULT_PERSONA_ID=<ONYX_DEFAULT_PERSONA_ID> -e ONYX_MCP_ENABLE_WEB_FETCH=<ONYX_MCP_ENABLE_WEB_FETCH> -e ONYX_MCP_WEB_FETCH_ALLOWLIST=<ONYX_MCP_WEB_FETCH_ALLOWLIST> -- npx -y onyx-mcp
Adds it for this project only. Append --scope user to make it available everywhere. Claude Code docs