> ## Documentation Index
> Fetch the complete documentation index at: https://tbd-6fc993ce-hypeship-docs-live-view-connection-failed.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Goose

> Connect Goose Desktop and Goose CLI to the Kernel MCP server

**Using Kernel CLI (recommended):**

```bash theme={null}
kernel mcp install --target goose
```

The command displays YAML configuration for your Goose config file. Compare it with the settings below and add any missing callback port, client metadata, or cache directory before pasting it.

Each client needs a separate OAuth callback port as well as a separate cache to authorize while other clients are running. The config below uses `46096` for Goose. If you customize it, choose an unused port that no other client uses.

**Install link:**
Click [here](goose://extension?cmd=npx\&arg=-y\&arg=mcp-remote\&arg=https%3A%2F%2Fmcp.onkernel.com%2Fmcp\&arg=46096\&arg=--static-oauth-client-metadata\&arg=%7B%22client_name%22%3A%22Goose%22%7D\&env=MCP_REMOTE_CONFIG_DIR\&timeout=300\&id=kernel\&name=Kernel\&description=Access%20Kernel%27s%20cloud-based%20browsers%20via%20MCP) to add Kernel to Goose. When prompted, set `MCP_REMOTE_CONFIG_DIR` to an absolute directory dedicated to Goose so another client's cached registration can't be reused.

## Goose Desktop

1. Click `Extensions` in the sidebar of the Goose Desktop.
2. Click `Add custom extension`.
3. On the `Add custom extension` modal, enter:
   * **Extension Name**: `Kernel`
   * **Type**: `STDIO`
   * **Description**: `Access Kernel's cloud-based browsers via MCP`
   * **Command**: `npx -y mcp-remote https://mcp.onkernel.com/mcp 46096 --static-oauth-client-metadata '{"client_name":"Goose"}'`
   * **Environment variable**: Set `MCP_REMOTE_CONFIG_DIR` to an absolute directory dedicated to Goose.
   * **Timeout**: `300`
4. Click `Save Changes` button.

## Goose CLI

1. Run the following command:
   ```bash theme={null}
   goose configure
   ```
2. Select `Add Extension` from the menu.
3. Choose `Command-line Extension`.
4. Follow the prompts:
   * **Extension name**: `Kernel`
   * **Command**: `npx -y mcp-remote https://mcp.onkernel.com/mcp 46096 --static-oauth-client-metadata '{"client_name":"Goose"}'`
   * **Environment variable**: Set `MCP_REMOTE_CONFIG_DIR` to an absolute directory dedicated to Goose.
   * **Timeout**: `300`
   * **Description**: `Access Kernel's cloud-based browsers via MCP`

If you previously authorized Kernel and the consent screen still shows **MCP CLI Proxy**, close Goose, 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 Goose and authorize again. This also signs out other clients using that cache.
