Centrex

MCP server for Genesys Cloud: Claude, GitHub Copilot and other AI assistants read your org and change it safely; every write is a plan you approve first. Not affiliated with Genesys.

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 · En español: goateddev.com/es/centrex

This repository holds the documentation 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
ClientGuideState
Claude Codedocs/claude-code.mdSupported
GitHub Copilot in VS Codedocs/github-copilot.mdIn testing
Devin (Local and CLI)docs/devin.mdIn 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

ActionWhat it doesWrites to the org
searchFinds the operation for a question in your own words, in English or SpanishNo
describeShows the parameters of an operation, the permissions it needs and whether it reads or writesNo
executeRuns one read operation. It refuses every writeNo
planPrepares one write and shows what would change, before and afterNo
applyRuns a plan: reads again, writes, confirms and logsYes, after you approve
statusShows the org, the region, the token and the pending plansNo

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. execute refuses writes. plan writes nothing and shows the change. apply is the only action that writes.
  • You approve each write. The approval is your client's permission prompt on apply. Never put apply in 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, plan and apply refuse 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

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.