Jiaoren
by lingxiao10
README.md
# 叫人 Jiaoren — remote-control your AI agent from WeChat
**Your coding agent pings you on WeChat (or email) and waits for your answer.** Claude Code, Cursor, Codex, VS Code Copilot, Cline, Cherry Studio, Trae… When the agent finishes, gets stuck, or is about to do something irreversible, it asks you on your phone. You tap an option, and the agent continues **in the same turn**.
**让 AI 在微信里叫你、等你回话。** AI 跑长任务时,干完了、卡住了、要你拍板(删库、上线、花钱),直接推到你的微信;你在手机上点一下选项或回一句话,AI 拿到答复接着干。人不用守在电脑前。
[Website / 官网](https://jiaoren.xfeixie.com) · [Get a free key / 免费获取 Key](https://jiaoren.xfeixie.com/app) · [llms.txt](https://jiaoren.xfeixie.com/llms.txt)
[](https://cursor.com/en/install-mcp?name=jiaoren&config=eyJ1cmwiOiJodHRwczovL2ppYW9yZW4ueGZlaXhpZS5jb20vbWNwIiwiaGVhZGVycyI6eyJBdXRob3JpemF0aW9uIjoiQmVhcmVyIFlPVVJfS0VZIn19) [](https://insiders.vscode.dev/redirect/mcp/install?name=jiaoren&config=%7B%22type%22%3A%22http%22%2C%22url%22%3A%22https%3A//jiaoren.xfeixie.com/mcp%22%2C%22headers%22%3A%7B%22Authorization%22%3A%22Bearer%20YOUR_KEY%22%7D%7D)
<img src="docs/reply-page.png" width="300" alt="Reply page on the phone">
## Tools / 三个工具
| Tool | What it does |
|---|---|
| `notify(title, body?)` | Push a notice to your phone. Doesn't wait. 发通知,不等回复。 |
| `ask(question, details?, options?, questions?, wait_seconds?)` | Ask and **block until you answer** (default 120 s, max 290 s). Single choice via `options`, or a small form via `questions`. 提问并等你回复。 |
| `get_reply(id, wait_seconds?)` | Check / keep waiting for a late reply. A late reply is never lost. 之后再查回复。 |
## Install / 接入(3 分钟)
1. Sign in at **https://jiaoren.xfeixie.com/app** (WeChat scan or email code) and copy your key. 用微信扫码或邮箱登录,复制 Key。
2. Add the remote MCP server (Streamable HTTP): `https://jiaoren.xfeixie.com/mcp`
**Claude Code**
```bash
claude mcp add --transport http jiaoren https://jiaoren.xfeixie.com/mcp --header "Authorization: Bearer YOUR_KEY"
```
**Cursor** (`~/.cursor/mcp.json`) / **Cline / Windsurf / Cherry Studio**
```json
{ "mcpServers": { "jiaoren": { "url": "https://jiaoren.xfeixie.com/mcp", "headers": { "Authorization": "Bearer YOUR_KEY" } } } }
```
**VS Code** (`.vscode/mcp.json`)
```json
{ "servers": { "jiaoren": { "type": "http", "url": "https://jiaoren.xfeixie.com/mcp", "headers": { "Authorization": "Bearer YOUR_KEY" } } } }
```
**Codex** (`~/.codex/config.toml`)
```toml
[mcp_servers.jiaoren]
url = "https://jiaoren.xfeixie.com/mcp?key=YOUR_KEY"
```
Clients that only take a URL: `https://jiaoren.xfeixie.com/mcp?key=YOUR_KEY`
### Make your agent check in with you / 让 AI 每一步都来问你
Put this in `CLAUDE.md`, `AGENTS.md` or Cursor rules:
> After finishing each task, whenever you need my decision, and before any irreversible action (delete, deploy, pay), use the jiaoren `ask` tool to ask me with options and wait for my reply before continuing. Don't just end the turn.
>
> 每完成一个任务、遇到需要我拍板的事、或准备做删除/发布/付费等不可逆操作前,用 jiaoren 的 ask 工具在微信上问我,给出选项,等我回复后再继续;不要直接结束对话。
### No MCP? One line of curl / 不用 MCP,一行 curl
```bash
curl "https://jiaoren.xfeixie.com/send/YOUR_KEY?title=Build%20finished&desp=All%20tests%20passed"
```
Claude Code hook (`~/.claude/settings.json`) — ping me every time Claude stops:
```json
{ "hooks": { "Stop": [ { "hooks": [ { "type": "command", "command": "curl -s \"https://jiaoren.xfeixie.com/send/YOUR_KEY?title=Claude%20Code%20stopped\" >/dev/null" } ] } ] } }
```
REST: `POST /api/v1/notify`, `POST /api/v1/ask`, `GET /api/v1/messages/{id}?wait=55` — see [llms.txt](https://jiaoren.xfeixie.com/llms.txt) and [connect.md](connect.md).
## Pricing / 价格
- **Free**: 20 notices/questions per day. 每天 20 条。
- **Pro**: 500/day — ¥9.9/month or ¥79/year (WeChat Pay), $1.99/month or $14.99/year (PayPal).
## Why / 为什么做这个
Long-running agents stall on "should I…?" while you're away from the keyboard. Push-only tools tell you something happened; Jiaoren lets you **answer**, and the agent continues without a new prompt. In China the fastest way to reach a person is WeChat, so messages arrive as WeChat service notices; everyone else gets email.
## Privacy / 安全
Messages go only to the key owner. Reply links are unguessable random URLs. We never see your code — only the text your agent chooses to send. Don't send secrets through it.
## Self-hosting
TypeScript (Express + better-sqlite3 + `@modelcontextprotocol/sdk`) backend, Vite frontend. `pnpm install` in `backend/` and `frontend/`, then `npm run start` (builds to temp dirs, swaps `dist/` atomically, restarts under pm2). WeChat delivery needs your own WeChat official account (template message) credentials.
MIT License.
This server cannot be deployed
Maintenance
ActivityMaintained
ResponsivenessNo recent community issues