Ciele

Ciele MCP server

Give an MCP client controlled access to Ciele administration operations.

The Ciele Model Context Protocol (MCP) server exposes the administration operations to an AI agent. It has two transports, and both register the same tools.

  • The hosted endpoint is POST /api/mcp on your deployment. Use it for a client that connects over HTTP.
  • The local server is a stdio process that you start from a repository checkout.

Every tool call reaches the Organization through /api/v1, so an operation has one execution path whichever transport asked for it.

Hosted endpoint

Each Ciele deployment serves the endpoint at its own origin. This includes the hosted service, a Docker self-host, and the local stack of Ciele Desktop. The endpoint needs no configuration.

https://ciele.example.edu/api/mcp

Authenticate with an Organization API key in the Authorization header:

Authorization: Bearer ciele_sk_...

An unknown or absent key is refused with 401 before any tool is listed.

The key Role is the permission boundary

The hosted endpoint has no read-only switch. Its permissions are the Role of the key: the operations layer refuses a mutation the Role does not cover with 403. A Viewer key is not a read-only agent, though. Reviewing conversations counts as curation, so a Viewer key can pin a conversation, leave feedback, and delete a conversation. Use CIELE_MCP_READ_ONLY=1 on a stdio server when you need an agent that cannot write at all.

Protocol revisions

The server speaks the 2026-07-28 revision and the 2025 revisions. It decides the revision from the opening exchange, so a client that has not moved to 2026-07-28 still works.

The 2026-07-28 revision removed protocol sessions. Each request is self-contained, so the hosted endpoint needs no sticky routing and no session store.

Local stdio server

Requirements

  • Use Node.js 22.6 or later.
  • Clone the Ciele repository.
  • Create an Organization API key.
  • Use an MCP client that can start a local stdio server.

Start this program from the repository:

node <repo>/packages/mcp/bin/ciele-mcp.mjs

Environment variables

VariableRequirementPurpose
CIELE_API_KEYRequiredAuthenticates the Organization.
CIELE_BASE_URLOptionalSelects a self-hosted origin.
CIELE_MCP_READ_ONLYOptionalRefuses mutation actions when the value is 1.
CIELE_MCP_MODERN_ONLYOptionalRefuses 2025-revision clients when the value is 1.

The read-only check occurs inside the MCP process. A refused mutation does not make an API request.

These variables apply to the local server only

A Ciele web container ignores CIELE_MCP_READ_ONLY and CIELE_MCP_MODERN_ONLY. Do not set them on a deployment and expect the hosted endpoint to obey.

Recommended first connection

Use a viewer key and set CIELE_MCP_READ_ONLY=1. Remove one restriction only when the agent must change Ciele data.

Available tools

ToolCurrent operations
ciele_identityRead deployment, Organization, and Role information.
manage_assistantsList, read, create, update, duplicate, or delete Assistants.
manage_flowsList, read, create, update, reorder, or delete Flows.
manage_knowledgeManage Collections, Sources, and FAQs.
publish_assistantRead status, publish, unpublish, or restore a publication.
read_inboxList, read, export, pin, annotate, rate, or delete Conversations.
manage_improvementsList, read, or update Improvements.
manage_entitiesManage Organization Entities and typed Records.
manage_memoriesInspect settings and perform scoped Memory erasure.
manage_ssoManage identity claims and the Organization SSO connection.
manage_help_desksManage Help Desks, channels, ordering, and ServiceNow.
manage_teammatesManage AI Teammates and read your own Teammate conversations.
manage_channelsRead and shape the teammate channels you are in.
manage_configurationManage Skills, Assistant Skill selection, Goals, and Alerts.
manage_organizationManage Organization settings, Members, Invites, and API keys.
manage_integrationsManage Assistant API integrations and model providers.

The server registers sixteen tools. Each domain tool uses an action field for its operations.

Read-only mode classifies each action. It permits list, read, status, query, and export actions while refusing mutations.

See AI clients for the configuration of each supported client.

Check the connection

Ask the client to call ciele_identity. Confirm the expected Organization ID, Role, API version, and domain list.

The repository test suite also starts the real stdio process. It verifies initialization, tool discovery, and an authenticated API call.

On this page