Skip to content
MCP server
RegistryRemote

HITL (Human in the Loop) MCP Server

Let AI agents ask a real person for a decision on their phone and wait for the answer.

HITL (Human in the Loop) scores 66 (Good), licensed MIT and written in TypeScript. It can be reached as a remote MCP endpoint. It declares 8 tools. Filed under Uncategorized. GitHub shows 0 stars. Install configs are generated for 10 clients. Being listed in the registry is not the same as being vendor-official.

by hitl-shMITTypeScript0 stars
Trust score
66Good
Trust score 66 of 100, Good

Good trust

66 of 100 from six public signals. Nobody can buy a point.

  • Listed in the official MCP registry.
  • OSI-style license: mit.
How we score trust
Scorecard

License, quality and maintenance

How grades work
Trust breakdown

Where the 66 comes from

22 + 20 + 0 + 10 + 4 + 10 = 66. Each factor is capped, so no single signal can carry a listing.

Registry22 / 30

Active in the official MCP registry, plus a known vendor namespace.

Registry: 22 of 30 points.
Maintenance20 / 20

How recently the repository saw a commit or release.

Maintenance: 20 of 20 points.
Popularity0 / 20

GitHub stars and weekly downloads, on a log scale.

Popularity: 0 of 20 points.
License10 / 10

A clear, OSI-style open-source license.

License: 10 of 10 points.
Security4 / 10

Not archived, a secure install path, a pinned version.

Security: 4 of 10 points.
Docs10 / 10

A real summary, a README with depth, listed tools.

Docs: 10 of 10 points.

Install

Pick your client, copy the config, paste it in.

Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.

~/Library/Application Support/Claude/claude_desktop_config.json
{  "mcpServers": {    "hitl-sh-mcp-hitl-sh": {      "url": "https://mcp.hitl.sh/mcp"    }  }}

Environment variables

This server does not declare environment variables.

Tools8Tool docs quality grade B

All capabilities

About

HITL.sh MCP Server

HITL.sh is a mobile-powered Human-in-the-Loop platform designed to give AI systems instant access to real human judgment. The entire system is built around our dedicated mobile app, which is required for the product to function and enables human reviewers to receive and complete tasks in real time.

๐Ÿš€ Quick Start for Users

Choose the endpoint that matches your platform:

For ChatGPT Users (OAuth):

URL: https://mcp.hitl.sh/mcp

  1. Add MCP Connector in ChatGPT with URL above
  2. Sign up through the OAuth flow
  3. (Optional) Add your personal HITL API key at: https://mcp.hitl.sh/setup-api-key
  4. Start using HITL tools!

๐Ÿ“š Full ChatGPT Guide

For OpenAI Agent Builder / Zapier / Make.com (Direct API Key):

URL: https://mcp.hitl.sh/mcp-simple

  1. Add MCP Server with URL above
  2. Authentication: Bearer Token
  3. Token: Your HITL API key (e.g., hitl_live_abc123...)
  4. Start using HITL tools!

๐Ÿ“š Full OpenAI Agent Builder Guide


๐Ÿ› ๏ธ For Developers

Features

  • OAuth 2.1 Authentication - Secure OAuth flow with Auth0 integration
  • Per-User API Keys - Users can configure their own HITL.sh API keys
  • Workflow tools - Find, run, build and manage HITL workflows, and choose who reviews them
  • ChatGPT Compatible - Works as a connector in ChatGPT
  • Claude Desktop Support - Standalone stdio server for local use
  • Production Ready - Deployed on Vercel with proper error handling

๐Ÿ› ๏ธ Available Tools

HITL is workflows: an agent runs a workflow, the workflow asks your humans, and the run finishes with their answer.

ToolDescription
list_workflowsList your workflows, newest first
get_workflowGet a workflow: steps, connections, input fields
get_workflow_inputList the input fields a workflow reads, with an example body
run_workflowStart a run of an active workflow with its input
get_executionGet one run; with wait, answer as soon as it has finished
list_workflow_executionsList a workflow's runs
watch_executionGet a live-updates URL and token for a run
retry_executionRun a failed run again with the same input
create_workflow, update_workflow, delete_workflowBuild and change workflows
activate_workflow, pause_workflow, test_workflowMake a workflow runnable, stop it, or test-run it
list_workflow_revisions, publish_workflow_revisionPublished versions
list_workflow_humans, invite_to_workflowWho reviews a workflow; invite people by email
get_workflow_join_code, create_workflow_join_code, delete_workflow_join_code, rotate_workflow_join_codeA workflow's join code
validate_join_code, join_with_codeSee where a join code leads; join with it
check_api_key, signup_status, confirm_signup, resend_signup_emailThe key and agent signup

