Gong MCP 服务器
一个模型上下文协议 (MCP) 服务器,提供对 Gong API 的访问,用于检索通话录音和文字记录。该服务器允许 Claude 通过标准化接口与 Gong 数据进行交互。
特征
- 列出 Gong 呼叫,并可选择日期范围过滤
- 检索特定通话的详细记录
- 使用 Gong 的 API 凭证进行安全身份验证
- 标准化 MCP 接口,可轻松与 Claude 集成
先决条件
- Node.js 18 或更高版本
- Docker(可选,用于容器化部署)
- Gong API 凭证(访问密钥和秘密)
安装
本地开发
- 克隆存储库
- 安装依赖项:
- 构建项目:
Docker
构建容器:
docker build -t gong-mcp .
配置 Claude
- 打开 Claude 桌面设置
- 导航至 MCP 服务器部分
- 添加具有以下配置的新服务器:
{
"command": "docker",
"args": [
"run",
"-it",
"--rm",
"gong-mcp"
],
"env": {
"GONG_ACCESS_KEY": "your_access_key_here",
"GONG_ACCESS_SECRET": "your_access_secret_here"
}
}
- 将占位符凭据替换为
.env
文件中的实际 Gong API 凭据
可用工具
列出通话
检索带有可选日期范围过滤的 Gong 呼叫列表。
{
name: "list_calls",
description: "List Gong calls with optional date range filtering. Returns call details including ID, title, start/end times, participants, and duration.",
inputSchema: {
type: "object",
properties: {
fromDateTime: {
type: "string",
description: "Start date/time in ISO format (e.g. 2024-03-01T00:00:00Z)"
},
toDateTime: {
type: "string",
description: "End date/time in ISO format (e.g. 2024-03-31T23:59:59Z)"
}
}
}
}
检索成绩单
检索指定呼叫 ID 的详细记录。
{
name: "retrieve_transcripts",
description: "Retrieve transcripts for specified call IDs. Returns detailed transcripts including speaker IDs, topics, and timestamped sentences.",
inputSchema: {
type: "object",
properties: {
callIds: {
type: "array",
items: { type: "string" },
description: "Array of Gong call IDs to retrieve transcripts for"
}
},
required: ["callIds"]
}
}
执照
MIT 许可证 - 详情请参阅许可证文件
贡献
- 分叉存储库
- 创建你的功能分支(
git checkout -b feature/amazing-feature
) - 提交您的更改(
git commit -m 'Add some amazing feature'
) - 推送到分支(
git push origin feature/amazing-feature
) - 打开拉取请求