Routine 支持 Anthropic 于 2024 年 11 月推出的模型上下文协议 (MCP),该协议允许人工智能模型与 Routine 进行交互。

模型上下文协议(MCP)
说明
使用方法
停止常规桌面应用程序
将 MCP 服务器配置添加到正在使用的 AI 桌面应用程序(Claude Desktop、Cursor、ChatGPT Desktop 等)。
{
"mcpServers": {
"routine": {
"command": "npx",
"args": ["routine-mcp-server"]
}
}
}
那么
重新启动人工智能桌面应用程序
启动例程(确保设置ROUTINE_RPC_WEBSOCKET环境变量,见下文)
下面是 MacOS 上的一个示例:
$> cd /Applications/Routine.app/Contents/MacOS
$> ROUTINE_RPC_WEBSOCKET=true ./Routine
版本: 0.21.0-beta.10.offline
欺骗来源:routine://.
Attempting to spawn controller daemon from:/Applications/Routine.app/Contents/Resources/controller-daemon
__dirname:/Applications/Routine.app/Contents/Resources/app.asar
process.resourcesPath:/Applications/Routine.app/Contents/Resources
app.isPackaged: true
路径上存在控制器守护进程
channel: bleeding
frontend: https://bleeding.routine.co/
安装 Vue DevTools
已安装 Vue DevTools
临时自动更新源 URL: https://releases.routine.co/routine/osx-arm64/stable.json
检查更新
(node:12354) DeprecationWarning:纹理 "窗口类型已被弃用,将被移除
(使用 `Routine --trace-deprecation ...'(例程 --trace-deprecation ...')可显示该警告是在何处创建的
ℹ️ 2025-06-11 11:53:15 [应用程序] 启动 RPC websocket 服务器
ℹ️ 2025-06-11 11:53:15 [Controller] controller 0.21.0-beta.10.offline listening (macos-arm64)
您可以在日志中看到"启动 RPC websocket 服务器"。这表明 Routine 正在监听传入请求。