# Create your MCP token

_Connect an AI assistant · 3 min read · Updated 2026-10-28 · https://lanachat.ai/guides/ai-create-mcp-token/_

The token is the key your assistant uses to enter your workspace. You create it once in the Console. It is shown once, then never again.

> Note: Only the workspace owner and agency owners can open **API & MCP**. Everyone else sees "Owner access required".

## Create it, step by step

1. In the Console, open **Users › API & MCP** (at the bottom of the sidebar).
2. Press **Create token**.
3. **Name**: write the assistant it is for, for example `Claude Code on my Mac`. One token per assistant: you can then revoke one without touching the others.
4. **Access type**: keep **Workspace permissions**. It ticks creators, media, Telegram, employees, AI configuration and publishing, fan history and sales.
5. Tick **Generate Playground replies** as well. The assistant needs it to test the brain before publishing. The access type switches to **Custom permissions**: that is expected, the other boxes stay ticked.
6. Leave **Read reply diagnostics** and **Spend the balance on licences** off for now.
7. Press **Create token**.
8. The token appears once. Press **Copy token** and paste it where you will use it (next guide). **Copy client configuration** gives a JSON block with the address and the token; each assistant needs its own format, given in the next guides.
9. Press **Done, I saved it**.

![The new token panel, shown once: Copy token, Copy client configuration and Done, I saved it](https://lanachat.ai/guides/img/api-mcp/new-token.png)
## The boxes, in short

| Box | Tick it for the setup? | Why |
|---|---|---|
| Manage workspace setup | Yes | creators, Vault, Telegram, team |
| Configure agency AI (Access AI configuration in the owner workspace) | Yes | brains, persona, scripts as drafts |
| Generate Playground replies | Yes | test replies before publishing (needs a positive balance) |
| Publish agency AI (Publish AI Brain drafts in the owner workspace) | Yes | create her first brain, publish and turn replies on, after your "yes" |
| Read fans and conversations | Yes | daily questions about fans |
| Import fan history | Optional | bring fans from another tool |
| Read sales | Yes | daily sales questions |
| Read reply diagnostics | No | only to debug a strange reply |
| Spend the balance on licences | No | money: keep it for yourself |

## Good to know

- The token is valid **365 days**. Renew it with **Rotate** before it ends.
- You can change the boxes later with **Edit**, without changing the token. Restart the assistant afterwards so it picks up the change.
- The token is a password. Keep it out of chats, e-mails and screenshots. See [Keep your token safe](https://lanachat.ai/guides/ai-security/).

Next: connect [Claude Code](https://lanachat.ai/guides/ai-connect-claude-code/), [Codex](https://lanachat.ai/guides/ai-connect-codex/), or [Claude Desktop, Cursor and VS Code](https://lanachat.ai/guides/ai-connect-desktop-editors/).

## Related

- [Start here: what an AI assistant can do for you](https://lanachat.ai/guides/ai-start-here/)
- [Keep your token safe](https://lanachat.ai/guides/ai-security/)
- [API & MCP: connect an AI assistant](https://lanachat.ai/guides/api-mcp/)
