# Connect the MultitaskAI MCP server to GitHub Copilot CLI

GitHub Copilot CLI brings the Copilot agent to your terminal. Add MultitaskAI as a remote MCP server with one command, using 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. Start copilot and run /mcp show multitaskai to check its status and tools.

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

## Authentication

GitHub Copilot 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

- You need a Copilot plan, and an organisation policy can turn MCP off.
- The command writes to ~/.copilot/mcp-config.json, or to $COPILOT_HOME when it is set.
- Inside a session, /mcp add opens a form for the name, type, URL and headers, and needs no restart.
- copilot mcp list and copilot mcp get multitaskai check the server from a shell.

## Official documentation

The [GitHub MCP documentation](https://docs.github.com/en/copilot/how-tos/copilot-cli/customize-copilot/add-mcp-servers) covers GitHub Copilot CLI's own settings in detail. See the [overview](/docs.md) for the endpoint and authentication, and [pricing](/pricing/) for the daily free requests.
