ethora-mcp-server

Ethora chat platform MCP: apps, users, rooms, AI agents, chat widgets. Hosted or stdio.

¿Debería usar esto?

Calidad y seguridad

B
Calidad de la descripción
99%
Integridad del esquema
90%
Calidad de los nombres
54%
Riesgo de envenenamiento
80%
Coincidencia de permisos
90%
Cumplimiento del protocolo
100%

Hallazgos (26)

  • HIGHTool poisoning patterns detected
  • MEDIUMTool 'ethora-widget-snippet-get' description contains placeholder texten ethora-widget-snippet-get
  • LOWTool 'ethora-status' doesn't follow camelCase/snake_caseen ethora-status
  • LOWTool 'ethora-help' doesn't follow camelCase/snake_caseen ethora-help
  • LOWTool 'ethora-app-select' doesn't follow camelCase/snake_caseen ethora-app-select
  • LOWTool 'ethora-source-site-crawl-wait' doesn't follow camelCase/snake_caseen ethora-source-site-crawl-wait
  • LOWTool 'ethora-source-doc-upload' doesn't follow camelCase/snake_caseen ethora-source-doc-upload
  • LOWTool 'ethora-user-login' doesn't follow camelCase/snake_caseen ethora-user-login
  • LOWTool 'ethora-user-register' doesn't follow camelCase/snake_caseen ethora-user-register
  • LOWTool 'ethora-api-key-create' doesn't follow camelCase/snake_caseen ethora-api-key-create

Basado en el análisis automatizado de las definiciones de herramientas y el cumplimiento del protocolo.

Costo de contexto

~11,369Tokens (definiciones de herramientas)
~3.2 KBTamaño de respuesta típico
Impacto significativo en la atención (8.88% del contexto de 128k)

Este es el número aproximado de tokens que se consumen cada vez que las herramientas del servidor se cargan en el contexto de un modelo. Los recuentos más altos reducen la atención disponible para otras tareas.

Instalar

Instalación con un clic

Agrega esto a tu archivo `claude_desktop_config.json`:

{
  "mcpServers": {
    "ethora-mcp-server": {
      "command": "npx",
      "args": [
        "@ethora/mcp-server"
      ]
    }
  }
}

Paquetes ejecutables

npm@ethora/mcp-server26.11.1stdio

Puntos de conexión remotos

https://mcp.chat.ethora.com/mcp/oauthstreamable-http
https://mcp.chat.ethora.com/mcpstreamable-http

Qué puede hacer

Inventario de herramientas

Herramientas (24)

🟢 Solo lectura🟡 Escritura🔴 Eliminación⚪ Desconocido
🟢ethora-status

Report the current Ethora MCP session state: configured API URL, active auth mode, which credentials are present (booleans like `hasAppJwt` — values never echoed), the selected appId/agentId, and `hosted`/`sessionId` on the hosted (Streamable HTTP) server. Auth: none required. Errors: effectively none. Related: `ethora-doctor` for an active connectivity check.

Esquema de entrada

{
  "type": "object",
  "properties": {}
}
🟢ethora-help(goal)

Task-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 session state. Auth: none required — inspects state, no API calls. Errors: effectively none. Related: pass a recommended recipe id to `ethora-recipe-run`.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "goal": {
      "type": "string",
      "enum": [
        "auto",
        "new-app",
        "in-app-chat",
        "multi-agent-room",
        "widget",
        "chat-test",
        "b2b-bootstrap-ai",
        "broadcast",
        "sources-ingest",
        "files-upload",
        "bot-manage",
        "user-login"
      ],
      "description": "What you are trying to do: `new-app` (a new chat app: create, brand, rooms, users, where it lives), `in-app-chat` (chat inside your existing product with your own UI and users), `multi-agent-room` (several AI agents in one room, talking to people and each other), `widget` (AI chat widget on a website), `chat-test` (post and read messages), `b2b-bootstrap-ai` (server-side provisioning), `broadcast`, `sources-ingest`, `files-upload`, `bot-manage`, `user-login`. Omit or use `auto` for recommendations inferred from the current session state."
    }
  },
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢ethora-app-select(appId, appToken, authMode)