Loops, requests, images, sessions, people, organizations, teams, webhooks and uploads are no longer tools (the API still serves them). The workflow routes are live on dev.api.hitl.sh and answer 404 on api.hitl.sh until they ship there; set HITL_API_BASE=https://dev.api.hitl.sh/v1 to use them now.

Both endpoints (/mcp and /mcp-simple) register these tools from @hitl-sh/core, the same package behind the stdio server @hitl-sh/mcp, so the remote and local servers expose identical tools.

๐Ÿ“‹ Prerequisites

๐Ÿ”ง Environment Variables

Required for Production

# HITL.sh Configuration
HITL_API_KEY=hitl_live_your_default_api_key

# Auth0 OAuth Configuration
AUTH0_ISSUER_URL=https://your-tenant.us.auth0.com
AUTH0_AUDIENCE=https://mcp.hitl.sh

# Auth0 M2M Application (for testing OAuth)
AUTH0_CLIENT_ID=your_client_id
AUTH0_CLIENT_SECRET=your_client_secret

# Auth0 Management API (for per-user API keys)
AUTH0_MANAGEMENT_CLIENT_ID=your_management_client_id
AUTH0_MANAGEMENT_CLIENT_SECRET=your_management_client_secret

Optional

# HITL API Base URL override
HITL_API_BASE=https://api.hitl.sh/v1

# Extra hosts allowed to receive the API key (comma-separated). The client only sends
# keys to hitl.sh and its subdomains, so set this to use a local API, e.g.
# HITL_API_BASE=http://localhost:8080/v1 with HITL_ALLOW_HOSTS=localhost
HITL_ALLOW_HOSTS=

๐Ÿš€ Quick Start

1. Clone and Install

git clone <your-repo-url>
cd mcp.hitl.sh
npm install

2. Set Up Auth0

Follow the setup guide in PER_USER_API_KEY_SETUP.md to:

  1. Create an Auth0 account and tenant
  2. Create an API with audience https://mcp.hitl.sh
  3. Create M2M applications for testing and management
  4. Configure Auth0 Action for per-user API keys

3. Configure Environment Variables

Create .env.local:

cp .env.example .env.local
# Edit .env.local with your credentials

4. Run Locally

npm run dev

Server runs on http://localhost:3000

5. Test OAuth Flow

node scripts/test-oauth.mjs http://localhost:3000/mcp

๐ŸŒ Deploy to Vercel

1. Push to GitHub

git add .
git commit -m "Initial commit"
git push origin main

2. Deploy to Vercel

  1. Go to vercel.com/new
  2. Import your GitHub repository
  3. Add all environment variables from .env.local
  4. Click Deploy

3. Configure Auth0 with Vercel URL

Update your Auth0 applications with your Vercel URL:

For ChatGPT OAuth Client (SPA):

  • Allowed Callback URLs: https://chatgpt.com/connector_platform_oauth_redirect
  • Allowed Web Origins: https://chatgpt.com, https://chat.openai.com
  • Allowed Logout URLs: https://chatgpt.com, https://chat.openai.com

๐Ÿค– Using with ChatGPT

1. Create Auth0 SPA Client

  1. Auth0 Dashboard โ†’ Applications โ†’ Create Application
  2. Name: ChatGPT MCP Connector
  3. Type: Single Page Application
  4. Configure callback URLs (see above)
  5. Enable Connections โ†’ Username-Password-Authentication

2. Connect in ChatGPT

  1. ChatGPT โ†’ Settings โ†’ MCP Connectors
  2. Add connector with your Vercel URL:
    https://your-app.vercel.app
    
    (Note: Use base URL, not /mcp endpoint)
  3. Authentication: OAuth
  4. Complete login flow

3. Set Your HITL API Key

Visit https://your-app.vercel.app/setup-api-key to configure your personal HITL.sh API key.

๐Ÿ’ป Using with Claude Desktop

For local Claude Desktop integration, use the published stdio server @hitl-sh/mcp:

1. Configure Claude Desktop

Add to ~/Library/Application Support/Claude/config.json:

{
  "mcpServers": {
    "hitl": {
      "command": "npx",
      "args": ["-y", "@hitl-sh/mcp"],
      "env": {
        "HITL_API_KEY": "your_hitl_api_key_here"
      }
    }
  }
}

From a clone of this repo, node scripts/claude-desktop-server.mjs runs the same server.

2. Restart Claude Desktop

The HITL tools will appear in Claude Desktop!

