Skip to main content
Glama
human-mcp
by upamune

human-mcp

人間をMCPツールとして提供するMCPサーバー

demo

概要

image

human-mcpは、AIアシスタントが人間の能力を活用できるようにするMCPサーバーです。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以上

  • uv

  • 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. 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               # このファイル

ライセンス

MIT

注意事項

このプロジェクトはジョーク用途を想定しています。実際の運用では、人間のオペレーターの負担や、応答の遅延などを考慮する必要があります。

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