genesys-mcp-server
Click on "Install 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., "@genesys-mcp-serverWhat's the SLA for the support queue over the last 7 days?"
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.
Genesys Cloud MCP Server (read-only)
A minimal MCP server wrapping three read-only Genesys Cloud Platform API calls, meant as the
foundation described in ../Genesys-RCA-Agent-Architecture.md.
Grow this by adding more @mcp.tool() functions in server.py as the RCA agent needs more
signal (agent adherence, IVR flow errors, edge/telephony health, quality evaluations, ...).
Tools included:
list_queues(name_filter)— resolve a queue name to its id.get_queue_aggregates(queue_id, start, end)— SLA%, ASA, abandon %, AHT etc. for a window.search_conversations(queue_id, start, end, limit)— conversation-level detail for a window.
Not tested against a live org. The request bodies for the two analytics endpoints follow Genesys Cloud's documented query shape, but Genesys's exact field/metric names have shifted across API versions before. Before wiring this into anything scheduled, run each tool once through the MCP Inspector (step 4) against your real org and fix up any field names that come back wrong — the error message from
GenesysApiErrorwill include Genesys's own response body, which usually says exactly what's missing/misnamed.
1. Create a read-only OAuth client in Genesys Cloud
Admin → Integrations → OAuth → Add Client.
Grant type: Client Credentials.
Roles: assign (or create) a custom role with only view-level permissions — at minimum:
routing:queue:view, and the relevantanalytics:*:viewpermissions for queue observations, queue aggregates, and conversation details. Do not grant any write/edit permissions — this server has no business needing them, and it removes an entire class of risk if the client secret ever leaks.Save, then copy the Client ID and Client Secret — the secret is only shown once.
Note your org's region domain (Admin → Organization Settings, or look at the domain you log in through) — e.g.
mypurecloud.com,usw2.pure.cloud,mypurecloud.ie.
Related MCP server: invgate-mcp
2. Local setup
Requires Python 3.10+. (Not currently installed on this machine — grab it from
python.org or winget install Python.Python.3.12 if you're
setting this up here; a real deployment would run this on a server/container instead anyway.)
cd genesys-mcp-server
python -m venv .venv
.venv\Scripts\activate
pip install -r requirements.txt
copy .env.example .envEdit .env with the client id/secret/environment from step 1.
3. Sanity-check the Genesys auth call
Before involving MCP at all, confirm the OAuth client works:
python -c "from config import Settings; from genesys_client import GenesysClient; s=Settings.from_env(); c=GenesysClient(s.client_id, s.client_secret, s.environment); print(c.request('GET', '/api/v2/routing/queues', params={'pageSize': 1}))"If that prints queue JSON, auth and network access are good. If it raises GenesysAuthError,
double check the client id/secret/environment. If it raises a 403 on the queues call, the
OAuth client's role is missing routing:queue:view.
4. Test the MCP server interactively (no Claude needed yet)
The mcp[cli] package ships an Inspector — a local web UI that lets you call each tool by hand
and see the raw response, without wiring up a real MCP client first:
mcp dev server.pyThis prints a local URL — open it, and you should see list_queues, get_queue_aggregates, and
search_conversations listed as tools. Run list_queues first to get a real queue_id, then
try get_queue_aggregates with a recent time window and see whether the response shape matches
what the tool's docstring promises. Fix up server.py here before moving on.
5. Connect it to Claude
Claude Desktop — one command registers it:
mcp install server.py --name "Genesys Cloud"This writes an entry into Claude Desktop's claude_desktop_config.json pointing at this
server's venv Python and server.py, and picks up your .env automatically. Restart Claude
Desktop and the three tools should show up under the 🔌 icon.
Claude Code (this CLI) — add it as a project or user MCP server:
claude mcp add genesys-cloud -- python "C:\Users\g352280\OneDrive - Principal Financial Group\Ai\Claude\genesys-mcp-server\server.py"(Run that from a real terminal, not this session — Claude Code reads MCP config at startup.)
Or add it by hand to .mcp.json / claude_desktop_config.json:
{
"mcpServers": {
"genesys-cloud": {
"command": "python",
"args": ["C:\\Users\\g352280\\OneDrive - Principal Financial Group\\Ai\\Claude\\genesys-mcp-server\\server.py"]
}
}
}6. Next steps
Add the remaining tools from the architecture doc's catalog (agent adherence, IVR flow execution, edge/telephony health, quality evaluations) the same way — one
@mcp.tool()function per Genesys endpoint, inserver.py.Move
.envsecrets to a real vault (Azure Key Vault) before this runs anywhere but your laptop.Once there's more than a couple of tools, consider splitting
server.pyinto one module per Genesys API area (analytics, routing, telephony, quality) and importing them into a singleFastMCPinstance.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseCqualityDmaintenanceA read-only MCP server that enables users to query Databricks SQL, browse metadata, and monitor Delta Lake tables. It also supports tracking Databricks Jobs, DLT Pipelines, and cluster metrics through natural language interfaces.254MIT
- AlicenseAqualityCmaintenanceA read-only MCP server for InvGate Asset Management, enabling natural language queries for assets, people, computers, servers, software, and API health.12101MIT
- AlicenseBqualityCmaintenanceRead-only MCP server for Google Ads API, enabling natural language queries about campaigns, metrics, search terms, and change history without write access.6MIT
- Alicense-qualityCmaintenanceRead-only MCP server enabling pest and lawn owners to ask FieldRoutes questions in plain English, with owner-shaped tools and a hosted connect vault.MIT
Related MCP Connectors
Official Microsoft MCP Server to query Microsoft Entra data using natural language
GibsonAI MCP server: manage your databases with natural language
Official MCP server for OmniDimension. Drive voice agents, dispatch calls, and run bulk campaigns.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/goodellcurtisPFG/genesys-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server