# Connect the MultitaskAI MCP server to Kilo CLI

Kilo CLI runs the Kilo Code agent in your terminal. Add MultitaskAI as a remote MCP server in kilo.json with its URL and your API key.

## Endpoint

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

## Steps

1. Create an API key in your MultitaskAI account.
2. Open ~/.config/kilo/kilo.json for every project, or kilo.json in one project.
3. Add the server below, with your key in place of YOUR_API_KEY, and save the file.
4. Run kilo mcp list in your terminal to check that MultitaskAI is listed.

```json
{
  "mcp": {
    "multitaskai": {
      "type": "remote",
      "url": "https://mcp.multitaskai.com",
      "enabled": true,
      "headers": {
        "Authorization": "Bearer YOUR_API_KEY"
      }
    }
  }
}
```

## Authentication

Kilo 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

- kilo.jsonc and .kilo/kilo.json are accepted too, and project config wins over global.
- {env:MULTITASKAI_API_KEY} can replace the literal key, but only in the global config.
- The default timeout is 5000 ms, and /mcps in the TUI toggles servers.

## Official documentation

The [Kilo Code MCP documentation](https://kilo.ai/docs/automate/mcp/using-in-cli) covers Kilo CLI's own settings in detail. See the [overview](/docs.md) for the endpoint and authentication, and [pricing](/pricing/) for the daily free requests.
