Skip to main content
Glama
Centrex: MCP server for Genesys Cloud

Centrex: MCP server for Genesys Cloud

README.md
# 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](https://www.npmjs.com/package/centrex).

**Website:** [goateddev.com/centrex](https://goateddev.com/centrex/) ·
[MCP server for Genesys Cloud](https://goateddev.com/centrex/mcp-server/) ·
[Safe writes: plan, approve, apply](https://goateddev.com/centrex/safe-writes/) ·
[Use Claude with Genesys Cloud](https://goateddev.com/centrex/claude/) ·
[Use GitHub Copilot with Genesys Cloud](https://goateddev.com/centrex/github-copilot/) ·
En español: [goateddev.com/es/centrex](https://goateddev.com/es/centrex/)

**Documentation:** [goateddev.com/centrex/docs](https://goateddev.com/centrex/docs/) is the main documentation,
in English and Spanish ([en español](https://goateddev.com/es/centrex/docs/)). This repository holds its source
and the issue tracker. The source code is not public.

[![Centrex: MCP server for Genesys Cloud – quality and maintenance score on Glama](https://glama.ai/mcp/servers/KamiSama-97/centrex-docs/badges/score.svg)](https://glama.ai/mcp/servers/KamiSama-97/centrex-docs)

## Install

Centrex needs Node.js 22 or later.

```sh
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:

```sh
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](docs/claude-code.md) | [Use Claude with Genesys Cloud](https://goateddev.com/centrex/claude/) ([en español](https://goateddev.com/es/centrex/claude/)) | Supported |
| GitHub Copilot in VS Code | [docs/github-copilot.md](docs/github-copilot.md) | [Use GitHub Copilot with Genesys Cloud](https://goateddev.com/centrex/github-copilot/) ([en español](https://goateddev.com/es/centrex/github-copilot/)) | In testing |
| Devin (Local and CLI) | [docs/devin.md](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:

```sh
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](docs/writing-safely.md).

## Documentation

- [Website: Centrex, the MCP server for Genesys Cloud](https://goateddev.com/centrex/)
  ([en español](https://goateddev.com/es/centrex/))
- [Use Claude with Genesys Cloud](https://goateddev.com/centrex/claude/), step by step
  ([en español](https://goateddev.com/es/centrex/claude/))
- [Use GitHub Copilot with Genesys Cloud](https://goateddev.com/centrex/github-copilot/), step by step
  ([en español](https://goateddev.com/es/centrex/github-copilot/))
- [Writing safely: plan, then apply](docs/writing-safely.md), including Architect flow files
- [Claude Code](docs/claude-code.md)
- [GitHub Copilot](docs/github-copilot.md)
- [Devin](docs/devin.md)
- [The method of the expert agent](docs/expert-method.md)
- [Reference: environment variables and the output folder](docs/reference.md)
- [Changelog](CHANGELOG.md)

## 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](https://github.com/KamiSama-97/centrex-docs/issues). Never paste a client secret, a token or
data of your org in an issue. To report a security problem, see [SECURITY.md](SECURITY.md).

## License

Centrex is proprietary software: free to install and use, not to copy, change or redistribute. See
[LICENSE](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.

TDQS

A4.5/5.0

Scored across 6 tools

Disambiguation5/5

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.'

Naming Consistency5/5

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.

Tool Count5/5

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.

Completeness5/5

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

ActivityMaintained
ResponsivenessNo recent community issues