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

Centrex: MCP server for Genesys Cloud

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.

Centrex: MCP server for Genesys Cloud – quality and maintenance score on Glama

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.

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

Available Tools

6 tools
applyApply 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.

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

    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

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables 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
    • A
      license
      Not graded
      quality
      Not graded
      maintenance
      Enables 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
    • A
      license
      Not graded
      quality
      Not graded
      maintenance
      Enables 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
    • A
      license
      Not graded
      quality
      Not graded
      maintenance
      Enables 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