Centrex: MCP server for Genesys Cloud
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| CENTREX_READ_ONLY | No | Set to 1 to enable read-only mode, where plan and apply refuse every write. | |
| GENESYSCLOUD_REGION | Yes | The Genesys Cloud region, for example mypurecloud.ie. | |
| GENESYSCLOUD_OAUTHCLIENT_ID | Yes | The OAuth client ID for your Genesys Cloud org. | |
| GENESYSCLOUD_OAUTHCLIENT_SECRET | Yes | The OAuth client secret for your Genesys Cloud org. |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
Centrex operates one Genesys Cloud org through the Platform API. Reads: search (find the operation in your own words), describe (learn its parameters, permissions and whether it reads or writes), then execute. Writes: plan (shows what would change and writes nothing), show the plan to the human, then apply with its planId. execute refuses every write. apply is the human gate: the client's permission prompt on it is how the human approves a plan. status says which org, region and token you are working with. Before any work that designs, builds, fixes or diagnoses something in the org, read the method with describe (id 'method') and follow it.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| searchA | Start here. Finds operations of the Genesys Cloud Platform API, composite operations (several reads in one call) and recipes (step-by-step guides) for a query in your own words, English or Spanish, and returns a few one-line results with their ids. Next, describe the id you want before calling it. Calls nothing in Genesys. |
| describeA | Shows how to call one id from search. For an operation: its path, query and body parameters, one level of the body and response fields, the permissions it requires, whether it is a read or a write, and any warning. For a composite operation: its inputs, output and the reads it makes. For a recipe: its numbered steps with the operation ids of each. The ids 'method', 'method:diagnosis' and 'method:testing' return the method to follow when designing, building, fixing or diagnosing; they are not in search. A read goes to execute; a write goes to plan, then apply. Calls nothing in Genesys, except that 'method:diagnosis' reads which org this is to find its local suspects list. |
| executeA | Runs one read and returns the parsed response: a GET, a query POST, a job-style read (an analytics, audit or usage query job, which it submits, polls and fetches in one call) or a composite operation. Write operations (PUT, PATCH, DELETE and every other POST) are refused: use plan, then apply. A listing returns one page with a pagination note saying how to ask for more; allPages reads every page up to maxItems. A response larger than maxInlineBytes is saved to a file in the org's responses folder and summarized. A job still running at jobTimeoutMs comes back with job.status 'pending': call execute again with its jobId to keep waiting instead of submitting it again. An analytics body interval that ends in the future is clamped to now before it is sent; the result's notes say so. One POST is run as a read although it is not a query POST: postFlowsExportJobs exports one flow as YAML to a file in the org's flows folder and returns the file path (describe it for its body). |
| planA | The first step of every write; writes nothing. Prepares one write operation and shows what would change: for PUT and PATCH, the fields that change as before and after (a PUT replaces the whole resource: fields its body leaves out are listed as removed); for a creating POST, the payload validated against the body shape; for an action POST, the resource it acts on; for DELETE, the whole resource; stateKnown false when no GET reads the current state. Lists the permissions required, saves the plan and returns its planId, valid for 30 minutes. Values under secret field names (apiKey, password, token...) are redacted in the saved plan and listed in secretFields: apply needs them again in its secrets argument. Publishing a flow YAML file has its own path: plan postFlowsJobs with body { file } freezes a copy of the file and shows update or create, the diff against the published flow and which validation ran (describe postFlowsJobs). Show the plan to the human, then call apply with the planId. Refused in read-only mode. |
| applyA | The second step of a write, and the human gate: runs one pending plan by its planId. Re-reads the resource and refuses when a field the plan touches (or its version) changed since the plan or the resource is gone; otherwise writes, re-reads to confirm, appends a record to the org's apply log and returns the confirmed state. A plan is applied once. Call it only after the human has seen the plan: the client's permission prompt on this tool is how the human approves the write, so this tool must never be allow-listed. Refused in read-only mode. |
| statusA | Where am I: the org, region, token validity, rate-limit budget, catalog version, read-only flag, number of pending plans and the output folder. Call it to confirm which org you are working on before reading or writing. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 6 tools
Each tool occupies a distinct stage of the workflow: search discovers ids, describe explains an id, execute runs reads, plan prepares writes, apply commits approved plans, and status reports context. Boundaries are reinforced by explicit handoffs such as 'A read goes to execute; a write goes to plan, then apply.'
All six tools use single-word, lowercase, command-style names with a consistent imperative feel. There is no mixing of casing or verb/noun conventions, and the set reads as one coherent interface.
Six tools are well-scoped for an API gateway that must discover operations, inspect schemas, execute reads, safely stage writes, confirm them, and report context. There are no redundant tools and no obvious missing control surface.
The surface covers the full lifecycle: discovery via search, schema inspection via describe, read execution via execute, write preparation and human approval via plan/apply, and environment confirmation via status. It also explicitly handles pagination, job-style reads, composite operations, files, and write refusal in read-only mode.