Session-only: remembers which app later calls refer to. Changes nothing on the server and can be called again at any time to switch. Set the current app context for this session so app-scoped tools can omit their `appId` argument. On the hosted server the selection is remembered for the signed-in account (24 hours), so a client that opens a new session per call keeps it; `ethora-app-create` selects the new app by itself, and an account with exactly one app has it selected automatically. Stores `currentAppId` and, if given, `appToken` (which defaults the auth mode to app-token unless `authMode` overrides). Auth: none required to set the context. Errors: effectively none — a non-existent `appId` is not validated here; the first app-scoped API call surfaces the 404. Related: pairs with `ethora-auth-mode-set`.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "appId": {
      "type": "string",
      "description": "24-char hex Ethora appId to set as the current context. Get it from `ethora-app-list`, `ethora-app-create`, or a B2B create/provision response."
    },
    "appToken": {
      "type": "string",
      "description": "Per-app appToken to store alongside the appId. If provided, the active auth mode switches to app-token (unless `authMode` says otherwise). Secret."
    },
    "authMode": {
      "type": "string",
      "enum": [
        "app",
        "user",
        "b2b"
      ],
      "description": "Auth mode to keep after selecting the app. Omit to let the mode default to app-token when an `appToken` is given, or stay unchanged otherwise."
    }
  },
  "required": [
    "appId"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🔴ethora-source-site-crawl-wait(appId, url, followLink, timeoutMs, agentId, ...)

Adds the crawled pages to an agent's knowledge base (the one named by `agentId`, else the app's default agent); existing documents are kept and nothing is deleted. A URL that is already indexed is refused with 409 unless `force: true` re-crawls it. Crawl a website URL and wait for the crawl to finish: enqueues the job, then polls it until it reports `completed` or `failed`. Returns `{ done, status, jobId, polls, durationMs, result }`; `done: false` with a `note` means the budget ran out while the job was still running (it usually finishes server-side anyway). Requires: a selected app (`ethora-app-select`) or an explicit `appId`. Auth: app-token mode OR B2B mode with an explicit `appId`. Errors: 401/403 wrong auth (403 `AGENT_NOT_WRITABLE` when `agentId` is someone else's agent); 400 malformed `url`; 409 already indexed; 504/timeout if it takes longer than `timeoutMs` (the job may still complete server-side - check with `ethora-source-site-list`, or stop it with `ethora-source-site-crawl-cancel`). Related: `ethora-agent-knowledge-get` shows what the agent can search afterwards.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "appId": {
      "type": "string",
      "description": "24-char hex appId to ingest into. Required in B2B mode unless already set via `ethora-app-select`; ignored in app-token mode."
    },
    "url": {
      "type": "string",
      "minLength": 1,
      "description": "Absolute URL to crawl, e.g. `https://example.com/docs`."
    },
    "followLink": {
      "type": "boolean",
      "description": "If true, also crawl in-domain links reachable from `url`. Can ingest many pages — use with care."
    },
    "timeoutMs": {
      "type": "integer",
      "minimum": 1000,
      "maximum": 600000,
      "description": "How long to poll for the crawl to finish, in milliseconds. Default 45000, chosen to stay under the ~60s request timeout most MCP clients enforce. Caps at 600000 (10 min) for clients that allow longer calls."
    },
    "agentId": {
      "type": "string",
      "description": "Agent whose knowledge base gets the content (24-char hex, from `ethora-agent-list` / `ethora-agent-create`). Must be your own agent or one of this app's. Omit to file it under the app's default agent (the one answering its website widget); an app still on the shared Support Agent first gets its own copy of it."
    },
    "force": {
      "type": "boolean",
      "description": "Re-crawl a URL that is already indexed and overwrite the stored copy. Without it an already-indexed URL is refused with 409."
    },
    "agentIdOrAddress": {
      "type": "string",
      "minLength": 1,
      "description": "Alias for `agentId` - either name is accepted, pass whichever you have."
    }
  },
  "required": [
    "url"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟡ethora-source-doc-upload(appId, files, agentId, tags, agentIdOrAddress)

Upload documents (1–5; PDF, text, etc.) into an agent's knowledge base (the one named by `agentId`, else the app's default agent) (app-token / B2B variant of `ethora-source-doc-upload-legacy`). Async - content becomes queryable once indexing finishes; files passed as base64, 50MB max each. Pass `tags` to tag every document of the call in the same request (no separate `ethora-source-doc-tags-update` per document); the result lists each document's id and tags. Requires: a selected app (`ethora-app-select`) or an explicit `appId`. Auth: app-token mode OR B2B mode with an explicit `appId`. Errors: 401/403 wrong auth; 404 unknown `appId`; 413 too large; 422 unsupported document type. Related: `ethora-source-doc-list`, `ethora-source-doc-delete`.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "appId": {
      "type": "string",
      "description": "24-char hex appId to ingest into. Required in B2B mode unless already set via `ethora-app-select`; ignored in app-token mode."
    },
    "files": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "minLength": 1,
            "description": "Document file name including extension, e.g. `handbook.pdf`."
          },
          "mimeType": {
            "type": "string",
            "minLength": 1,
            "description": "MIME type, e.g. `application/pdf`, `text/plain`, `text/markdown`."
          },
          "base64": {
            "type": "string",
            "minLength": 1,
            "description": "Document content, base64-encoded. A `data:...;base64,` prefix is accepted. Max 50MB decoded per file."
          }
        },
        "required": [
          "name",
          "mimeType",
          "base64"
        ],
        "additionalProperties": false
      },
      "minItems": 1,
      "maxItems": 5,
      "description": "1 to 5 documents to ingest in this call."
    },
    "agentId": {
      "type": "string",
      "description": "Agent whose knowledge base gets the content (24-char hex, from `ethora-agent-list` / `ethora-agent-create`). Must be your own agent or one of this app's. Omit to file it under the app's default agent (the one answering its website widget); an app still on the shared Support Agent first gets its own copy of it."
    },
    "tags": {
      "type": "array",
      "items": {
        "type": "string",
        "minLength": 1,
        "maxLength": 64
      },
      "maxItems": 50,
      "description": "Tags to put on every document of this call (up to 50, 64 characters each), e.g. `[\"billing\", \"faq\"]`. An agent with `ragTags` answers only from sources carrying at least one of those tags; an agent without `ragTags` uses everything it has. If the tags match no source the agent has no knowledge to answer from, so tag the sources first. Change them later with `ethora-source-doc-tags-update`."
    },
    "agentIdOrAddress": {
      "type": "string",
      "minLength": 1,
      "description": "Alias for `agentId` - either name is accepted, pass whichever you have."
    }
  },
  "required": [
    "files"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
⚪ethora-user-login(email, password, createApiKey, apiKeyName, apiKeyTtlDays)

Authenticate as an existing Ethora user with email + password. Stores the user session token in this MCP session and unlocks user-auth tools (`ethora-app-list`, `ethora-files-*`, `ethora-wallet-*`). Auth: user-auth mode (`ethora-auth-mode-set` first) and a configured `appJwt`. Errors: 401/403 bad credentials; 404 email not registered; 429 per-IP rate limit — retry with backoff.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "email": {
      "type": "string",
      "format": "email",
      "description": "User's registered email address (RFC 5322). Must match an account created via `ethora-user-register`."
    },
    "password": {
      "type": "string",
      "description": "Plain-text password the user set during registration. Sent over TLS to the Ethora API; never echoed back or logged."
    },
    "createApiKey": {
      "type": "boolean",
      "description": "When true, also mint a long-lived API key for this user and return it once, so headless clients / agents can reconnect with `Authorization: Bearer <key>` instead of logging in again. Default false."
    },
    "apiKeyName": {
      "type": "string",
      "description": "Label for the API key when `createApiKey` is true (e.g. `claude-code-laptop`)."
    },
    "apiKeyTtlDays": {
      "type": "integer",
      "minimum": 1,
      "maximum": 365,
      "description": "Lifetime of the API key in days when `createApiKey` is true. Server default applies when omitted."
    }
  },
  "required": [
    "email",
    "password"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟡ethora-user-register(email, firstName, lastName, password, createApiKey, ...)

Create a new Ethora user account by email + first/last name, then log in and bind the session. A password is generated when omitted and returned once. By default also mints a long-lived API key so an agent can reconnect later with `Authorization: Bearer <key>` (no human step needed). Auth: user-auth mode and a configured `appJwt` (on a hosted server this is preset). Errors: 401 no `appJwt`; 422 email already registered or password shorter than 6 chars; 429 rate limited. Related: bulk provisioning uses `ethora-user-batch-create`.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "email": {
      "type": "string",
      "format": "email",
      "description": "Email address for the new user. Must be RFC-5322 valid and not already registered within this app. No confirmation click is required to log in; the address is used for password reset."
    },
    "firstName": {
      "type": "string",
      "description": "First name shown in the user's profile and message attributions across chat rooms and the app UI."
    },
    "lastName": {
      "type": "string",
      "description": "Last name shown in the user's profile."
    },
    "password": {
      "type": "string",
      "minLength": 6,
      "description": "Password for the account (min 6 chars). Omit to have a strong random password generated and returned once in the result."
    },
    "createApiKey": {
      "type": "boolean",
      "description": "Mint a long-lived API key right after signup and return it once. Default true. Set false if you only need this session."
    },
    "apiKeyName": {
      "type": "string",
      "description": "Label for the API key (default `mcp-signup`)."
    },
    "apiKeyTtlDays": {
      "type": "integer",
      "minimum": 1,
      "maximum": 365,
      "description": "API key lifetime in days. Server default applies when omitted."
    }
  },
  "required": [
    "email",
    "firstName",
    "lastName"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟡ethora-api-key-create(name, ttlDays, confirm)

Mint a revocable API key for the signed-in user, to authorise a script, a CI job or another AI client. The key is a user token with the account's full access: send it as `Authorization: Bearer <key>` to the Ethora API or the hosted MCP endpoint (or set it in the stdio client). Shown once; store it somewhere safe and do not repeat it in later messages. On an OAuth connection (Claude.ai, ChatGPT) this needs the admin permission and `confirm: true`, the key lives 30 days by default and 90 at most, and it keeps working after the connector is disconnected until it expires or is revoked with `ethora-api-key-revoke`. The user can also create and revoke keys in the dashboard under Account > AI Assistants. Requires: a signed-in user. Auth: user mode. Errors: 401 not signed in; 403 `INSUFFICIENT_SCOPE` without the admin permission on an OAuth connection; 409 `API_KEY_LIMIT_REACHED` at 20 active keys; 422 `ttlDays` out of range.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "description": "Label to recognise the key later (e.g. `ci-runner`, `import-script`). Defaults to a label naming the client that created it."
    },
    "ttlDays": {
      "type": "integer",
      "minimum": 1,
      "maximum": 365,
      "description": "Lifetime in days. Default 90 (30 on an OAuth connection, where the maximum is 90)."
    },
    "confirm": {
      "type": "boolean",
      "description": "Required (`true`) on an OAuth connection: acknowledges that the key value will appear in this conversation and is not limited by this connection's permissions."
    }
  },
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟡ethora-feedback-submit(category, message, email, includeRecentErrors)

