@gotohuman/mcp-server
v0.2.1
Published
MCP server for requesting human approvals with gotoHuman
Downloads
322
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 via MCP or add it to your IDE to help with integration.
Installation
npx @gotohuman/mcp-serverUse with Cursor / Claude / Windsurf
{
"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
Demo
This is Cursor on the left, but this could be a background agent that also reacts to the approval webhook.
https://github.com/user-attachments/assets/380a4223-ea77-4e24-90a5-52669b77f56f
Tools
list-forms
List all available review templates.
- Returns a list of all available review templates 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 template.
- Params
formId: The review template 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 template to usefieldData: Content (AI-output to review, context,...) and configuration for the review template's fields.
The schema for this needs to be fetched withget-form-schemaconfig: Configuration for the review template. Optional. The schema for this needs to be fetched withget-form-schematitle: Optional title shown in the inbox and notificationswebhookUrl: Optional webhook URL for this request (when the review template has no default webhook)workflow: Optional object linking this review to a multi-step agentic workflow:runId: Unique ID for the current workflow run. Use the samerunIdon every review in the same run. Ifworkflowis sent withoutrunId(even{}), or for manual triggers, gotoHuman creates arunIdand returns it asworkflowRunIdfor subsequent requests.runName: Optional display name for the run (can be set or updated on any step)prevSteps: Array ofreviewIds from previous gotoHuman review steps (omit on the first step)
metadata: Optional additional data that will be incl. in the webhook response after review template submissionassignToUsers: Optional list of user emails to assign the review to
- Returns
reviewId,reviewLink, and optionallyworkflowRunIdwhen gotoHuman assigned a new workflow run
Development
# Install dependencies
npm install
# Build the server
npm run build
# For testing: Run the MCP inspector
npm run inspectorRun locally in MCP Client (e.g. Cursor / Claude / Windsurf)
{
"mcpServers": {
"gotoHuman": {
"command": "node",
"args": ["/<absolute-path>/build/index.js"],
"env": {
"GOTOHUMAN_API_KEY": "your-api-key"
}
}
}
}[!NOTE] For Windows, the
argspath needs to beC:\\<absolute-path>\\build\\index.js
