Centrex: MCP server for Genesys Cloud
Centrex is an MCP server and CLI for discovering, reading, and safely changing a Genesys Cloud org through six actions.
Search operations, composite operations, and recipes in English or Spanish.
Describe an operation, recipe, or built-in method, including parameters, permissions, read/write status, and warnings.
Execute read operations only, including query POSTs, job-style reads, composites, pagination, and flow export; writes are refused.
Plan a write without changing the org, showing before/after changes, required permissions, redacted secrets, and a 30-minute single-use planId.
Apply an approved plan after re-reading the resource; refuses stale/gone resources, confirms the write, and logs before/after state.
Check status for org, region, token validity, rate-limit budget, catalog version, read-only mode, pending plans, and output folder.
Use safely with OAuth client-credentials permissions, read-only mode, secret redaction, write logs, no telemetry, and no bulk migration/export.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Centrex: MCP server for Genesys Cloud show me the members of our Support routing queue"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Centrex: MCP server for Genesys Cloud
Centrex is an MCP server for Genesys Cloud™ that lets Claude, GitHub Copilot and other AI assistants read your org and change it safely: every write is a plan you approve first.
It works through six actions on the Genesys Cloud Platform API: search, describe, execute, plan,
apply and status. Reads run directly. Every write goes through a plan a person can see, then an apply of
that plan that a person approves.
It is a command (centrex) and an MCP server (centrex mcp) in one npm package:
centrex on npm.
Website: goateddev.com/centrex · MCP server for Genesys Cloud · Safe writes: plan, approve, apply · Use Claude with Genesys Cloud · Use GitHub Copilot with Genesys Cloud · En español: goateddev.com/es/centrex
Documentation: goateddev.com/centrex/docs is the main documentation, in English and Spanish (en español). This repository holds its source and the issue tracker. The source code is not public.
Install
Centrex needs Node.js 22 or later.
npm install -g centrex
centrex --helpTo use it without installing, put npx -y centrex in place of centrex.
Related MCP server: genesys-mcp
Connect it to your agent
With Claude Code, one command adds the MCP server:
claude mcp add centrex \
-e GENESYSCLOUD_REGION=mypurecloud.ie \
-e GENESYSCLOUD_OAUTHCLIENT_ID=<client id> \
-e GENESYSCLOUD_OAUTHCLIENT_SECRET=<client secret> \
-- npx -y centrex mcpClient | Guide | Step-by-step guide | State |
Claude Code | Supported | ||
GitHub Copilot in VS Code | In testing | ||
Devin (Local and CLI) | In testing |
Centrex signs in with an OAuth client of your org (Client Credentials grant). The agent can do only what the roles of that client allow.
The six actions
Action | What it does | Writes to the org |
| Finds the operation for a question in your own words, in English or Spanish | No |
| Shows the parameters of an operation, the permissions it needs and whether it reads or writes | No |
| Runs one read operation. It refuses every write | No |
| Prepares one write and shows what would change, before and after | No |
| Runs a plan: reads again, writes, confirms and logs | Yes, after you approve |
| Shows the org, the region, the token and the pending plans | No |
The catalog behind them has 3,301 operations of the Platform API, plus recipes for tasks that take several steps.
From a terminal the same actions are commands:
centrex search "queue members"
centrex describe getRoutingQueueMembers
centrex exec getRoutingQueueMembers --params '{"path":{"queueId":"<queueId>"}}'
centrex plan putRoutingQueue --params '{"path":{"queueId":"<queueId>"},"body":{"name":"Support Tier 1"}}'
centrex apply <planId>Why it is safe to hand to an agent
No write without a plan.
executerefuses writes.planwrites nothing and shows the change.applyis the only action that writes.You approve each write. The approval is your client's permission prompt on
apply. Never putapplyin an allow-list.A stale plan is refused. If someone changed the same resource between the plan and the apply, nothing is written.
Plans are single-use and expire after 30 minutes.
Secrets are redacted by field name in plans, logs and saved responses.
Every write is logged in
apply-log.jsonl, with the state before and after. Refusals are logged too.Read-only mode. With
CENTREX_READ_ONLY=1,planandapplyrefuse every write.Nothing leaves your machine except the calls to your org's own region. No telemetry.
The details are in docs/writing-safely.md.
Documentation
Website: Centrex, the MCP server for Genesys Cloud (en español)
Use Claude with Genesys Cloud, step by step (en español)
Use GitHub Copilot with Genesys Cloud, step by step (en español)
Writing safely: plan, then apply, including Architect flow files
What Centrex is not
Centrex does not replace CX as Code (the Terraform provider for Genesys Cloud). It does not export or import a whole org and it does not migrate configuration in bulk between orgs. It works on one org at a time, one approved write at a time.
Questions and problems
Open an issue. Never paste a client secret, a token or data of your org in an issue. To report a security problem, see SECURITY.md.
License
Centrex is proprietary software: free to install and use, not to copy, change or redistribute. See LICENSE. The documentation in this repository is covered by the same copyright.
Centrex is not affiliated with, endorsed by or sponsored by Genesys. Genesys and Genesys Cloud are trademarks of Genesys Cloud Services, Inc.
Available Tools
6 toolsapplyApply a plan (human gate)A
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.
Inputs: planId (required), secrets.
describeDescribe an operation, a recipe or the methodA
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.
Inputs: id (required), expand.
executeRun a read operationA
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).
Inputs: operationId (required), jobId, params, allPages, +5 more.
planPlan a writeA
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.
Inputs: operationId (required), params.
searchSearch operations and recipesA
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.
Inputs: query (required), limit, includeUnstable.
statusOrg and session 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.
Inputs: no named parameters.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
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.
Maintenance
Related MCP Connectors
Discover, compare, route, and execute machine-accessible capabilities for AI agents.
Lets AI agents analyze API metrics, request logs, and traces, and manage apps and alerts.
Supervised API-write gateway for AI agents with policy, human approval and execution receipts.
Turn any task into the right API calls: discover, evaluate, and integrate public APIs.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to build and manage Genesys Cloud resources such as queues, skills, users, wrap-up codes, and Architect flows through natural language, including flow diagramming and server-side publishing.MIT
- AlicenseNot gradedqualityNot gradedmaintenanceEnables building and managing Genesys Cloud resources—such as queues, skills, users, Architect flows, outbound campaigns, and agentic virtual agents—through natural language from any MCP client, including diagramming and publishing via Genesys' own pipelines.MIT
- AlicenseNot gradedqualityNot gradedmaintenanceEnables AI clients to build and manage Genesys Cloud resources—queues, skills, users, Architect flows, outbound campaigns, and agentic virtual agents—through natural language, with real integrations and no mocks.MIT
- AlicenseNot gradedqualityNot gradedmaintenanceEnables AI clients to build and manage cloud contact-center resources such as queues, skills, users, wrap-up codes, Architect flows, outbound campaigns and cadences, and agentic virtual agents through natural language, with diagram previews and server-side publishing.MIT