Claude Code

Ethora MCP server for Claude Code

One command adds the hosted Ethora MCP server to Claude Code. From then on the assistant in your terminal can create apps, rooms, agents and knowledge bases while it writes the code that talks to them.

One-liner install Sign in from /mcp stdio option for CI
Ethora MCP server

In 30 seconds

Claude Code registers remote MCP servers with claude mcp add --transport http. For Ethora, add https://mcp.chat.ethora.com/mcp/oauth and sign in from the /mcp panel, or add https://mcp.chat.ethora.com/mcp with no account to search the docs and quickstarts while you code. The server is the hosted Streamable HTTP endpoint with more than 100 tools. --scope user makes it available in every project; claude mcp list verifies it.

Use this if

  • you build with Claude Code and want it to provision the Ethora app, rooms and agents your code integrates with
  • you want the same tools in every project without pasting config files
  • you need a headless variant for CI or scripted runs

Best for: developers who live in the terminal and want Ethora provisioning and app code in the same session.

Step by step

1

Add the server

One command. The sign-in URL lets Claude Code build in your account; the open URL needs no account and gives it the Ethora docs, SDK quickstarts and recipes, which is enough to write an integration.

# to build: the sign-in URL
claude mcp add --transport http ethora https://mcp.chat.ethora.com/mcp/oauth

# or, no account: docs, quickstarts, recipes
claude mcp add --transport http ethora https://mcp.chat.ethora.com/mcp
2

Sign in

Start Claude Code, type /mcp, pick ethora and choose Authenticate. A browser window opens: sign in, or create a free account there, and click Allow. Scripts and machines that cannot sign in can use an API key instead, as a Bearer header or in the path; see authentication.

3

Pick a scope

The default scope is local: stored in ~/.claude.json for the current project only. --scope user loads it in all your projects. --scope project writes .mcp.json at the project root for version control, and the sign-in URL keeps secrets out of it: each developer authenticates from /mcp. Claude Code prompts before using project-scoped servers.

# global for you, every project
claude mcp add --transport http ethora --scope user https://mcp.chat.ethora.com/mcp/oauth

# shared with the team, no secret in the repo
claude mcp add --transport http ethora --scope project https://mcp.chat.ethora.com/mcp/oauth
4

Verify

claude mcp list prints every server with its health; claude mcp get ethora shows details. Inside a session /mcp shows status, authenticates OAuth servers, toggles, clears authentication or reconnects. Then ask for ethora-status: authMode: user and hosted: true mean you are set.

claude mcp list
# ethora should show as connected
claude mcp get ethora
# inside a session:
/mcp
5

A worked terminal session

Start Claude Code in your project and describe the app. It provisions through the MCP tools and can write the integration in the same turn: ethora-widget-snippet-get for the website widget, ethora-chat-component-app-generate for a chat component App.tsx.

$ claude
> Create an Ethora app called Support Desk with a room called Tickets,
  create a triage agent, invite it to the room, post “My invoice is wrong”
  and show the reply. Then give me the widget script tag for our site.

# calls, in order: ethora-app-create, ethora-app-select, ethora-chat-create,
# ethora-agent-create, ethora-agent-invite, ethora-message-send,
# ethora-agent-activate, ethora-widget-snippet-get
6

stdio for CI and scripted runs

Where a job cannot hold a personal key, run the local package with an app JWT from environment variables. In claude -p runs project-scoped servers load without prompting. Same tools; app deletion is off unless ETHORA_MCP_ENABLE_DANGEROUS_TOOLS=true.

claude mcp add ethora -e ETHORA_API_URL=https://api.chat.ethora.com/v1 -e ETHORA_APP_JWT="JWT <your app jwt>" -- npx -y @ethora/mcp-server

# or start it directly for another stdio client
ETHORA_API_URL=https://api.chat.ethora.com/v1 ETHORA_APP_JWT="JWT <your app jwt>" npx -y @ethora/mcp-server

The tools this uses

Names and descriptions come from the server’s own tool list. Read-only tools are safe to auto-approve; destructive ones make your client ask first. Full reference.

ToolNameWhat it doesAccess
Session Statusethora-statusReport the current Ethora MCP session state: configured API URL, active auth mode, which credentials are present (booleans like hasAppJwt - values never echoed),...read-only
Help and Next Stepsethora-helpTask-oriented orientation for this MCP server: explains the three Ethora auth modes (user / app-token / B2B) and recommends next tool calls + recipes based on current...read-only
Register Accountethora-user-registerCreate a new Ethora user account by email + first/last name, then log in and bind the session.write
Log Inethora-user-loginAuthenticate as an existing Ethora user with email + password.write
Create API Keyethora-api-key-createMint a revocable API key for the signed-in user, to authorise a script, a CI job or another AI client.write
List API Keysethora-api-key-listList the current user’s API keys (id, name, createdAt, expiresAt).read-only
Revoke API Keyethora-api-key-revokeRevoke one of the current user’s API keys by id.destructive
List Appsethora-app-listList all Ethora apps (tenants) owned by the currently logged-in user.read-only
Create Appethora-app-createCreate a new Ethora app (tenant) owned by the currently logged-in user.write
Generate Chat Component App.tsxethora-chat-component-app-generateGenerate a ready-to-paste React App.tsx snippet that mounts @ethora/chat-component.read-only

A worked example

“Create an Ethora app called Support Desk with a room called Tickets, create a triage agent and invite it, post "My invoice is wrong" and show the reply, then generate the App.tsx that mounts the chat component for that room.”
  1. ethora-app-create { displayName: "Support Desk" }
  2. ethora-app-select { appId }
  3. ethora-chat-create { title: "Tickets" }
  4. ethora-agent-create { name: "Triage", prompt: "You triage support questions..." }
  5. ethora-agent-invite { agentIdOrAddress, chatJid }
  6. ethora-message-send { text: "My invoice is wrong", roomJid, waitForReplySec: 45 }
  7. ethora-chat-component-app-generate { roomJid }

A provisioned app with a live triage agent, the reply in the terminal, and a ready-to-paste App.tsx.

Good to know

FAQ

How do I add a remote MCP server to Claude Code?

Run claude mcp add --transport http with a name and the server URL. For Ethora use https://mcp.chat.ethora.com/mcp/oauth, then type /mcp in Claude Code, pick ethora and choose Authenticate to sign in. Servers that take keys instead get an Authorization Bearer value through --header. Check it with claude mcp list.

What does --scope user do in claude mcp add?

It stores the server in your user configuration so it loads in every project on your machine, instead of the default local scope for the current project only. Project scope writes .mcp.json at the repo root for sharing with a team, so keep secrets out of it.

How do I check that an MCP server is connected in Claude Code?

Run claude mcp list from the shell; it shows each server with its connection health. Inside a session the /mcp command opens a panel with status, OAuth authentication, toggles and reconnect. For Ethora, asking for ethora-status confirms authMode: user and hosted: true.

Can Claude Code run the Ethora MCP server in CI?

Yes. Use the stdio package with an app JWT in environment variables through claude mcp add with -e flags and the npx command, as shown in the stdio step above. Non-interactive claude -p runs load project-scoped servers without prompting, which suits pipelines.

Get started

Add Ethora to Claude Code

Run claude mcp add with the sign-in URL and authenticate from /mcp, or start with the open URL and no account. The tool reference lists every call Claude Code can make.

Free tier available No account needed to start Self-host with the monoserver