---
title: "Connect Claude Code"
summary: "Add Taskloader to Claude Code with one command, then sign in or use an API key."
updated: "2026-11-19"
url: "https://taskloader.com/docs/mcp/clients/claude-code"
---

> Documentation index: https://taskloader.com/llms.txt

# Connect Claude Code

Add Taskloader to Claude Code with one command, then sign in or use an API key.

> **Note:** Checked end to end with Claude Code 2.1.328 on 2026-11-19 using an API key, against a local production build of Taskloader. Signing in with Taskloader is not yet verified with this client. [Status](https://taskloader.com/docs/status.md) lists every app's state.

Claude Code connects to Taskloader over HTTP. Sign in with your Taskloader account (recommended), or give it a personal API key, for example on a server or in CI.

## Add Taskloader and sign in

```bash
claude mcp add --transport http taskloader https://taskloader.com/mcp
# Then run /mcp in Claude Code and choose taskloader to sign in.
```

1. Run the command above in a terminal.
2. In Claude Code, run `/mcp`, choose **taskloader** and sign in (or run `claude mcp login taskloader` in the terminal). Your browser opens Taskloader.
3. Check the consent screen: it should say **Claude Code** wants to use your Taskloader account and show **Verified: claude.ai**. Because Claude Code runs on your computer, it also says so; continue only if you started the connection yourself.
4. Choose what Claude Code may do and which projects it may use, then select **Allow**. [Default and full access](https://taskloader.com/docs/mcp.md#default-and-full-access) explains the choices.

Claude Code renews its access on its own. Run `/mcp` again to see the connection's state or to sign in again.

## With an API key instead

Create a key in Taskloader under **Account settings → API keys**, with only the access the job needs, and keep it in an environment variable. Then add Taskloader with the key as a header:

```bash
claude mcp add --transport http taskloader https://taskloader.com/mcp \
  --header "Authorization: Bearer $TASKLOADER_API_KEY"
```

The shell copies the key into Claude Code's configuration when you run the command, so the key is stored there in plain text, in your local Claude Code settings; keep that file private. Extending the key changes nothing here, because the key stays the same. If you replace it with a new key, run `claude mcp remove taskloader` and add Taskloader again. A key that expires or is revoked stops working at once.

## Share it with your team

To give everyone working in a repository the same setup, commit a `.mcp.json` file at its root. Each person still signs in with their own Taskloader account, and no key belongs in this file.

```json
{
  "mcpServers": {
    "taskloader": {
      "type": "http",
      "url": "https://taskloader.com/mcp"
    }
  }
}
```

## Check it works

Ask Claude Code: "What's overdue in _project_?", naming one of your projects. It should call `search_tasks` (shown as `mcp__taskloader__search_tasks`) and answer with task references such as `northwind/website-launch/TL-012`.

In Taskloader, **Account settings → Connected apps** now lists Claude Code (with an API key, the key's "Last used" changes instead).

## Resources and prompts

- Mention a resource with `@`, for example `@taskloader:taskloader://guide` for the [agent guide](https://taskloader.com/docs/mcp/guide.md).
- Taskloader's prompts appear as slash commands, for example `/mcp__taskloader__daily_standup`. [Resources and prompts](https://taskloader.com/docs/mcp/resources-and-prompts.md) lists them all.

## Confirmations

Taskloader marks deleting, changes to people and roles, creating or accepting invitations, joining a project as an organization admin, organization changes and applying the assistant's changes as needing your confirmation, and Claude Code is expected to ask for permission before each of those calls. Its recorded check on [Status](https://taskloader.com/docs/status.md) made none of them, so this is still to be confirmed. Read what Claude Code proposes before you approve it.

## Disconnect

- Signed in: in Taskloader, open **Account settings → Connected apps** and select **Disconnect** next to Claude Code.
- With an API key: revoke the key in **Account settings → API keys**.
- To remove Taskloader from Claude Code as well: `claude mcp remove taskloader`.

## If something goes wrong

See [Troubleshooting](https://taskloader.com/docs/mcp/troubleshooting.md). `claude mcp list` shows whether Claude Code can reach Taskloader.