Send feedback about Ethora to the Ethora team: something that does not work, behaves differently from what the tool description promised, is missing, or is badly documented. It reaches the team directly, so prefer it over guessing or silently giving up when a tool fails. Recent failures in this session (tool, error code, request id) are attached automatically when `includeRecentErrors` is true, which is what makes a report from here more useful than a web form: the team can join it to the server-side log. Works whether or not you are signed in, so a problem that blocks sign-up can still be reported. Do not put credentials, API keys or end-user personal data in `message`; credential-shaped values in the attached context are redacted before sending. Requires: nothing. Auth: none. Works anonymously; when the session is authenticated the report is attributed to that account. Errors: 422 if `message` is shorter than 5 characters or looks like spam; 429 if too many reports were sent from this address.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "category": {
      "type": "string",
      "enum": [
        "bug",
        "unexpected",
        "feature",
        "docs",
        "other"
      ],
      "description": "What kind of report this is: `bug` (something is broken), `unexpected` (it works but not as described), `feature` (a request), `docs` (a description or guide is wrong or missing), `other`. Defaults to `other`."
    },
    "message": {
      "type": "string",
      "minLength": 5,
      "maxLength": 4000,
      "description": "What happened, in the user's own words where possible: what was attempted, what was expected, what occurred instead. No credentials or end-user personal data."
    },
    "email": {
      "type": "string",
      "description": "Reply address. Only useful when the session is not signed in; an authenticated report already carries the account, so leave this out unless the user offers an address."
    },
    "includeRecentErrors": {
      "type": "boolean",
      "description": "Attach this session's last few tool failures (tool name, error code, request id) so the team can trace them. Default true; set false if the report is unrelated to a failure."
    }
  },
  "required": [
    "message"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢ethora-widget-snippet-get(appId, botName, botAvatar, botId, primaryColor, ...)

Generate the <script> tag that embeds the Ethora AI chat widget (the floating launcher + chat panel that website visitors use) for an app, plus the prerequisites that must hold before it answers. No API call; pure generator using this deployment's hosted widget URL and public API base. The widget answers with the app's ACTIVE bot: for API-created apps run `ethora-agent-create` -> `ethora-agent-invite` -> `ethora-agent-activate { agentId, chatJid }` first, otherwise `POST /v2/widget/sessions` returns 422 and the widget stays silent. Requires: an activated agent on the app (`ethora-agent-activate`); without it the widget opens but never answers. Auth: none required (uses the selected app when `appId` is omitted). Errors: effectively none; when no hosted widget is configured the snippet carries a `<WIDGET_URL>` placeholder. The widget's look (colours, texts, launcher) is saved on the app with `ethora-widget-appearance-set` and loads on every embed by itself, so the snippet only needs `data-app-id`; the cosmetic parameters here write attributes into the tag, which then win over the saved look on that site. Related: `ethora-agent-activate`, `ethora-widget-appearance-set`, `ethora-bot-widget-get` (legacy per-app bot only).

Esquema de entrada

{
  "type": "object",
  "properties": {
    "appId": {
      "type": "string",
      "description": "App the widget belongs to (24-char hex). Defaults to the app from `ethora-app-select`."
    },
    "botName": {
      "type": "string",
      "description": "Display name shown in the widget header (`data-bot-name`). Usually leave it out: the widget shows the active agent's name."
    },
    "botAvatar": {
      "type": "string",
      "description": "Avatar image URL shown for the bot (`data-bot-avatar`)."
    },
    "botId": {
      "type": "string",
      "description": "Legacy `data-bot-id` (bot XMPP address); only for old embeds. Prefer `appId`: the backend picks the active agent from the app."
    },
    "primaryColor": {
      "type": "string",
      "description": "Brand colour for launcher and bubbles (`data-primary-color`), e.g. `#0052CC`."
    },
    "locale": {
      "type": "string",
      "description": "UI locale (`data-locale`), e.g. `en`, `fr`, `es`."
    },
    "greeting": {
      "type": "string",
      "description": "Greeting shown when the panel opens (`data-greeting-message`)."
    },
    "position": {
      "type": "string",
      "enum": [
        "right",
        "left"
      ],
      "description": "Launcher corner (`data-position`)."
    },
    "apiBase": {
      "type": "string",
      "description": "Override the public API base (`data-api-base`). Defaults to this deployment's public API URL."
    },
    "widgetUrl": {
      "type": "string",
      "description": "Override the widget bundle base URL (the script is `<widgetUrl>/assistant.js`)."
    }
  },
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢ethora-app-list

List all Ethora apps (tenants) owned by the currently logged-in user. Returns an array with `appId` (24-char hex), `displayName`, `domainName`, ownership and bot-status metadata. Credential fields (appSecret, tenantSecret, appToken, passwords) are redacted in the result; call `ethora-app-credentials-reveal { appId, confirm: true }` to reveal an app's appToken. Auth: user-auth mode, active session (`ethora-user-login` first). Errors: 401 not logged in; empty list if the user owns no apps. Related: feed `appId` into `ethora-app-update` / `ethora-app-select`.

Esquema de entrada

{
  "type": "object",
  "properties": {}
}
🟡ethora-app-create(displayName)

Create a new Ethora app (tenant) owned by the currently logged-in user. Allocates a fresh 24-char hex `appId` and sets the caller as owner; counts against the owner's plan limit. Returns the new app object including `appId`. The returned app has its credential fields redacted; call `ethora-app-credentials-reveal { appId, confirm: true }` when a snippet needs the appToken. Auth: user-auth mode, active session (`ethora-user-login` first). Errors: 401 not logged in; 402/403 plan limit reached; 422 invalid `displayName`. Related: server-side provisioning uses `ethora-b2b-app-create`.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "displayName": {
      "type": "string",
      "description": "Human-readable app name shown to users in the app picker and on the public landing page. Not required to be unique across accounts."
    }
  },
  "required": [
    "displayName"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🔴ethora-app-update(appId, displayName, domainName, appTagline, appDescription, ...)

Overwrites the fields you pass; previous values are not kept and cannot be restored from the API, so confirm changes to the prompt, name or settings with the user first. Update mutable fields on an app the caller owns (displayName, domainName, appTagline, primaryColor, botStatus). Partial update - omitted fields are left unchanged. Requires: an `appId` from `ethora-app-list` or `ethora-app-create`. Auth: user-auth mode, active session; the caller must own the app. Errors: 401 not logged in; 403 not owner; 404 unknown `appId`; 422 validation (e.g. `domainName` taken, `primaryColor` not `#RRGGBB`).

Esquema de entrada

{
  "type": "object",
  "properties": {
    "appId": {
      "type": "string",
      "description": "24-char hex ObjectId of the app to update. Optional — defaults to the app most recently passed to `ethora-app-select`."
    },
    "displayName": {
      "type": "string",
      "description": "New human-readable app name. Visible in the app picker and on the public landing page."
    },
    "domainName": {
      "type": "string",
      "description": "Subdomain to host the web app at. Setting `abcd` makes the web app available at `abcd.ethora.com`. Must be unique across all Ethora apps; lower-case alphanumerics and dashes only."
    },
    "appTagline": {
      "type": "string",
      "description": "Short tagline shown on the public app landing page."
    },
    "appDescription": {
      "type": "string",
      "description": "Deprecated alias for `appTagline`, kept so older callers keep working. Prefer `appTagline`."
    },
    "primaryColor": {
      "type": "string",
      "description": "Primary brand color in hex `#RRGGBB` format (e.g. `#F54927`). Used throughout the app UI."
    },
    "botStatus": {
      "type": "string",
      "enum": [
        "on",
        "off"
      ],
      "description": "`on` enables the AI bot for new conversations (requires a configured prompt — see `ethora-bot-update`); `off` disables it. Does not change the bot's configured prompt or sources."
    }
  },
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟡ethora-chat-create(appId, title, pinned, membersOnly)

Create a new chat room (MUC room) inside an app the caller owns. Every room created this way is listed in the app's rooms (`defaultRooms`). By default it is an open room every user of the app joins automatically (`pinned: true` also pins it in their lists). `membersOnly: true` makes a private room instead: nobody joins it automatically and only people added with `ethora-chat-members-add` (and invited agents) can enter; that tool is in the `rooms` group, listed after `ethora-tools-enable { group: "rooms" }`. Returns the new room object including its JID. Requires: a selected app (`ethora-app-select`) or an explicit `appId`. Auth: user-auth mode, active session; the caller must own the app. Errors: 401 not logged in; 403 not owner; 404 unknown `appId`; 422 invalid `title` (or `membersOnly` on a server that predates it).

Esquema de entrada

{
  "type": "object",
  "properties": {
    "appId": {
      "type": "string",
      "description": "24-char hex ObjectId of the app to create the chat room in. Optional — defaults to the app most recently passed to `ethora-app-select`."
    },
    "title": {
      "type": "string",
      "description": "Display name for the new chat room. Visible to all members; not required to be unique within the app."
    },
    "pinned": {
      "type": "boolean",
      "default": false,
      "description": "If `true`, the room is pinned at the top of users' room lists. Whether users join it automatically is decided by `membersOnly`, not by this flag."
    },
    "membersOnly": {
      "type": "boolean",
      "default": false,
      "description": "If `true`, a private members-only room: nobody is added automatically, add people with `ethora-chat-members-add`. If `false` (default), an open room the app's users join automatically."
    }
  },
  "required": [
    "title"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢ethora-agent-list(appId, visibility, category, limit, offset)

List AI agents (`GET /v2/agents`): by default your own agents plus the public ones. Pass `appId` to list only the agents homed in that app (`GET /v2/apps/:appId/agents`, which needs you to manage the app; B2B tokens always use this form). Agents belong to your account, not to one app, so the same agent can answer in several of your apps. Public agents (e.g. the platform's Support Agent, sample personas) can be tried with `ethora-agent-try` and copied with `ethora-agent-clone`, not edited. Returns agents with ids, names, owner, visibility, categories and config. Auth: user session or B2B token. Errors: 401/403 wrong auth; empty list when nothing matches.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "appId": {
      "type": "string",
      "description": "Only agents whose home app is this 24-char hex appId. In user auth the selected app is NOT applied by default (agents are account-level); with a B2B token the selected app is used."
    },
    "visibility": {
      "type": "string",
      "enum": [
        "mine",
        "public"
      ],
      "description": "`mine` = only your own agents, `public` = only public agents (the directory to clone from). Omit for both."
    },
    "category": {
      "type": "string",
      "enum": [
        "customer-support",
        "persona",
        "entertainment",
        "worker"
      ],
      "description": "Only agents tagged with this category."
    },
    "limit": {
      "type": "integer",
      "minimum": 1,
      "maximum": 200,
      "description": "Page size (max 200)."
    },
    "offset": {
      "type": "integer",
      "minimum": 0,
      "description": "Number of agents to skip, for paging."
    }
  },
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟡ethora-agent-create(appId, name, slug, summary, prompt, ...)

Create a reusable AI agent (POST /v2/apps/:appId/agents). Works in user auth mode (the normal hosted mode) or B2B mode; app-token mode is not accepted by the backend. Each agent is a persona - name, avatar, system prompt, LLM config, plus response-gate settings (responseMode, cooldownSec) that control when it speaks in a room. For multi-agent scenarios (two or more personas conversing in one chat) create each one separately, then `ethora-agent-invite` them into the same room. See the `ethora-agents-quickstart` prompt for the end-to-end recipe. To start from a ready-made public agent instead, `ethora-agent-list { visibility: "public" }` then `ethora-agent-clone`. Requires: a selected app (`ethora-app-select`) or an explicit `appId`. The agent belongs to your account (only you can change it) and is homed in that app; it can still be used in your other apps.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "appId": {
      "type": "string",
      "description": "24-char hex appId the agent belongs to (`POST /v2/apps/:appId/agents`). Defaults to the app selected with `ethora-app-select`. Pass it when you just created an app so the agent lands there rather than in the token's own app."
    },
    "name": {
      "type": "string",
      "description": "Short display name. For multi-agent scenarios, prefer single-word names (e.g. 'Hannibal', 'Varro') — the @-mention matcher uses the exact display name with word-boundary matching."
    },
    "slug": {
      "type": "string",
      "description": "URL-safe slug (auto-generated from name if omitted)."
    },
    "summary": {
      "type": "string",
      "description": "Short bio shown in agent lists."
    },
    "prompt": {
      "type": "string",
      "description": "System prompt — the agent's persona, role, style of speech, and behaviour rules. For multi-agent scenarios, instruct the agent to end every message with an @-mention of who speaks next; that's how turn-handoff works through the response gate."
    },
    "greetingMessage": {
      "type": "string",
      "description": "Optional message the agent posts when it first joins a room."
    },
    "trigger": {
      "type": "string",
      "enum": [
        "any_message",
        "/bot"
      ],
      "description": "Legacy trigger field. Prefer the newer `responseMode` for new agents."
    },
    "responseMode": {
      "type": "string",
      "enum": [
        "always",
        "mentioned",
        "smart",
        "probability"
      ],
      "description": "When the agent decides to reply. 'always' = every room message; 'mentioned' = only when @-mentioned by display name or via /bot (recommended for multi-agent turn-taking); 'smart' = a mini LLM gate decides per-message; 'probability' = coin-flip per message using `responseProbability`."
    },
    "responseProbability": {
      "type": "number",
      "minimum": 0,
      "maximum": 1,
      "description": "If responseMode='probability', odds (0-1) of replying to each message. Damped 0.6x for bot-to-bot messages."
    },
    "cooldownSec": {
      "type": "integer",
      "minimum": 0,
      "description": "Minimum seconds between this agent's replies in a given room. Damped 2x for bot-to-bot. Set 0 for quick turn-taking in multi-agent scenarios."
    },
    "botDisplayName": {
      "type": "string",
      "description": "Display name used inside the chat UI. Defaults to `name`."
    },
    "botAvatarUrl": {
      "type": "string",
      "description": "URL of the avatar image shown next to bot messages."
    },
    "isRAG": {
      "type": "boolean",
      "description": "Enable retrieval-augmented generation from indexed sources."
    },
    "ragTags": {
      "type": "array",
      "items": {
        "type": "string",
        "minLength": 1
      },
      "description": "Restrict this agent's knowledge to sources carrying at least one of these tags; `[]` removes the restriction. If no source carries any of the tags the agent answers without knowledge, so tag the sources first."
    },
    "llmProvider": {
      "type": "string",
      "description": "Leave empty. The deployment has one AI endpoint (OpenAI-compatible); `openai` and `openai-compatible` are accepted as synonyms, anything else is rejected with LLM_PROVIDER_UNSUPPORTED."
    },
    "llmModel": {
      "type": "string",
      "description": "Model id served by this deployment's AI endpoint; omit for the platform default. `ethora-agent-model-list` returns the supported ids; an unsupported id is rejected with LLM_MODEL_UNSUPPORTED and that list."
    },
    "visibility": {
      "type": "string",
      "enum": [
        "private",
        "public"
      ],
      "description": "'private' (only invitable inside the owning app) or 'public' (cross-app invitable)."
    },
    "isPublished": {
      "type": "boolean",
      "description": "Convenience alias for setting visibility='public'."
    },
    "categories": {
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "customer-support",
          "persona",
          "entertainment",
          "worker"
        ]
      },
      "maxItems": 4,
      "description": "Directory categories, any of: `customer-support` (customer-facing assistants), `persona` (a character or historical figure), `entertainment` (quizzes, games, scenarios), `worker` (internal work). Used to filter `ethora-agent-list`. Replaces the agent's current set."
    },
    "flowsYaml": {
      "type": "string",
      "description": "Deterministic scripted conversation for this agent, as YAML. Drives the agent through a fixed sequence (opening menu, appointment request, intake questionnaire, survey) instead of leaving every turn to the model. Compiled and validated server-side on save: an invalid script is rejected with code `FLOWS_INVALID` and per-line details, and nothing is stored. A flow named `start` is reserved and fires when a conversation opens. Buttons are authored here (`buttons:` on a `say` step, or `options:` on an `ask` step). Call `fetch` with id `doc:agent-flows` for the full authoring format before writing one. Pass an empty string to clear the script."
    }
  },
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🔴ethora-agent-update(agentId, name, slug, summary, prompt, ...)

