关注服务号
微信搜索并关注「星河奔码」服务号
AI Agent 状态通知到微信
# Windows (PowerShell) powershell -c "irm https://astral.sh/uv/install.ps1 | iex" # macOS / Linux curl -LsSf https://astral.sh/uv/install.sh | sh
{
"mcpServers": {
"wake-mcp": {
"command": "uvx",
"args": [
"--from",
"https://wake.advben.top/download/wake_mcp-0.1.0-py3-none-any.whl",
"wake-mcp"
],
"env": {
"WAKE_MCP_API_URL": "https://wake.advben.top",
"WAKE_MCP_USER_TOKEN": "你的Token"
}
}
}
}
# 1. 安装
pip install https://wake.advben.top/download/wake_mcp-0.1.0-py3-none-any.whl
# 2. 查询 wake-mcp 命令的绝对路径
where.exe wake-mcp # Windows
which wake-mcp # macOS / Linux
# 3. 用绝对路径配置(示例为 Windows)
{
"mcpServers": {
"wake-mcp": {
"command": "C:\\Python311\\Scripts\\wake-mcp.exe",
"env": {
"WAKE_MCP_API_URL": "https://wake.advben.top",
"WAKE_MCP_USER_TOKEN": "你的Token"
}
}
}
}
在项目中工作时,遇到以下关键时刻,AI 会自动调用 send_wechat_notify 工具通知你:
| 时刻 | event_type | 触发条件 |
|---|---|---|
| 任务完成 | 任务完成 | 完成一项任务或阶段性目标 |
| 发生异常 | 任务异常 | 运行中捕获到异常、报错、崩溃 |
| 执行失败 | 任务失败 | 测试未通过、构建失败、命令执行失败 |
| 需要决策 | 需要决策 | 遇到需用户拍板的分叉点、歧义或权限确认 |
thing 字段限制 20 字,title 和 content 都要精简