# Connect the MultitaskAI MCP server to Kilo Code

Kilo Code reads MCP servers from kilo.jsonc. Add MultitaskAI under the mcp key as a remote server with your API key in the headers.

## Endpoint

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

## Steps

1. Create an API key in your MultitaskAI account.
2. Open ~/.config/kilo/kilo.jsonc for every project, or .kilo/kilo.jsonc in one project.
3. Add the server below under mcp, with your key in place of YOUR_API_KEY, and save the file.
4. Open Settings, then Agent Behaviour, then MCP Servers, and check that MultitaskAI is listed and connected.

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

## Authentication

Kilo Code 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 uses a top-level mcp key, not mcpServers, and type remote.
- Project config wins over the global file, and kilo.json works as well as kilo.jsonc.
- Kilo also supports OAuth for remote servers; set "oauth": false to force the header.
- Tool calls ask for approval; Approve Always saves an allow rule.

## Official documentation

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