GG

gotohuman/gotohuman-mcp-server

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

52 stars 10 forks 质量 80 趋势 8MIT

gotohuman/gotohuman-mcp-server 是从 https://github.com/gotohuman/gotohuman-mcp-server. 导入的 MCP 服务器候选

概览

gotohuman/gotohuman-mcp-server 是从 https://github.com/gotohuman/gotohuman-mcp-server. 导入的 MCP 服务器候选

概述(AI 翻译)

gotoHuman 让在 AI 代理和代理工作流程中添加**人工审批*变得简单。 一个完全管理的异步人工流程,配备可定制的审批界面。 享受内置认证、webhook、通知、团队功能以及不断演变的训练数据集。

使用我们的MCP服务器请求AI工作流程的人工批准,或用它来帮助集成。

用途

可在NPM上以以下方式获取:

在光标/Claude/等设置中。

获取你的API密钥,并在 app.gotohuman.com 设置批准步骤

工具

list-forms

列出所有可用的评价类型。

  • __Returns__账户中所有可用审核类型的列表,包括新增字段的高级信息

get-form-schema

获取该方案,以便在请求人工审核时使用。

  • Params
  • formId:用于获取 模式的审阅类型 ID
  • 考虑包含字段及其配置时__Returns__模式

request-human-review-with-form

请求人工审核。它将出现在你最常去的Human邮箱中。

  • Params
  • formId:用于审核类型的ID
  • fieldData:内容(AI输出用于审核,上下文,…

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

gotoHuman MCP Server

gotoHuman makes it easy to add human approvals to AI agents and agentic workflows.
A fully-managed async human-in-the-loop workflow with a customizable approval UI.
Enjoy built-in auth, webhooks, notifications, team features, and an evolving training dataset.

Use our MCP server to request human approvals from your AI workflows or use it to help with integration.

Usage

Available on npm as:

@gotohuman/mcp-server

Setup in Cursor / Claude / etc.

{
  "mcpServers": {
    "gotoHuman": {
      "command": "npx",
      "args": ["-y", "@gotohuman/mcp-server"],
      "env": {
        "GOTOHUMAN_API_KEY": "your-api-key"
      }
    }
  }
}

Get your API key and set up an approval step at app.gotohuman.com

Tools

list-forms

List all available review types.

  • Returns a list of all available review types in your account incl. high-level info about the added fields

get-form-schema

Get the schema to use when requesting a human review for a given review type.

  • Params
    • formId: The review type ID to fetch the schema for
  • Returns the schema, considering the incl. fields and their configuration

request-human-review-with-form

Request a human review. Will appear in your gotoHuman inbox.

  • Params
    • formId: The ID of the review type to use
    • fieldData: Content (AI-output to review, context,…) and configuration for the review type’s fields.
      The schema for this needs to be fetched with get-form-schema
    • config: Configuration for the review type. Optional. The schema for this needs to be fetched with get-form-schema
    • title: Optional title shown in the inbox and notifications
    • webhookUrl: Optional webhook URL for this request (Static URLs can be set on the review type or the agent in gotoHuman)
    • workflow: Optional object linking this review to a multi-step agentic workflow:
      • runId: Unique ID for the current workflow run to link multiple steps.
    • metadata: Optional additional data that will be incl. in the webhook response after review template submission
    • assignToUsers: Optional list of user emails to assign the review to
  • Returns reviewId and reviewLink

Development

# Install dependencies
npm install

# Build the server
npm run build

# For testing: Run the MCP inspector
npm run inspector

Run locally in MCP Client (e.g. Cursor / Claude / Windsurf)

{
"mcpServers": {
  "gotoHuman": {
    "command": "node",
在 GitHub 查看完整 README

安装

npx -y @gotohuman/mcp-server
新手?先看 mcpskill.org 教程 →

配置

{ "mcpServers": { "gotoHuman": { "command": "npx", "args": ["-y", "@gotohuman/mcp-server"], "env": { "GOTOHUMAN_API_KEY": "your-api-key" } } } }