Skip to main content

HumanBridge MCP Server

by Jatin Iyer

License: MIT PyPI version

A Model Context Protocol (MCP) Server that enables AI assistants to interact with humans through polished, modern GUI dialogs. HumanBridge bridges the gap between automated AI processes and human decision-making — providing text input, multiple choice, confirmations, and info notifications, all in dynamically-sized, scrollable windows that never overflow your screen.


Features

  • Text Input — get text, numbers, or other data with validation
  • Multiple Choice — single or multi-select option lists
  • Multi-line Input — collect code, descriptions, or long-form content
  • Confirmation Dialogs — yes/no decisions before proceeding
  • Information Messages — display notifications and status updates
  • Health Check — monitor server and GUI availability
  • Dynamic sizing — windows grow to fit content, cap at 80% screen height, then scroll
  • Scrollable content — title/prompt area scrolls automatically when text is long
  • Cross-platform — Windows 11-style, macOS native, Linux compatible

Installation

Quick Install with uvx (Recommended)

uvx humanbridge-mcp

pip

pip install humanbridge-mcp
humanbridge-mcp

Configuration

VS Code GitHub Copilot

Add to your VS Code settings.json or .vscode/mcp.json:

{
  "mcp": {
    "servers": {
      "humanbridge": {
        "command": "uvx",
        "args": ["humanbridge-mcp"]
      }
    }
  }
}

Claude Desktop

Windows: %APPDATA%\Claude\claude_desktop_config.json
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Linux: ~/.config/Claude/claude_desktop_config.json

{
  "mcpServers": {
    "humanbridge": {
      "command": "uvx",
      "args": ["humanbridge-mcp"]
    }
  }
}

Restart after updating the config.


Available Tools

get_user_input

Single-line text, integer, or float input.

Parameter Type Description
title str Dialog window title
prompt str Question shown to user
default_value str Pre-filled value (optional)
input_type str "text", "integer", or "float"

get_user_choice

Pick one or many options from a list.

Parameter Type Description
title str Dialog window title
prompt str Question shown to user
choices list[str] Options to present
allow_multiple bool Allow multi-select (default: false)

get_multiline_input

Large text area for code, descriptions, or long content.

Parameter Type Description
title str Dialog window title
prompt str Question shown to user
default_value str Pre-filled text (optional)

show_confirmation_dialog

Yes/No decision dialog.

Parameter Type Description
title str Dialog window title
message str Confirmation message

show_info_message

Informational notification — user clicks OK to dismiss.

Parameter Type Description
title str Dialog window title
message str Information message

health_check

Returns server status, platform details, and GUI availability.


Response Format

All tools return structured JSON:

{
  "success": true,
  "user_input": "User's response",
  "cancelled": false,
  "platform": "windows"
}

Common fields: success, cancelled, platform, error
Tool-specific: user_input, input_type, selected_choice, selected_choices, confirmed, response, acknowledged, character_count, line_count


Dialog Behaviour

  • Short content: window sizes exactly to content — compact and clean
  • Long content: window grows up to 80% of screen height, then the title/prompt area becomes scrollable (mousewheel supported)
  • Input widgets (entry field, text area, choice list) are always fully visible — they never scroll away
  • All dialogs are resizable by the user

Troubleshooting

Dialogs not appearing

  • Verify you're in a desktop environment (not headless)
  • Check tkinter: python -c "import tkinter"
  • Run health_check tool to diagnose

macOS permission error

  • Grant Accessibility permissions: System Preferences → Security & Privacy → Accessibility

Dialog timeout

  • Default timeout is 5 minutes. Dialogs return cancelled: true after timeout.

Platform Support

Platform Status Notes
Windows 10/11 ✅ Full Modern Windows 11-style UI, Segoe UI font
macOS ✅ Full SF Pro Display font, Accessibility permission needed
Linux ✅ Full Ubuntu/Debian compatible, system fonts

License

MIT License — see LICENSE


HumanBridge MCP Server by Jatin Iyer

Metadata

Release files for humanbridge-mcp 1.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for humanbridge-mcp 1.0.1
File Size Uploaded
humanbridge_mcp-1.0.1.tar.gz 10.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for humanbridge-mcp 1.0.1
File Interpreter ABI Platform
humanbridge_mcp-1.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 27.0 kB

Release files / humanbridge_mcp-1.0.1.tar.gz

Download URL humanbridge_mcp-1.0.1.tar.gz
Size 10.1 kB
Tags Source
SHA-256 checksum
How to use checksums
8f972a55b8dea806d79f0c0e45acfe98ba66b6f9b453fe2a0161b70106cb2956
BLAKE2b-256 checksum
How to use checksums
78640a52f605bc488f4509fadeae6a117d3c7a6e31726d213cd7feda0427e092
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.2

Release files / humanbridge_mcp-1.0.1-py3-none-any.whl

Download URL humanbridge_mcp-1.0.1-py3-none-any.whl
Size 16.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a4908adf7d76ff5653194eda65241263da5ae653f8d9c78c195b5da2d327ef14
BLAKE2b-256 checksum
How to use checksums
63a5bf9af497c5f203534b088834ad26bbb88b92317085fed190939f05ecf24d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.2

Release history Release notifications | RSS feed

This release

1.0.1 This release

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page