# Connect the MultitaskAI MCP server to Crush

Crush is Charm's terminal coding agent. Add MultitaskAI with one line in your crushrc file, using its URL and your API key as a header.

## Endpoint

```text
https://mcp.multitaskai.com
```

## Steps

1. Create an API key in your MultitaskAI account.
2. Open ~/.config/crush/crushrc for every project, or .crushrc in one project.
3. Add the line below, with your key in place of YOUR_API_KEY, and save the file.
4. Start Crush and ask which MultitaskAI tools it can use.

```shell
mcp add multitaskai --type http --url https://mcp.multitaskai.com --header Authorization "Bearer YOUR_API_KEY"
```

## Authentication

Crush sends your MultitaskAI API key in the Authorization header. Create a key in your account and use it in place of YOUR_API_KEY. Keep the key out of files you share or commit.

```text
Authorization: Bearer YOUR_API_KEY
```

## Good to know

- crushrc is a Bash file with Crush builtins; the older crush.json format still works but is deprecated.
- On Windows the global file is %USERPROFILE%\.config\crush\crushrc.
- The header takes its name and value as two separate arguments, not as one colon string.
- Because crushrc is Bash, the key can come from an environment variable or a secret manager command instead of the file.

## Official documentation

The [Charm MCP documentation](https://github.com/charmbracelet/crush#mcps) covers Crush's own settings in detail. See the [overview](/docs.md) for the endpoint and authentication, and [pricing](/pricing/) for the daily free requests.
