> ## Documentation Index
> Fetch the complete documentation index at: https://kernel.sh/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# fx

> Connect fx to the Kernel MCP server

## Install with the Kernel CLI

Run the following command:

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

## Configure manually

Alternatively, add Kernel to the `mcp` map in `~/.fx/mcp.json`:

```json theme={null}
{
  "mcp": {
    "kernel": {
      "type": "http",
      "url": "https://mcp.onkernel.com/mcp",
      "oauth": {}
    }
  }
}
```

## Connect

Start fx, or reload the configuration in an existing session:

```text theme={null}
/mcp reload
```

Then authenticate with Kernel:

```text theme={null}
/mcp auth kernel --open
```

Authorize access in the browser window that opens. You can then run `/mcp list` to verify that Kernel is connected.
