# Connect the MultitaskAI MCP server to Cline CLI

Cline CLI runs the Cline agent in your terminal. Add MultitaskAI as a remote MCP server with one command that passes its URL and your API key.

## Endpoint

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

## Steps

1. Create an API key in your MultitaskAI account.
2. Run the command below in your terminal, with your key in place of YOUR_API_KEY.
3. Run cline config mcp to check that MultitaskAI is listed.

```shell
cline mcp add multitaskai https://mcp.multitaskai.com --transport http --header "Authorization: Bearer YOUR_API_KEY" --yes
```

## Authentication

Cline CLI 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

- Without --yes, the command opens the cline mcp wizard with the fields already filled in.
- The CLI stores servers in ~/.cline/data/settings/cline_mcp_settings.json, or at the path in CLINE_MCP_SETTINGS_PATH.
- If you write the JSON by hand, set "type": "streamableHttp", because an entry without a type is treated as legacy SSE.

## Official documentation

The [Cline MCP documentation](https://docs.cline.bot/mcp/adding-and-configuring-servers) covers Cline CLI's own settings in detail. See the [overview](/docs.md) for the endpoint and authentication, and [pricing](/pricing/) for the daily free requests.