Overwrites the fields you pass; previous values are not kept and cannot be restored from the API, so confirm changes to the prompt, name or settings with the user first. Update a saved AI agent (PUT /v2/agents/:agentId). All fields are optional - only what you pass is updated. Common uses: tune the system `prompt` after a test run, switch `responseMode` to control turn-taking in multi-agent rooms, or adjust `cooldownSec`. See `ethora-agents-quickstart` prompt for the end-to-end recipe. Requires: an agent id or address from `ethora-agent-list` or `ethora-agent-create`. Only the agent's owner can update it: a public agent from someone else, including the platform's Support Agent, answers 403, so `ethora-agent-clone` it and update the copy.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "agentId": {
      "type": "string",
      "minLength": 1,
      "description": "Mongo _id (24 hex chars) of the agent to update."
    },
    "name": {
      "type": "string",
      "description": "New display name. For multi-agent scenarios prefer single-word names — the @-mention matcher uses exact display-name match with word-boundary."
    },
    "slug": {
      "type": "string",
      "description": "URL-safe slug."
    },
    "summary": {
      "type": "string",
      "description": "Short bio."
    },
    "prompt": {
      "type": "string",
      "description": "Updated system prompt (persona + behaviour). For multi-agent rooms instruct the agent to end every message with an @-mention of the next speaker — that's how turn-handoff works through the response gate."
    },
    "greetingMessage": {
      "type": "string",
      "description": "Message the agent posts when it first joins a new room."
    },
    "trigger": {
      "type": "string",
      "enum": [
        "any_message",
        "/bot"
      ],
      "description": "Legacy trigger field. Prefer `responseMode`."
    },
    "responseMode": {
      "type": "string",
      "enum": [
        "always",
        "mentioned",
        "smart",
        "probability"
      ],
      "description": "When the agent replies. 'always' = every message; 'mentioned' = only @-mention or /bot (best for multi-agent turn-taking); 'smart' = mini-LLM decides; 'probability' = coin-flip using `responseProbability`."
    },
    "responseProbability": {
      "type": "number",
      "minimum": 0,
      "maximum": 1,
      "description": "If responseMode='probability', odds (0-1) of replying. Damped 0.6x for bot-to-bot."
    },
    "cooldownSec": {
      "type": "integer",
      "minimum": 0,
      "description": "Minimum seconds between this agent's replies in a given room. Damped 2x for bot-to-bot. Set 0 for quick turn-taking."
    },
    "botDisplayName": {
      "type": "string",
      "description": "Display name in chat UI."
    },
    "botAvatarUrl": {
      "type": "string",
      "description": "Avatar image URL."
    },
    "isRAG": {
      "type": "boolean",
      "description": "Enable RAG retrieval."
    },
    "ragTags": {
      "type": "array",
      "items": {
        "type": "string",
        "minLength": 1
      },
      "description": "Restrict the bot's knowledge to sources carrying at least one of these tags; `[]` removes the restriction."
    },
    "llmProvider": {
      "type": "string",
      "description": "LLM provider override."
    },
    "llmModel": {
      "type": "string",
      "description": "LLM model override."
    },
    "visibility": {
      "type": "string",
      "enum": [
        "private",
        "public"
      ],
      "description": "'private' or 'public' (cross-app invitable)."
    },
    "isPublished": {
      "type": "boolean",
      "description": "Convenience alias for visibility='public'."
    },
    "categories": {
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "customer-support",
          "persona",
          "entertainment",
          "worker"
        ]
      },
      "maxItems": 4,
      "description": "Directory categories, any of: `customer-support` (customer-facing assistants), `persona` (a character or historical figure), `entertainment` (quizzes, games, scenarios), `worker` (internal work). Used to filter `ethora-agent-list`. Replaces the agent's current set."
    },
    "flowsYaml": {
      "type": "string",
      "description": "Deterministic scripted conversation for this agent, as YAML. Drives the agent through a fixed sequence (opening menu, appointment request, intake questionnaire, survey) instead of leaving every turn to the model. Compiled and validated server-side on save: an invalid script is rejected with code `FLOWS_INVALID` and per-line details, and nothing is stored. A flow named `start` is reserved and fires when a conversation opens. Buttons are authored here (`buttons:` on a `say` step, or `options:` on an `ask` step). Call `fetch` with id `doc:agent-flows` for the full authoring format before writing one. Pass an empty string to clear the script."
    },
    "agentIdOrAddress": {
      "type": "string",
      "minLength": 1,
      "description": "Alias for `agentId` - either name is accepted, pass whichever you have."
    }
  },
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟡ethora-agent-activate(agentId, chatJid, appId, agentIdOrAddress)

