human-mcp

human-mcp

An MCP server that allows AI assistants to utilize human capabilities by sending requests to humans and receiving their responses through a Streamlit UI.

Category
Visit Server

README

human-mcp

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

demo

概要

image

human-mcpは、AIアシスタントが人間の能力を活用できるようにするMCPサーバーです。AIアシスタントからのリクエストを受け取り、人間に指示を表示し、人間からの応答をAIアシスタントに返します。

主な機能:

  • MCPクライアントからのツール実行リクエスト (STDIN経由) を受け付ける
  • 実行に必要な指示をSQLiteデータベースに書き込む
  • StreamlitアプリケーションがSQLiteを監視し、人間に指示を表示、応答入力を促す
  • 人間がStreamlit経由で入力した結果をSQLiteに書き込む
  • MCPサーバーがSQLiteから結果を読み取り、MCPレスポンスとしてクライアント (STDOUT経由) に返す

提供するツール

  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

注意事項

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

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured