# Connect the MultitaskAI MCP server to LibreChat

LibreChat reads MCP servers from librechat.yaml on your server. Add MultitaskAI under mcpServers 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 librechat.yaml on your LibreChat server.
3. Add the server below under mcpServers, with your key in place of YOUR_API_KEY, and save the file.
4. Restart LibreChat so it loads the new server.
5. In a chat, open the + palette, choose MultitaskAI under MCP Servers and check that its chip appears on the composer.

```yaml
mcpServers:
  multitaskai:
    type: streamable-http
    url: https://mcp.multitaskai.com
    headers:
      Authorization: "Bearer YOUR_API_KEY"
```

## Authentication

LibreChat 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

- A key in librechat.yaml is shared by every user of the instance; for per-user keys use a {{MULTITASKAI_API_KEY}} placeholder with customUserVars.
- Users whose role has the CREATE permission can add the server from MCP Settings in the side panel without a restart.
- The selected model must support tool calls.

## Official documentation

The [LibreChat MCP documentation](https://www.librechat.ai/docs/configuration/librechat_yaml/object_structure/mcp_servers) covers LibreChat's own settings in detail. See the [overview](/docs.md) for the endpoint and authentication, and [pricing](/pricing/) for the daily free requests.