Make an agent the app's ACTIVE widget bot: sets `App.defaultBotInstanceId` (and `botStatus: on`), which is what `POST /v2/widget/sessions` uses to decide who answers website visitors. Required before an embedded widget can answer on an API-created app. Preconditions: the agent was invited into a room of this app with `ethora-agent-invite` (that creates its bot instance). Works in user auth (app update route); falls back to the app-token `/v2/agents/:id/activate` route when an appToken is stored. Requires: an agent already invited into a room of the selected app (`ethora-agent-create` -> `ethora-chat-create` -> `ethora-agent-invite`); the invite creates the bot instance this tool binds as the app's default responder. Auth: user session (owner of the app). Errors: 404 no bot instance for this agent in the app (invite first); 403 not the app owner. Related: `ethora-widget-snippet-get` next, `ethora-bot-instance-list` to inspect.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "agentId": {
      "type": "string",
      "minLength": 1,
      "description": "Id (or address) of the agent to activate. Get it from `ethora-agent-list` / `ethora-agent-create`."
    },
    "chatJid": {
      "type": "string",
      "description": "Room JID `${appId}_${chatId}` (with or without `@conference...`) that becomes the widget chat. Required for API-created apps; omit only for dashboard-created apps that already have an AI Widget chat bound."
    },
    "appId": {
      "type": "string",
      "description": "App to activate the agent for. Defaults to the app from `ethora-app-select`."
    },
    "agentIdOrAddress": {
      "type": "string",
      "minLength": 1,
      "description": "Alias for `agentId` - either name is accepted, pass whichever you have."
    }
  },
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
⚪ethora-agent-invite(agentIdOrAddress, appId, chatId, chatJid, agentId)

