通话记录与转录服务

Gong MCP Server 是一个模型上下文协议服务器,提供访问Gong API以检索通话录音和转录的功能,通过标准化接口与Claude交互。

  • by kenazk
  • JavaScript
  • 本地部署
  • 39 星标
  • 更新于
在 GitHub 查看 kenazk/gong-mcp

使用说明

龚MCP服务器

模型上下文协议(MCP)服务器,提供对Gong的API的访问,以检索呼叫记录和转录本。该服务器允许克劳德通过标准化的接口与龚数据进行交互。

特性

  • 使用可选的日期范围过滤列出龚的通话
  • 检索特定通话的详细记录
  • 使用龚的API证书进行安全身份验证
  • 标准化的MCP接口,便于与Claude集成

先决条件

  • Node.js 18或更高版本
  • Docker(可选,用于容器化部署)
  • 龚API证书(访问密钥和秘密)

安装

地方发展

  1. 克隆存储库
  2. 安装依赖项:
    npm install
    
  3. 构建项目:
    npm run build
    

码头工人

构建容器:

docker build -t gong-mcp .

配置Claude

  1. 打开克劳德桌面设置
  2. 导航到MCP服务器部分
  3. 添加具有以下配置的新服务器:
{
  "command": "docker",
  "args": [
    "run",
    "-it",
    "--rm",
    "gong-mcp"
  ],
  "env": {
    "GONG_ACCESS_KEY": "your_access_key_here",
    "GONG_ACCESS_SECRET": "your_access_secret_here"
  }
}
  1. 将占位符凭据替换为您的实际Gong API凭据 .env 文件

可用工具

列出通话记录

使用可选的日期范围筛选检索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许可证-有关详细信息,请参阅许可证文件

贡献

  1. 分叉存储库
  2. 创建功能分支(git checkout -b feature/amazing-feature)
  3. 提交您的更改(git commit -m 'Add some amazing feature')
  4. 推到分支(git push origin feature/amazing-feature)
  5. 打开拉取请求