Genesys Flow MCP

Genesys Flow MCP

Connects to Genesys Cloud to list IVR routes and retrieve IVR flow configurations, generating readable Markdown documentation covering business and technical details, prompts, and integrations.

Category
访问服务器

README

Genesys Flow MCP

Local MCP server that connects to Genesys Cloud, lists IVR routes, retrieves an IVR's configured open-hours flow, and produces readable Markdown documentation.

The generated document is structured for both business and technical readers:

  • Route — IVR name, ID, state, DNIS (when available), and configured flow.
  • Business Focus — the flow purpose and customer menu routing.
  • Technical Focus — flow settings, variables, prompts/TTS, tasks, menus, and decision paths.
  • Integrations and Routing Dependencies — Data Actions, Bot Flows, and ACD queues.

Prerequisites

  • Node.js 18 or later
  • A Genesys Cloud OAuth client using the Client Credentials grant
  • Permissions to read Architect IVRs and flows in the relevant Genesys Cloud organisation

Install and configure

Install dependencies:

cd <path-to-genesys-flow-mcp>
npm install

Create a .env file in the project root:

GENESYS_CLIENT_ID=your-client-id
GENESYS_CLIENT_SECERET=your-client-secret
GENESYS_REGION=ie

Important: GENESYS_CLIENT_SECERET is intentionally spelled this way because it matches the current source code. Do not rename it to SECRET unless you also update src/config/env.ts.

Set GENESYS_REGION to your Genesys Cloud region suffix, for example ie for mypurecloud.ie.

Run locally

For development:

npm run dev

For the compiled server used by desktop clients:

npm run build
npm start

The server uses the MCP stdio transport. It is started by the MCP client; it does not expose a browser URL or HTTP port.

Test with MCP Inspector

Use the MCP Inspector to test the server directly before connecting it to Claude Desktop:

cd <path-to-genesys-flow-mcp>
npm run inspect

The Inspector opens a local browser interface. In it:

  1. Connect to the server using the default stdio configuration.

  2. Open the Tools tab.

  3. Run get_ivrs to confirm Genesys authentication and route retrieval.

  4. Run get_flow_by_name with an IVR name, for example:

    {
      "name": "testt call"
    }
    
  5. Check that the response starts with the Route section and includes the configured flow, prompts, and integrations.

Available tools

get_ivrs

Returns the Genesys Cloud routing/IVR list.

Example request:

List the available Genesys IVRs.

get_flow_by_name

Looks up an IVR by name, retrieves its configured open-hours flow, and returns Markdown documentation.

Input:

{
  "name": "testt call"
}

Example request:

Use get_flow_by_name for the IVR named "testt call".

If the IVR is not found, or it has no open-hours flow, the tool returns an error describing the problem.

What the generated documentation includes

The documentation follows the relationship below:

Genesys IVR Route
        ↓
Configured Open-Hours Flow
        ├── Business Focus: customer routing and menu choices
        └── Technical Focus: prompts, variables, tasks, menus, integrations

Integration detection covers the common Architect dependencies below:

Architect element Documented as
DataAction Data Action / Web Services Data Action
CallBotFlowAction Bot Flow, including name and flow ID
TransferPureMatchAction ACD Queue

All TTS prompts found in tasks and menu greetings are included in the technical flow walk.

Test with Claude Desktop

  1. Build the project:

    cd <path-to-genesys-flow-mcp>
    npm run build
    
  2. In Claude Desktop, open:

    File → Settings → Developer → Edit Config
    
  3. Add the following at the top level of the opened JSON file. Preserve any existing settings such as preferences.

    {
      "mcpServers": {
        "genesys-flow": {
          "command": "node",
          "args": [
            "<path-to-genesys-flow-mcp>\\dist\\index.js"
          ],
          "env": {
            "GENESYS_CLIENT_ID": "your-client-id",
            "GENESYS_CLIENT_SECERET": "your-client-secret",
            "GENESYS_REGION": "ie"
          }
        }
      }
    }
    

    Replace <path-to-genesys-flow-mcp> with the full path to your local project folder. If the file already contains properties, add mcpServers alongside them and ensure the preceding property ends with a comma.

  4. Fully quit and reopen Claude Desktop.

  5. Start a new chat and ask:

    What Genesys tools are available?
    

    Then test the documentation:

    Use get_flow_by_name for the IVR named "testt call" and document its route, configured flow, prompts, and integrations.
    

Do not commit or share the Claude Desktop config if it contains your client secret. For a local test on a personal device, passing the credentials through the MCP env block is acceptable. Use a dedicated OAuth client with the minimum required Genesys permissions.

Build check

Run the TypeScript build check after code changes:

npm run build

Project structure

src/
├── config/       Environment variable validation
├── mcp/          MCP server and tool registration
├── services/     Genesys authentication, API access, and documentation generation
├── tools/        MCP tool handlers
└── types/        Genesys Cloud response types

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选