Skip to main content
Glama
Genesys Cloud MCP Server

Genesys Cloud MCP Server

by Roshan1491

Genesys Cloud MCP Server

npm Follow me on LinkedIn for updates

A Model Context Protocol (MCP) server for Genesys Cloud's Platform API.

Features

Tool

Description

Search Queues

Searches for queues by their name (supports wildcards)

Query Queue Volumes

Retrieves conversation volumes and member count by Queue IDs

Sample Conversations By Queue

Retrieves a representative sample of Conversation IDs for a Queue ID

Voice Call Quality

Retrieves voice call quality metrics for one or more conversations by ID

Conversation Sentiment

Retrieves the sentiment for one or more conversations by ID

Conversation Topics

Retrieves the topics for a conversation by ID

Search Voice Conversation

Searches voice conversations by optional criteria

Conversation Transcript

Retrieves conversation transcript

OAuth Clients

Retrieves a list of all the OAuth clients

OAuth Client Usage

Retrieves OAuth client usage for given period

Related MCP server: analytics-mcp

Usage with Claude Desktop

MCP Bundle

This MCP Server provides an MCP Bundle (.mcpb file) along with each release, which is a single-click installable package for Claude Desktop. To use it:

  1. Download the .mcpb file from the latest release

  2. In Claude Desktop navigate to Settings > Extensions.

  3. Open the .mcpb file with Claude

  4. Configure the Region and OAuth Client for the extension

The extension will now be available in your conversations.

NPX

Add this to your claude_desktop_config.json:

{
  "mcpServers": {
    "genesys-cloud": {
      "type": "stdio",
      "command": "npx",
      "args": ["-y", "@makingchatbots/genesys-cloud-mcp-server"],
      "env": {
        "GENESYSCLOUD_REGION": "<PUT REGION HERE>",
        "GENESYSCLOUD_OAUTHCLIENT_ID": "<PUT OAUTHCLIENT ID HERE>",
        "GENESYSCLOUD_OAUTHCLIENT_SECRET": "<PUT OAUTHCLIENT SECRET HERE>"
      }
    }
  }
}

Usage with Gemini CLI

Add below to your .gemini/settings.json file. You can read more about the setup from the official guide.

{
  "mcpServers": {
    "genesysCloud": {
      "command": "npx",
      "args": ["-y", "@makingchatbots/genesys-cloud-mcp-server"],
      "env": {
        "GENESYSCLOUD_REGION": "${GENESYSCLOUD_REGION}",
        "GENESYSCLOUD_OAUTHCLIENT_ID": "${GENESYSCLOUD_OAUTHCLIENT_ID}",
        "GENESYSCLOUD_OAUTHCLIENT_SECRET": "${GENESYSCLOUD_OAUTHCLIENT_SECRET}"
      }
    }
  }
}

Authentication

This currently only supports a stdio server. To configure authentication you'll need to:

  1. Create an OAuth Client in Genesys Cloud

  2. Assign the permissions to it for the tools you want to be used

  3. Provide the following environment variables when referencing the server:

    • GENESYSCLOUD_REGION

    • GENESYSCLOUD_OAUTHCLIENT_ID

    • GENESYSCLOUD_OAUTHCLIENT_SECRET

Development

Getting Started

nvm use
npm install
npm run dev

Under active development

This is part of personal project to create a conversational Business Insights tool. It is a practical way for me to learn MCP servers, and how best to represent Genesys Cloud's Platform APIs in a way that can be easily consumed by LLMs.

There will be a lot of changes, and I will be sure to share my learnings in my newsletter.

Available Tools

10 tools
conversation_sentimentA

Retrieves sentiment analysis scores for one or more conversations. Sentiment is evaluated based on customer phrases, categorized as positive, neutral, or negative. The result includes both a numeric sentiment score (-100 to 100) and an interpreted sentiment label.

Inputs: conversationIds (required).

conversation_topicsA