Invite an Agent into a chat room. Multiple agents can coexist in the same room — call this tool once per agent and they will all appear as members able to converse. Lazily creates a per-App BotInstance (an Ethora user with isBot:true) if one does not already exist for (agent, app). Spawns the XMPP client live; no ai-service restart required. For the full multi-agent recipe see the `ethora-agents-quickstart` prompt. Requires: an agent (`ethora-agent-create`) and a room (`ethora-chat-create`) in the selected app.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "agentIdOrAddress": {
      "type": "string",
      "minLength": 1,
      "description": "Either Mongo _id (24 hex chars) or EOA-style address."
    },
    "appId": {
      "type": "string",
      "description": "Required in B2B mode unless already selected via ethora-app-select."
    },
    "chatId": {
      "type": "string",
      "description": "Mongo Chat _id (preferred when invoking from admin)."
    },
    "chatJid": {
      "type": "string",
      "description": "Room JID `${appId}_${chatId}` (optionally with `@conference.<host>`), exactly the `jid` returned by `ethora-chat-create`. Preferred over `chatId`."
    },
    "agentId": {
      "type": "string",
      "minLength": 1,
      "description": "Alias for `agentIdOrAddress` - either name is accepted, pass whichever you have."
    }
  },
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟡ethora-message-send(text, roomJid, chatId, appId, senderName, ...)

