---
title: "Claude Code"
description: "Add mixetape to Claude Code as an MCP server, so Anthropic's terminal coding agent can schedule, move and cancel your social posts."
---

> Documentation Index
> Fetch the complete documentation index at: https://docs.mixetape.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Claude Code

1. **Add the server**

```sh
claude mcp add --transport http mixetape https://mixetape.com/mcp -s user
```

   `-s user` makes it available in every project; leave it out to add it to the current
   one only.
2. **Sign in**

   In Claude Code, run `/mcp`, pick **mixetape** and choose to authenticate. A browser tab
   opens on mixetape: sign in, tick the [permissions](/concepts/api-keys) the agent gets and
   press **Allow**. Claude Code keeps the access fresh by itself.
3. **Try it**

   Ask the agent to "list my mixetape channels". It calls `list_accounts` and answers with your connected channels. To add one from the agent, see [Connecting channels](/agents#connecting-accounts).

> **With an API key instead**
>
> For a headless run (CI, a routine), create a key under **API keys** and add the server with
> `--header "Authorization: Bearer mxt_…"`; nothing then needs a browser.

> **Tip**
>
> In a session that was already running, reconnect the server (`/mcp`) or start a new one
> to see the tools.

Source: https://docs.mixetape.com/agents/claude-code/index.mdx
