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 讀取回應來與之互動。