Post a message into a chat room of an app (POST /v2/apps/:appId/chats/broadcast targeting one room). The message is attributed to the app's broadcast sender (override the shown name with `senderName`). Use it to seed or test a conversation, e.g. right after `ethora-agent-invite`, and set `waitForReplySec` (up to 60) to wait for an AI agent's answer; replies are returned in `replies`. Identify the room by `roomJid` (`${appId}_${chatId}`, exactly what `ethora-chat-create` returns as `jid`) or by the bare `chatId` plus the selected app. Requires: a room in the selected app (`ethora-chat-create`); for `replies`, an agent invited into it (`ethora-agent-invite`). Auth: user auth (the default on the hosted server) or B2B; app-token mode is not accepted by this route. Errors: 401 not logged in; 403 not the app owner; 404 unknown app/room; 422 empty text. Reply detection needs the message archive (MAM) on the deployment; when it is unavailable `replies` is null and `historyUnavailable` is true.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "text": {
      "type": "string",
      "minLength": 1,
      "maxLength": 4000,
      "description": "Message body to post (1-4000 chars)."
    },
    "roomJid": {
      "type": "string",
      "description": "Room JID `${appId}_${chatId}` (optionally with `@conference.<host>`), as returned by `ethora-chat-create`. Either this or `chatId` is required."
    },
    "chatId": {
      "type": "string",
      "description": "Chat id: either the Mongo chat `_id` (as listed by the app's chat list) or the suffix after `${appId}_` in the room JID. Needs an app: pass `appId` or select one with `ethora-app-select`."
    },
    "appId": {
      "type": "string",
      "description": "24-char hex appId. Optional when `roomJid` carries it or an app is selected."
    },
    "senderName": {
      "type": "string",
      "maxLength": 60,
      "description": "Display name shown as the message sender (defaults to the app's broadcast sender / app name)."
    },
    "waitForReplySec": {
      "type": "integer",
      "minimum": 0,
      "maximum": 60,
      "description": "Seconds to wait for a reply from someone else in the room (an AI agent, typically). 0 (default) returns right after posting."
    }
  },
  "required": [
    "text"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢ethora-chat-history(roomJid, chatId, appId, limit, before)

Read the archived messages of a chat room (GET /v2/apps/:appId/chats/:chatId/messages, newest last). Returns `results` with `from`, `nick`, `body`, `ts` (ms) plus a `nextBefore` cursor for older pages. Identify the room by `roomJid` (`${appId}_${chatId}`) or bare `chatId` plus the selected app. Requires: a room in the selected app (`ethora-chat-create`). Auth: user auth (default on the hosted server) or B2B; app-token mode is not accepted. Errors: 401 not logged in; 403 not the app owner; 404 unknown app/room; 502 MAM_READ_FAILED or `mamUnavailable: true` when the deployment has no message archive.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "roomJid": {
      "type": "string",
      "description": "Room JID `${appId}_${chatId}` (optionally with `@conference.<host>`). Either this or `chatId` is required."
    },
    "chatId": {
      "type": "string",
      "description": "Bare chat id. Needs an app: pass `appId` or select one with `ethora-app-select`."
    },
    "appId": {
      "type": "string",
      "description": "24-char hex appId. Optional when `roomJid` carries it or an app is selected."
    },
    "limit": {
      "type": "integer",
      "minimum": 1,
      "maximum": 500,
      "description": "Maximum number of most-recent messages to return (default 100)."
    },
    "before": {
      "type": "integer",
      "minimum": 0,
      "description": "Pagination cursor: only messages older than this timestamp (ms), from a previous `nextBefore`."
    }
  },
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢ethora-tools-enable(group)