Retrieves Speech and Text Analytics topics detected for a specific conversation. Topics represent business-level intents (e.g. cancellation, billing enquiry) inferred from recognised phrases in the customer-agent interaction.

Inputs: conversationId (required).

conversation_transcriptA

Retrieves a structured transcript of the conversation, including speaker labels, utterance timestamps, and sentiment annotations where available. The transcript is formatted as a time-aligned list of utterances attributed to each participant (e.g., customer or agent)

Inputs: conversationId (required).

oauth_clientsA

Retrieves a list of all OAuth clients, including their associated roles and divisions. This tool is useful for auditing and managing OAuth clients in the Genesys Cloud organization.

Inputs: no named parameters.

oauth_client_usageA

Retrieves the usage of an OAuth Client for a given period. It returns the total number of requests and a breakdown of Platform API endpoints used by the client.

Inputs: endDate (required), startDate (required), oauthClientId (required).

query_queue_volumesA

Returns a breakdown of how many conversations occurred in each specified queue between two dates. Useful for comparing workload across queues. MAX 300 queue IDs.

Inputs: endDate (required), queueIds (required), startDate (required).

sample_conversations_by_queueA

Retrieves conversation analytics for a specific queue between two dates, returning a representative sample of conversation IDs. Useful for reporting, investigation, or summarisation.

Inputs: endDate (required), queueId (required), startDate (required).

search_queuesA

Searches for routing queues based on their name, allowing for wildcard searches. Returns a paginated list of matching queues, including their Name, ID, Description (if available), and Member Count (if available). Also provides pagination details like current page, page size, total results found, and total pages available. Useful for finding specific queue IDs, checking queue configurations, or listing available queues.

Inputs: name (required), pageSize, pageNumber.

search_voice_conversationsA

Searches for voice conversations within a specified time window, optionally filtering by phone number. Returns a paginated list of conversation IDs and call duration for use in further analysis or tool calls.

Inputs: endDate (required), startDate (required), pageSize, pageNumber, +1 more.

voice_call_qualityA

Retrieves voice call quality metrics for one or more conversations by ID. This tool specifically focuses on voice interactions and returns the minimum Mean Opinion Score (MOS) observed in each conversation as structured JSON. MOS is a measure of perceived audio quality based on factors such as jitter, latency, packet loss, and codec. Use the following legend to interpret MOS values:

• Poor: MOS < 3.5 • Acceptable: 3.5 ≤ MOS < 4.3 • Excellent: MOS ≥ 4.3

Inputs: conversationIds (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.9/5.0

    Scored across 10 tools

    Disambiguation5/5

    Each tool targets a distinct resource and output type: queue search, queue sampling, volume counts, voice quality, sentiment, topics, transcripts, and OAuth usage. Even the two queue-based analytics tools are clearly separated by whether they return sample conversation IDs or workload counts.

    Naming Consistency3/5

    All names use snake_case and are readable, but the naming convention is mixed: some tools start with verbs like 'search' or 'query', while others are noun phrases like 'voice_call_quality', 'conversation_sentiment', and 'oauth_clients'. A consistent verb_noun pattern would improve predictability.

    Tool Count5/5

    Ten tools is a well-scoped number for a contact-center analytics and OAuth audit server. Each tool serves a distinct purpose and the count is comfortably within the ideal range.

    Completeness4/5

    The tool set supports the core workflow of finding queues and conversations, then analyzing transcripts, sentiment, topics, and voice quality. Minor gaps exist, such as no general non-voice conversation search and no OAuth client management operations, but these are largely outside the apparent read-only analytics scope.

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables querying Google Analytics data and configuration through natural language using the Data and Admin APIs.
      Apache 2.0
    • F
      license
      Not graded
      quality
      Not graded
      maintenance
      Enables querying Google Analytics 4 data through natural language, including running reports, comparing periods, and exploring realtime metrics across multi-tenant properties with OAuth-based authentication.
      -