See CLAUDE_DESKTOP_SETUP.md for detailed instructions.

๐Ÿงช Testing

Test OAuth Flow

node scripts/test-oauth.mjs http://localhost:3000/mcp

Test All Tools

node scripts/test-all-tools.mjs http://localhost:3000/mcp your_api_key

๐Ÿ“ Project Structure

mcp.hitl.sh/
โ”œโ”€โ”€ app/
โ”‚   โ”œโ”€โ”€ mcp/route.ts                    # Main MCP endpoint (OAuth)
โ”‚   โ”œโ”€โ”€ mcp-simple/route.ts             # MCP endpoint with a raw API key
โ”‚   โ”œโ”€โ”€ setup-api-key/page.tsx          # User API key setup page
โ”‚   โ”œโ”€โ”€ api/update-hitl-key/route.ts    # API key update endpoint
โ”‚   โ””โ”€โ”€ .well-known/
โ”‚       โ”œโ”€โ”€ oauth-protected-resource/   # OAuth discovery
โ”‚       โ””โ”€โ”€ oauth-authorization-server/ # Auth server metadata
โ”œโ”€โ”€ lib/
โ”‚   โ””โ”€โ”€ auth0-verify.ts                 # Auth0 token verification
โ”œโ”€โ”€ scripts/
โ”‚   โ”œโ”€โ”€ claude-desktop-server.mjs       # Stdio server (wraps @hitl-sh/core)
โ”‚   โ”œโ”€โ”€ test-oauth.mjs                  # OAuth flow test
โ”‚   โ””โ”€โ”€ test-all-tools.mjs              # All tools test
โ””โ”€โ”€ docs/ (via .md files)

๐Ÿ” Security

  • OAuth 2.1 with PKCE for secure authentication
  • JWT verification using Auth0 JWKS
  • Per-user API keys stored securely in Auth0 user metadata
  • Environment variable fallback for shared API key
  • CORS properly configured for ChatGPT

๐Ÿ“š Documentation

๐Ÿ› Troubleshooting

"Invalid token" errors

  • Check that AUTH0_ISSUER_URL matches your Auth0 tenant
  • Verify token hasn't expired
  • Ensure AUTH0_AUDIENCE is https://mcp.hitl.sh

ChatGPT connection fails

  • Verify Auth0 SPA client has connections enabled
  • Check callback URLs are configured correctly
  • Ensure dynamic client registration is disabled

Per-user API keys not working

  • Verify Auth0 Action is deployed and in Login flow
  • Check user has hitl_api_key in user_metadata
  • User must log out/in to get new token with API key

๐Ÿค Contributing

Contributions welcome! Please:

  1. Fork the repository
  2. Create a feature branch
  3. Make your changes
  4. Submit a pull request

๐Ÿ“„ License

MIT License - see LICENSE file for details

๐Ÿ”— Links

โœจ Credits

Built with:

Frequently asked questions

What is HITL (Human in the Loop) MCP Server?

Let AI agents ask a real person for a decision on their phone and wait for the answer.

How do I install HITL (Human in the Loop) MCP Server in Claude Desktop, Cursor, or VS Code?

Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. HITL (Human in the Loop) MCP Server connects to the remote endpoint https://mcp.hitl.sh/mcp, so there is nothing to install locally.

Is HITL (Human in the Loop) MCP Server free and open source?

Yes. HITL (Human in the Loop) MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.

Does HITL (Human in the Loop) MCP Server support remote (HTTP) connections?

Yes. HITL (Human in the Loop) MCP Server offers a hosted endpoint over Streamable HTTP, so HTTP-capable clients can connect to it without running anything locally.

What tools does HITL (Human in the Loop) MCP Server provide?

HITL (Human in the Loop) MCP Server provides 8 tools, including get_execution, get_workflow, get_workflow_input, and list_workflow_executions. See the full tool list for descriptions and parameters.

How is HITL (Human in the Loop) MCP Server's trust score calculated?

HITL (Human in the Loop) MCP Server scores 66 out of 100 (Good). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.

Reviews

No reviews yet

โ€”Be the first to review

5 star0 reviews at 5 stars
4 star0 reviews at 4 stars
3 star0 reviews at 3 stars
2 star0 reviews at 2 stars
1 star0 reviews at 1 stars

No published reviews yet. Used it? Tell the next person how it went.

Add badge to your README

Paste either snippet into the repository README. The image links to this listing.

Listed on MCPpedia

Top 5 MCP servers

Daily or weekly. Confirm by email, unsubscribe any time.

How often

Manage this listing

Claim this server