Genesys Flow MCP
Genesys Flow MCP
本地 MCP 服务器,连接 Genesys Cloud,列出 IVR 路由,检索 IVR 配置的营业时间流程,并生成可读的 Markdown 文档。
生成的文档面向业务和技术读者,结构如下:
路由 — IVR 名称、ID、状态、DNIS(如有)以及配置的流程。
业务重点 — 流程目的和客户菜单路由。
技术重点 — 流程设置、变量、提示/TTS、任务、菜单和决策路径。
集成与路由依赖 — 数据操作、机器人流程和 ACD 队列。
前提条件
Node.js 18 或更高版本
使用 客户端凭证 授权的 Genesys Cloud OAuth 客户端
在相关 Genesys Cloud 组织中具有读取 Architect IVR 和流程的权限
Related MCP server: Hive Mind MCP Server
安装与配置
安装依赖:
cd <path-to-genesys-flow-mcp>
npm install在项目根目录创建 .env 文件:
GENESYS_CLIENT_ID=your-client-id
GENESYS_CLIENT_SECERET=your-client-secret
GENESYS_REGION=ie重要提示:
GENESYS_CLIENT_SECERET故意拼写为这样,因为它与当前源代码匹配。除非同时更新src/config/env.ts,否则不要将其重命名为SECRET。
将 GENESYS_REGION 设置为您的 Genesys Cloud 区域后缀,例如 ie 对应 mypurecloud.ie。
本地运行
用于开发:
npm run dev用于桌面客户端使用的编译后服务器:
npm run build
npm start服务器使用 MCP stdio 传输。它由 MCP 客户端启动;不暴露浏览器 URL 或 HTTP 端口。
使用 MCP Inspector 测试
在连接到 Claude Desktop 之前,使用 MCP Inspector 直接测试服务器:
cd <path-to-genesys-flow-mcp>
npm run inspectInspector 会打开本地浏览器界面。在其中:
使用默认的 stdio 配置连接到服务器。
打开 工具 选项卡。
运行
get_ivrs以确认 Genesys 身份验证和路由检索。使用 IVR 名称运行
get_flow_by_name,例如:{ "name": "testt call" }检查响应是否以 路由 部分开头,并包含配置的流程、提示和集成。
可用工具
get_ivrs
返回 Genesys Cloud 路由/IVR 列表。
示例请求:
List the available Genesys IVRs.get_flow_by_name
按名称查找 IVR,检索其配置的营业时间流程,并返回 Markdown 文档。
输入:
{
"name": "testt call"
}示例请求:
Use get_flow_by_name for the IVR named "testt call".如果未找到 IVR,或没有营业时间流程,工具将返回描述问题的错误。
生成的文档包含内容
文档遵循以下关系:
Genesys IVR Route
↓
Configured Open-Hours Flow
├── Business Focus: customer routing and menu choices
└── Technical Focus: prompts, variables, tasks, menus, integrations集成检测涵盖以下常见的 Architect 依赖项:
Architect 元素 | 文档化内容 |
| 数据操作 / Web 服务数据操作 |
| 机器人流程,包括名称和流程 ID |
| ACD 队列 |
任务和菜单问候语中找到的所有 TTS 提示都包含在技术流程说明中。
使用 Claude Desktop 测试
构建项目:
cd <path-to-genesys-flow-mcp> npm run build在 Claude Desktop 中,打开:
File → Settings → Developer → Edit Config在打开的 JSON 文件的顶层添加以下内容。保留任何现有设置,如
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" } } } }将
<path-to-genesys-flow-mcp>替换为本地项目文件夹的完整路径。如果文件已包含属性,请将mcpServers添加到它们旁边,并确保前面的属性以逗号结尾。完全退出并重新打开 Claude Desktop。
开始新聊天并询问:
What Genesys tools are available?然后测试文档:
Use get_flow_by_name for the IVR named "testt call" and document its route, configured flow, prompts, and integrations.
如果 Claude Desktop 配置包含您的客户端密钥,请勿提交或共享。在个人设备上进行本地测试时,通过 MCP env 块传递凭据是可以接受的。使用具有最低所需 Genesys 权限的专用 OAuth 客户端。
构建检查
代码更改后运行 TypeScript 构建检查:
npm run build项目结构
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 typesMaintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Tools
Related MCP Servers
- -licenseBqualityNot gradedmaintenanceAutomates the creation of standardized documentation by extracting information from source files and applying templates, with integration capabilities for GitHub, Google Drive, and Perplexity AI.33
- AlicenseNot gradedqualityDmaintenanceAutomatically generates and maintains living documentation for codebases by creating hierarchical hivemind.md files and flowchart diagrams at every directory level, enabling AI navigation and real-time or retroactive documentation of code structure, requirements, and dependencies.MIT
- AlicenseAqualityCmaintenanceEnables AI assistants to navigate and query hierarchical documentation structures, supporting markdown files with YAML metadata and OpenAPI 3.x specifications. It features intelligent full-text search, metadata filtering, and a built-in web interface for both human and AI-driven documentation access.6MIT
- FlicenseNot gradedqualityCmaintenanceAutomatically generates comprehensive wiki documentation from any codebase, including Mermaid diagrams, source code citations, and automated quality checks.2
Related MCP Connectors
Generate AGENTS.md, AP2 compliance docs, checkout rules, debug playbook & MCP configs from any repo.
Fonto (FontoXML) documentation for AI tools. Converts DITA XML to Markdown on demand.
Give your AI agent a phone: place calls, navigate IVRs, wait on hold, get structured answers.
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/m-7-m/genesys-flow-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server