Gentoro MCP Server

Gentoro MCP Server

site icon
2025.03.19 4
TypeScript代理集成工具管理开发效率
Gentoro MCP Server 是一个用于 Gentoro 服务的 MCP 服务器,使 Claude 等代理能够与 Gentoro 桥接器及其底层能力进行交互。它允许用户通过 Gentoro 桥接器定义和控制工具、代理及其功能,实现灵活的集成和配置。
View on GitHub

Overview

基本能力

产品定位

Gentoro MCP Server 是一个中间件,用于连接 Claude 或其他代理与 Gentoro 服务,实现工具和能力的集成与交互。

核心功能

  1. Gentoro 桥接器集成:与 Gentoro 桥接器无缝集成,支持工具和代理的管理。
  2. 动态工具控制:通过 Gentoro 桥接器动态启用或禁用工具和功能。
  3. NodeJS 支持:提供 NodeJS 版本的 MCP 服务器,便于开发者集成。

适用场景

  1. 代理工具集成:将 Claude 或其他代理与 Gentoro 的工具和数据源集成。
  2. 自定义工作流:通过 Gentoro 桥接器定义和管理自定义工具和工作流。
  3. 开发与测试:在开发环境中快速集成和测试 Gentoro 的功能。

工具列表

  1. Gentoro 桥接器:核心工具,用于定义和管理所有可用的工具和数据源。
  2. Gentoro Studio:用于配置桥接器和生成 API Key 的工具。

常见问题解答

  1. 如何获取 API Key?:通过 Gentoro Studio 生成 API Key 和桥接器 UID。
  2. 如何配置 MCP Server?:通过 config.json 文件配置环境变量和参数。

使用教程

使用依赖

  1. Gentoro 账户:需要先在 Gentoro Playground 注册或下载本地版本。
  2. Gentoro API Key:通过 Gentoro Studio 生成 API Key 和桥接器 UID。

安装教程

  1. config.json 中添加以下配置:
{
    "mcpServers": {
        "gentoro": {
            "command": "npx",
            "args": [
                "-y",
                "@gentoro/mcp-nodejs-server"
            ],
            "env": {
                "GENTORO_API_KEY": "<your api key>",
                "GENTORO_BRIDGE_UID": "<your bridge uid>",
                "GENTORO_BASE_URL": "<url where gentoro is hosted>"
            }
        }
    }
}

或使用简化的 Gentoro Key:

{
    "mcpServers": {
        "gentoro": {
            "command": "npx",
            "args": [
                "-y",
                "@gentoro/mcp-nodejs-server"
            ],
            "env": {
                "GENTORO_KEY": "<your api key>/<your bridge uid>/<url where gentoro is hosted>"
            }
        }
    }
}

调试方式

  1. 确保 config.json 中的环境变量配置正确。
  2. 运行 npx -y @gentoro/mcp-nodejs-server 启动 MCP 服务器。
  3. 检查日志和 Gentoro Studio 中的桥接器状态。

许可证

该项目遵循 Apache-2.0 开源许可条款,请参阅 Apache-2.0 了解完整条款。