# Connect the MultitaskAI MCP server to Claude API

The Claude Messages API can call remote MCP servers through its MCP connector. Add MultitaskAI to mcp_servers with your API key as the token.

## Endpoint

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

## Steps

1. Create an API key in your MultitaskAI account.
2. Send the anthropic-beta: mcp-client-2025-11-20 header with your Messages API request.
3. Add MultitaskAI to mcp_servers with your key as authorization_token, and a matching mcp_toolset to tools.
4. Send the request and check the response for mcp_tool_use and mcp_tool_result blocks.

```shell
curl https://api.anthropic.com/v1/messages \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $ANTHROPIC_API_KEY" \
  -H "anthropic-version: 2026-10-21" \
  -H "anthropic-beta: mcp-client-2025-11-20" \
  -d '{
    "model": "claude-opus-5-5",
    "max_tokens": 1000,
    "messages": [{"role": "user", "content": "What tools do you have available?"}],
    "mcp_servers": [
      {
        "type": "url",
        "url": "https://mcp.multitaskai.com",
        "name": "multitaskai",
        "authorization_token": "YOUR_API_KEY"
      }
    ],
    "tools": [
      {
        "type": "mcp_toolset",
        "mcp_server_name": "multitaskai"
      }
    ]
  }'
```

## Authentication

Claude API 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

- The MCP connector is a beta feature and needs the anthropic-beta header on each request.
- authorization_token takes the bare key, without the Bearer prefix.
- Only tool calls are supported, and the server must be reachable from the internet.
- Requests that use the connector are not eligible for zero data retention.

## Official documentation

The [Anthropic MCP documentation](https://platform.claude.com/docs/en/agents-and-tools/mcp-connector) covers Claude API's own settings in detail. See the [overview](/docs.md) for the endpoint and authentication, and [pricing](/pricing/) for the daily free requests.