Session-only: changes which tools this connection lists. Touches no account data. Only the core tools are listed by default. Call this to enable another group for this session; the tool list refreshes automatically (tools/list_changed). On the hosted server the enabled groups are remembered for the signed-in account, so a client that opens a new session per call keeps them. Without `group` it returns the catalogue: each group's summary, tool count and whether it is enabled. Groups: keys, session, apps-admin, rooms, agents-admin, sources, widget, users-files, legacy-bot, b2b, wallet; `all` enables everything. Hidden tools are still described by `search` / `fetch`, and each doc names its group. Auth: none. Errors: UNKNOWN_GROUP for a name outside the list.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "group": {
      "type": "string",
      "enum": [
        "keys",
        "session",
        "apps-admin",
        "rooms",
        "agents-admin",
        "sources",
        "widget",
        "users-files",
        "legacy-bot",
        "b2b",
        "wallet",
        "all"
      ],
      "description": "Group to enable, or `all`. Omit to list the groups."
    }
  },
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢search(query)

Search the Ethora documentation and tool reference: auth model (app JWT vs app token vs B2B token vs API keys), hosted-server getting started, chat-component and backend SDK quickstarts, recipes, and a reference entry for every tool with its inputs. Use it for any "how do I ..." question about Ethora before guessing; then call `fetch` with a result id to read the full text. Auth: none required.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "query": {
      "type": "string",
      "description": "Free-text query, e.g. 'create an app', 'invite agent to chat', 'api key bearer header'. Empty returns the getting-started guides."
    }
  },
  "required": [
    "query"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢fetch(id)

Fetch the full text of a documentation section or tool reference entry by the id returned from `search` (e.g. `tool:ethora-app-create`, `doc:auth-map#app-jwt`, `doc:hosted-guide`). Auth: none required. Errors: unknown id.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Document id from a `search` result."
    }
  },
  "required": [
    "id"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}

Comunidad

Califica este servidor

Evidencia

Observaciones recientes

verificadoversión no registrada24 herramientas
requiere autenticaciónversión no registrada—
verificadoversión no registrada24 herramientas
requiere autenticaciónversión no registrada—
verificadoversión no registrada24 herramientas
requiere autenticaciónversión no registrada—
verificadoversión no registrada24 herramientas
requiere autenticaciónversión no registrada—
verificadoversión no registrada24 herramientas
requiere autenticaciónversión no registrada—