Skip to main content
Glama
human-mcp
by upamune

人MCP

提供人类作为 MCP 工具的 MCP 服务器

演示

概述

图像

human-mcp 是一个 MCP 服务器,它使 AI 助手能够利用人类的能力。它接收来自AI助手的请求,向人类显示指令,并将人类的响应返回给AI助手。

主要特点:

  • 接受来自 MCP 客户端的工具执行请求(通过 STDIN)

  • 将执行所需的指令写入 SQLite 数据库

  • Streamlit 应用程序监控 SQLite,向人类显示指令并提示响应。

  • 通过 Streamlit 将人工输入的结果写入 SQLite

  • MCP 服务器从 SQLite 读取结果并将其作为 MCP 响应返回给客户端(通过 STDOUT)。

Related MCP server: Interactive Feedback MCP

提供的工具

  1. human_eye_tool :人眼用于描述情况或定位特定事物。

  2. human_hand_tool :人类用手进行简单的物理操作。

  3. human_mouth_tool :人类用嘴说出指定的词语。

  4. human_weather_tool :人工检查并报告您所在位置的天气。

  5. human_ear_tool :人类用耳朵听声音并描述情况。

  6. human_nose_tool :人类用鼻子来识别气味。

  7. human_taste_tool :人类用嘴巴品尝食物并描述其味道。

设置

先决条件

  • Python 3.12 或更高版本

  • 紫外线

  • SQLite3

安装说明

  1. 克隆存储库

    git clone https://github.com/yourusername/human-mcp.git
    cd human-mcp
  2. 创建并激活虚拟环境

    uv venv
    source .venv/bin/activate
  3. 安装依赖项

    uv pip install .

如何使用

  1. 安装 MCP 服务器

task install-mcp
  1. 从 Claude 连接到 MCP 服务器

    "human-mcp": {
      "command": "uv",
      "args": [
        "run",
        "--with",
        "mcp[cli]",
        "mcp",
        "run",
        "$PATH_TO_REPOSITORY/human_mcp/mcp_server.py"
      ]
    }
  2. 在第二个终端中启动 Streamlit UI

    task run-streamlit
  3. 在浏览器中访问 Streamlit UI(通常是http://localhost:8501 )

  4. 一旦您通过 MCP 客户端(例如 Claude Desktop)提交请求,该任务就会出现在 Streamlit UI 中。

  5. 一旦您在 Streamlit UI 中输入您的回复并单击“发送回复”按钮,回复将被发送回 MCP 客户端。

项目结构

human-mcp/
├── human_mcp/              # メインのPythonパッケージ
│   ├── __init__.py         # パッケージマーカー
│   ├── db_utils.py         # SQLite関連ユーティリティ
│   ├── tools.py            # ツール定義
│   ├── mcp_server.py       # MCPサーバー本体
│   └── streamlit_app.py    # Streamlit UI アプリ
├── human_tasks.db          # SQLite データベースファイル (実行時に生成)
├── pyproject.toml          # プロジェクト設定、依存関係
└── README.md               # このファイル

执照

麻省理工学院

笔记

这个项目纯粹是开玩笑而已。在实际操作中,需要考虑人类操作员的负担、响应延迟等因素。

Available Tools

7 tools
human_ear_toolC

人間が耳を使って音を聞き、状況を説明します。

例:
- 周囲の環境音の確認
- 特定の音源の識別
- 会話の聞き取り

Inputs: instruction (required).

human_eye_toolC

人間が目で見て状況を説明したり、特定のものを探したりします。

Inputs: prompt (required).

human_hand_toolC

人間が手を使って簡単な物理的操作を実行します。

Inputs: instruction (required).

human_mouth_toolC

人間が口を使って指定された言葉を発話します。

Inputs: utterance (required).

human_nose_toolC

人間が鼻を使って匂いを確認します。

例:
- 食べ物の新鮮さの確認
- ガス漏れなどの危険な匂いの検知
- 香りの評価

Inputs: instruction (required).

human_taste_toolB

人間が口を使って食べ物を味わい、その味を説明します。

例:
- 料理の味の評価
- 食材の新鮮さの確認
- 味の分析(甘味、酸味、塩味、苦味、うま味)

Inputs: instruction (required).

human_weather_toolB

人間が現在地の天気を確認して報告します。

Inputs: no named parameters.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.2/5.0

    Scored across 7 tools

    Disambiguation5/5

    Each tool corresponds to a distinct human sensory organ or function (ear, eye, hand, mouth, nose, taste, weather), with no overlap in purpose. The descriptions clearly differentiate their roles, such as hearing sounds, seeing visuals, physical manipulation, speaking, smelling, tasting, and weather reporting, making misselection unlikely.

    Naming Consistency5/5

    All tool names follow a consistent 'human_[organ/function]_tool' pattern using snake_case. This uniform naming convention makes the tools predictable and easy to identify, with no deviations or mixed styles across the set.

    Tool Count4/5

    With 7 tools, the count is reasonable for covering human sensory and basic environmental interactions. It's slightly lean for a broad 'human' scope but well-scoped for sensory functions, with each tool earning its place without feeling excessive or thin.

    Completeness4/5

    The tool set provides good coverage for human sensory inputs (sight, sound, smell, taste, touch) and basic actions (speaking, weather checking). Minor gaps exist, such as no tools for cognitive functions like thinking or memory, but agents can work around this for the stated sensory domain.

    Maintenance

    ActivityInactive
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      B
      quality
      D
      maintenance
      MCP server that enables human-in-the-loop workflow in AI-assisted development tools by allowing users to provide direct feedback to AI agents without consuming additional premium requests.
      1
      1
      -
    • A
      license
      Not graded
      quality
      D
      maintenance
      A Human-in-the-Loop MCP server that enables AI assistants to request information or clarification from humans via Slack. It uses real-time, thread-based conversations with socket mode integration to bridge the gap between AI systems and human experts.
      6
      MIT