# Connect the MultitaskAI MCP server to MCPHub.nvim

MCPHub.nvim brings MCP servers to Neovim chat plugins from servers.json. Add MultitaskAI with its URL and 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/mcphub/servers.json.
3. Add the server below, with your key in place of YOUR_API_KEY, and save the file.
4. Run :MCPHub in Neovim and check that MultitaskAI is listed.

```json
{
  "mcpServers": {
    "multitaskai": {
      "url": "https://mcp.multitaskai.com",
      "headers": {
        "Authorization": "Bearer YOUR_API_KEY"
      }
    }
  }
}
```

## Authentication

MCPHub.nvim 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

- MCPHub.nvim serves Avante.nvim, CodeCompanion.nvim and CopilotChat.nvim.
- Header values support ${ENV_VAR} placeholders, such as Bearer ${MULTITASKAI_API_KEY}, so the file can stay free of secrets.
- Servers can also be added from the Hub view by pressing H.

## Official documentation

The [ravitemer (open source) MCP documentation](https://ravitemer.github.io/mcphub.nvim/mcp/servers_json.html) covers MCPHub.nvim's own settings in detail. See the [overview](/docs.md) for the endpoint and authentication, and [pricing](/pricing/) for the daily free requests.
