
centrex
io.github.KamiSama-97/centrex
MCP server for Genesys Cloud™: Claude, Copilot and other AI assistants read and safely change an org
Documentation
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 --help
To use it without installing, put npx -y centrex in place of centrex.
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 mcp
| Client | Guide | Step-by-step guide | State |
|---|---|---|---|
| Claude Code | docs/claude-code.md | Use Claude with Genesys Cloud (en español) | Supported |
| GitHub Copilot in VS Code | docs/github-copilot.md | Use GitHub Copilot with Genesys Cloud (en español) | In testing |
| Devin (Local and CLI) | docs/devin.md | 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 |
|---|---|---|
search | Finds the operation for a question in your own words, in English or Spanish | No |
describe | Shows the parameters of an operation, the permissions it needs and whether it reads or writes | No |
execute | Runs one read operation. It refuses every write | No |
plan | Prepares one write and shows what would change, before and after | No |
apply | Runs a plan: reads again, writes, confirms and logs | Yes, after you approve |
status | 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
- Claude Code
- GitHub Copilot
- Devin
- The method of the expert agent
- Reference: environment variables and the output folder
- Changelog
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.
centrexnpm install centrex