Skip to main content
Using Kernel CLI (recommended):
Compare the installed Kernel entry with the manual example below. Add any missing OAuth metadata, callback port, or cache directory before authorizing. Manual setup:
  1. Press ⌘/Ctrl , to open settings.
  2. Paste this Linux example, changing the cache path to an absolute directory in your home directory:
Each client needs a separate MCP_REMOTE_CONFIG_DIR and OAuth callback port. The 46097 argument sets Zed’s port so it can authorize while other clients are running. The CLI preserves an existing explicit port; if you customize it, choose an unused port that no other client uses. If you previously authorized Kernel and the consent screen still shows MCP CLI Proxy, close Zed, update the config above, then remove the cache it used (~/.mcp-auth/mcp-remote-v1/ by default, or mcp-remote-v1/ under your custom MCP_REMOTE_CONFIG_DIR). Reopen Zed and authorize again. This also signs out other clients using that cache.