# Connect the MultitaskAI MCP server to Junie

Junie is the JetBrains coding agent inside its IDEs. Add MultitaskAI to Junie's mcp.json from the IDE's MCP Settings with its URL and your API key.

## Endpoint

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

## Steps

1. Create an API key in your MultitaskAI account.
2. In your JetBrains IDE, open Settings, then Tools, then Junie, then MCP Settings.
3. Click Add on the toolbar to open ~/.junie/mcp/mcp.json.
4. Add the server below, with your key in place of YOUR_API_KEY, and save the file.
5. Check the Status column on the MCP Servers list to confirm that MultitaskAI is connected.

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

## Authentication

Junie 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

- Open the settings with Ctrl+Alt+S, then go to Tools, Junie, MCP Settings.
- For one project, use .junie/mcp/mcp.json in the project root, but keep the key out of committed files.
- If the header is ignored, the server shows Authorization required and Junie offers an Authorize flow to sign in with OAuth instead.
- Hover the status icon to see connection errors.

## Official documentation

The [JetBrains MCP documentation](https://junie.jetbrains.com/docs/junie-cli-mcp-configuration.html) covers Junie's own settings in detail. See the [overview](/docs.md) for the endpoint and authentication, and [pricing](/pricing/) for the daily free requests.
