{"$schema":"https://wellknown.network/schemas/agent-record-v1.json","schemaVersion":"1","id":"ag_27u8czk5eeeg","handle":"hil-mcp","url":"https://wellknown.network/agents/hil-mcp","links":{"self":"https://wellknown.network/agents/hil-mcp/record.json","html":"https://wellknown.network/agents/hil-mcp","markdown":"https://wellknown.network/agents/hil-mcp/record.md","api":"https://wellknown.network/api/v1/agents/hil-mcp","status":"https://wellknown.network/api/v1/agents/hil-mcp/status","claim":"https://wellknown.network/agents/hil-mcp/claim","claimApi":"https://wellknown.network/api/v1/claims","claimDescriptor":"https://wellknown.network/agents/hil-mcp/claim.json","badge":"https://wellknown.network/agents/hil-mcp/badge.svg","openapi":"https://wellknown.network/openapi.json","history":"https://wellknown.network/api/v1/agents/hil-mcp/history","tools":"https://wellknown.network/api/v1/agents/hil-mcp/tools"},"ard":{"identifier":"urn:air::server:hil-mcp","type":"application/mcp-server-card+json"},"kind":"mcp_server","declared":{"name":"hil-mcp","summary":"Human-in-the-Loop MCP Server for WeCom (企业微信) - 让 AI 能够与人类实时交互","description":"# Human-in-the-Loop MCP for WeCom (企业微信)\n\n让 AI Agent 能够发送消息到企业微信并等待用户回复的 MCP 服务。\n\n## 功能特性\n\n- 🚀 **发送消息到企微群聊/私聊**\n- ⏳ **等待用户回复并返回结果**\n- 🎯 **引用回复匹配** - 通过 `[#short_id]` 精确匹配多个并发会话\n- 💬 **多会话冲突检测** - 自动提示用户使用引用回复\n- ⏰ **20分钟默认超时**\n- 📋 **自动回复 chat_id** - 方便用户获取配置信息\n- ⚙️ **空闲提示配置** - JSON 配置文件 + 热更新 + 管理台可视化配置\n- ⚡ **一键安装** - 通过 `uvx` 或 `pipx` 无需预先安装\n- 🌐 **双模式支持** - Relay 中转模式（公网）和 Direct 直连模式（内网）\n- 🔄 **消息转发服务** - 支持用户主动发消息触发外部服务（Forward Service）\n\n---\n\n## 架构说明\n\n本项目的 Relay Server 支持两种运行模式：\n\n### 模式一：Relay 模式（公网部署）\n\n当 HIL Server 部署在公网时，通过 WebSocket 连接内网的 Worker 来调用飞鸽 API。\n\n```\n┌─────────────────┐      HTTPS       ┌─────────────────┐\n│   MCP Server    │ ────────────────▶│   HIL Server    │\n│ (本地 AI Agent)  │ ◀────────────────│   (公网服务器)   │\n└─────────────────┘                  └────────┬────────┘\n                                              │ WebSocket\n                                              │ (Worker 主动连接)\n                                     ┌────────▼────────┐\n                                     │ DevCloud Worker │\n                                     │  (内网/DevCloud) │\n                                     └────────┬────────┘\n                                              │ fly-pigeon\n                                              ▼\n                                     ┌─────────────────┐\n                                     │    企业微信      │\n                                     └─────────────────┘\n```\n\n**适用场景：**\n- MCP Server 运行在公网（如个人电脑）\n- 飞鸽 API 只能在内网访问\n- 需要穿透内网限制\n\n### 模式二：Direct 模式（内网部署）\n\n当 HIL Server 部署在内网时，可以直接调用飞鸽 API，无需 Worker。\n\n```\n┌─────────────────┐      HTTP       ┌─────────────────┐     fly-pigeon    ┌─────────────────┐\n│   MCP Server    │ ───────────────▶│   HIL Server    │ ─────────────────▶│   企业微信       │\n│  (内网 Agent)    │ ◀───────────────│   (内网部署)     │ ◀─────────────────│   (飞鸽传书)     │\n└─────────────────┘                 └─────────────────┘      回调          └─────────────────┘\n```\n\n**适用场景：**\n- MCP Server 和 HIL Server 都在内网\n- 可以直接访问飞鸽 API\n- 简化部署…","publisher":{"name":"Kong Jie","url":null},"homepage":"https://github.com/user/hil-mcp","repository":"https://github.com/user/hil-mcp","version":"0.2.0","license":"MIT","protocols":["mcp"],"tags":["ai","claude","human-in-the-loop","mcp","wecom"],"pricing":null,"endpoints":[{"url":"pypi:hil-mcp","type":"package_pypi","auth":null,"probeable":false,"listed":true}],"skills":null,"tools":null,"extra":null,"attribution":{"kind":"pypi","name":"pypi","license":"pypi","repoUrl":"pypi","summary":"pypi","version":"pypi","description":"pypi","homepageUrl":"pypi","publisherName":"pypi"}},"derived":{"capabilities":[],"categories":[],"language":"zh"},"observed":{"status":"unknown","statusReason":"Distributed as a package to run locally; no network endpoint to check.","lastOkAt":null,"lastProbedAt":null,"statusComputedAt":null,"reliability30d":null,"latestObservations":[],"tools":null,"package":{"name":"hil-mcp","registry":"pypi","observedAt":"2026-11-21T11:24:30.815Z","publishedAt":"2026-01-06T08:43:25.358515Z","latestVersion":"0.2.0"},"toolSurface":null,"endpointFacts":[]},"verification":{"claimed":false,"claimedAt":null,"proofs":[]},"provenance":{"sources":[{"source":"pypi","key":"hil-mcp","url":"https://pypi.org/project/hil-mcp/","firstSeenAt":"2026-09-09T17:21:03.229Z","fetchedAt":"2026-11-21T11:22:30.862Z","normalizedAt":"2026-11-21T11:22:30.862Z"}]},"firstSeenAt":"2026-09-09T17:21:03.229Z","updatedAt":"2026-11-21T11:24:30.838Z"}