Routine
官方用于与Routine交互的MCP服务器:日历、任务、笔记等。
你可以用 Routine MCP 做什么?
- 查看今日日程 — 让助手从你的 Routine 日历中获取即将到来的事件和任务。
- 创建新任务 — 通过自然语言请求直接将待办事项录入 Routine。
- 打开 Routine 笔记或文档 — 让助手在 Routine 应用内打开特定页面或笔记。
文档
Routine 模型上下文协议 (MCP) 服务器
这是 Routine 模型上下文协议 (MCP) 服务器。
使用方法
- 运行 Routine 应用程序,以便 MCP 服务器正常工作。
- 使用
npx routine-mcp-server运行此 MCP 服务器,或在您常用的 MCP 客户端中配置它。
Claude Desktop
对于 Claude Desktop,请参考 https://modelcontextprotocol.io/quickstart/user
具体来说,您的 claude_desktop_config.json 文件应类似于以下内容:
{
"mcpServers": {
"routine": {
"command": "npx",
"args": ["routine-mcp-server"]
}
}
}
开发
# Install dependencies
yarn
# Build the project
yarn build
然后安装 MCP 服务器:
- 命令:
node可执行文件的完整路径 - 参数:
./dist/index.js的完整路径
Claude Desktop
对于 Claude Desktop,请参考 https://modelcontextprotocol.io/quickstart/user
具体来说,您的 claude_desktop_config.json 文件应类似于以下内容:
{
"mcpServers": {
"routine": {
"command": "/absolute/path/to/bin/node",
"args": ["/absolute/path/to/mcp-server/dist/index.js"]
}
}
}
运行 MCP 服务器(开发环境)
# Start the server
yarn start
服务器通过 stdin/stdout 进行通信,遵循 MCP 协议。您可以通过向其 stdin 发送 JSON 请求并从 stdout 读取响应来与之交互。