Routine MCP Server
chính thứcMáy chủ MCP để tương tác với Routine: lịch, tác vụ, ghi chú, v.v.
Tài liệu
Routine Model Context Protocol (MCP) Server
Đây là máy chủ Routine Model Context Protocol (MCP).
Cách sử dụng
- Chạy ứng dụng Routine để máy chủ MCP hoạt động.
- Chạy máy chủ MCP này với
npx routine-mcp-serverhoặc cấu hình nó trong ứng dụng khách MCP yêu thích của bạn.
Claude Desktop
Đối với Claude Desktop, tham khảo https://modelcontextprotocol.io/quickstart/user
Cụ thể, tệp claude_desktop_config.json của bạn sẽ trông giống như sau:
{
"mcpServers": {
"routine": {
"command": "npx",
"args": ["routine-mcp-server"]
}
}
}
Phát triển
# Install dependencies
yarn
# Build the project
yarn build
Sau đó cài đặt máy chủ MCP:
- Lệnh: đường dẫn đầy đủ đến tệp thực thi
node - Tham số: đường dẫn đầy đủ đến
./dist/index.js
Claude Desktop
Đối với Claude Desktop, tham khảo https://modelcontextprotocol.io/quickstart/user
Cụ thể, tệp claude_desktop_config.json của bạn sẽ trông giống như sau:
{
"mcpServers": {
"routine": {
"command": "/absolute/path/to/bin/node",
"args": ["/absolute/path/to/mcp-server/dist/index.js"]
}
}
}
Chạy máy chủ MCP (phát triển)
# Start the server
yarn start
Máy chủ giao tiếp qua stdin/stdout, tuân theo giao thức MCP. Bạn có thể tương tác với nó bằng cách gửi các yêu cầu JSON đến stdin và đọc phản hồi từ stdout.