LanaChat

Connect Claude Code

2 min readUpdated Markdown

Claude Code adds the LanaChat MCP server with one command. You need Claude Code installed (guide) and your token (guide).

Add the server #

  1. Open a terminal.
  2. Paste this command. Replace YOUR_MCP_TOKEN with your token, keep the word Bearer and the space after it.
claude mcp add --transport http --scope user lanachat https://api.lanachat.ai/mcp --header "Authorization: Bearer YOUR_MCP_TOKEN"

Press Enter. Claude Code answers that it added the server lanachat.

What each part means:

PartMeaning
--transport httpthe server speaks Streamable HTTP
--scope useravailable in every folder you open, not only this one
lanachatthe name of the server in Claude Code
https://api.lanachat.ai/mcpthe LanaChat MCP address
--header "Authorization: Bearer …"your token, sent with each call

Tip To keep the token out of your terminal history on a Mac or Linux, type read -s LANACHAT_MCP_TOKEN, press Enter, paste the token (nothing shows), press Enter, then run the same command with Bearer $LANACHAT_MCP_TOKEN in place of Bearer YOUR_MCP_TOKEN.

Check it is connected #

  1. Start Claude Code: type claude and press Enter.
  2. Type /mcp and press Enter.
  3. lanachat shows as connected, with its tools.

From the terminal, claude mcp list gives the same answer without starting a session.

Change or remove it #

  • New token (after a rotation): claude mcp remove lanachat --scope user, then add it again with the new token.
  • Changed the boxes of the token with Edit: quit Claude Code and start it again, so it reads the new tool list.

Next: test the connection.

Latest news about Lana on Telegram

New releases and news, first in the channel.