Routine MCP Server

官方

用于与Routine交互的MCP服务器:日历、任务、笔记等。

文档

Routine 模型上下文协议 (MCP) 服务器

这是 Routine 模型上下文协议 (MCP) 服务器。

使用方法

  1. 运行 Routine 应用程序,以便 MCP 服务器正常工作。
  2. 使用 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 读取响应来与之交互。