Integrates Ant Design UI components for building the interface, used alongside Tailwind CSS for styling the application.
Built on Next.js 14 with App Router, providing the frontend framework for the MCP server implementation.
Used in conjunction with Ant Design for styling and layout of the UI components.
Provides a Todoist API-compatible implementation, offering tools for managing tasks and projects including creating, retrieving, updating tasks and projects through a Todoist-compatible interface.
Implements the entire codebase in TypeScript, providing type safety for the MCP server implementation.
MCP Todoist
Todoist API互換のMCPサーバー実装
技術スタック
- MCPサーバー: Node.js + TypeScript
- プロトコル: MCP (Model Context Protocol) stdio transport
- 外部API: Todoist REST API
- 言語: TypeScript
- ランタイム: tsx
アーキテクチャ
主要機能
実装済み
- MCP Protocol Handler (stdio transport)
- Todoist APIクライアント
- MCPツール実装
todoist_get_tasks
- タスク一覧取得todoist_create_task
- タスク作成todoist_update_task
- タスク更新todoist_close_task
- タスク完了todoist_get_projects
- プロジェクト一覧取得todoist_create_project
- プロジェクト作成todoist_update_project
- プロジェクト更新todoist_delete_project
- プロジェクト削除
- ツール可視性制御システム
ツール可視性設定
セキュリティと用途に応じて、各ツールの公開・非公開を設定できます。
現在の設定:
- 公開ツール:
todoist_get_tasks
,todoist_create_task
,todoist_update_task
,todoist_close_task
,todoist_get_projects
,todoist_move_task
- 非公開ツール:
todoist_create_project
,todoist_update_project
,todoist_delete_project
📖 詳細: ツールの可視性設定の詳細については TOOL_VISIBILITY.md を参照してください。
クイックスタート
1. 依存関係のインストール
2. MCPサーバーのビルド
3. MCPサーバーのテスト
🚀 Cursor AI 自動セットアップガイド
前提条件
- Node.js 18+ がインストールされている
- npm または yarn がインストールされている
- Cursor AI がインストールされている
- Todoist アカウントを持っている
Step 1: プロジェクトのセットアップ
Step 2: Todoist API トークンの取得
- Todoist App Console にアクセス
- 「Create a new app」をクリック
- アプリ名を入力(例:「MCP Todoist Integration」)
- 「Create app」をクリック
- 表示されたAPI tokenをコピー(例:
61dae250699e84eb85b9c2ab9461c0581873566d
)
Step 3: プロジェクトパスの確認
出力例: /Users/username/projects/mcp-todoist
Step 4: Cursor AI MCP設定の自動セットアップ
方法A: 自動設定スクリプト実行
以下のコマンドを実行して、Cursor AI設定を自動生成:
方法B: 手動設定
- 設定ファイルの場所を確認:
- 設定ファイルを作成/編集:
- 以下の内容をコピー&ペースト:
- プレースホルダーを置き換え:
/REPLACE_WITH_YOUR_PROJECT_PATH
→ 実際のプロジェクトパスREPLACE_WITH_YOUR_API_TOKEN
→ 実際のTodoist APIトークン
Step 5: 設定の検証
正常な場合の出力例:
Step 6: Cursor AI での確認
- Cursor AI を完全に再起動
- 設定確認:
⌘+,
(Mac) またはCtrl+,
(Windows) で設定を開く- "MCP" を検索
mcp-todoist
サーバーが表示され、緑のインジケーターが点灯していることを確認
- 動作テスト:
⌘+L
でチャットを開く- 「Todoistからタスクリストを取得して」と入力
- MCPツールが自動実行され、タスクリストが表示されることを確認
🔧 AI アシスタント向け自動セットアップ手順
AIアシスタントがこのREADMEを読んで自動セットアップを実行する場合の手順:
- 環境確認:
- プロジェクト準備:
- パス取得:
- Cursor AI設定作成:
- ユーザーに指示:
- 設定検証:
利用可能なMCPツール
ツール名 | 説明 | パラメータ |
---|---|---|
todoist_get_tasks | タスク一覧取得 | project_id , filter , limit (すべて任意) |
todoist_create_task | タスク作成 | content (必須), description , project_id , priority , due_string , labels |
todoist_update_task | タスク更新 | task_id (必須), content , description , priority , due_string , labels |
todoist_close_task | タスク完了 | task_id (必須) |
todoist_get_projects | プロジェクト一覧取得 | なし |
todoist_create_project | プロジェクト作成 | name (必須), color , parent_id , is_favorite |
todoist_update_project | プロジェクト更新 | project_id (必須), name , color , is_favorite |
todoist_delete_project | プロジェクト削除 | project_id (必須) |
使用例
Cursor AIでの基本操作
コマンドラインでの直接テスト
トラブルシューティング
よくある問題
- 「Module not found」エラー
cd packages/mcp-server && npm run build
でビルドを実行
- Cursor AIでMCPサーバーが認識されない
- Cursor AIを完全に再起動
~/.cursor/mcp.json
のパスが正しいか確認- 環境変数
TODOIST_API_TOKEN
が設定されているか確認
- Todoist API エラー
- APIトークンが有効か確認
- Todoist API ドキュメント で制限事項を確認
他の環境での使用
このMCPサーバーはCursor AI以外の環境でも使用できます:
- Claude Desktop: 設定ファイル
~/.config/claude/claude_desktop_config.json
- その他のMCPクライアント: stdio transportをサポートするクライアント
設定方法は基本的に同じで、コマンドとパスを適切に指定するだけです。
🌟 主な特徴
- 🤖 AI統合: Cursor AI、Claude Desktopなど複数のAIツールからTodoistを操作
- 🚀 簡単セットアップ: 3ステップで導入完了
- 📋 高度なタスク管理: AIアシスタントでGTD、タスク整理、プロジェクト管理が効率化
- 🔄 リアルタイム同期: Todoist APIと直接連携
- 🛠️ 拡張可能: オープンソースで自由にカスタマイズ
- 💾 stdio transport: 標準的なMCPプロトコル準拠
📖 ライセンス
MIT License - 詳細は LICENSE ファイルを参照
🔗 リンク
- GitHub: https://github.com/kentaroh7777/mcp-todoist
- MCP Protocol: https://modelcontextprotocol.io
- Todoist API: https://developer.todoist.com
🤝 コントリビューション
プルリクエスト、イシュー報告、機能提案を歓迎します!
- Fork the repository
- Create your feature branch (
git checkout -b feature/AmazingFeature
) - Commit your changes (
git commit -m 'Add some AmazingFeature'
) - Push to the branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
🎯 AIでタスク管理を革新しよう!
This server cannot be installed
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
A Model Context Protocol server implementation compatible with Todoist API, allowing AI agents to interact with task management functionality through standardized MCP tools.
Related MCP Servers
- AsecurityAlicenseAqualityA Model Context Protocol (MCP) server that provides tools for managing todo items, including creation, updating, completion, deletion, searching, and summarizing tasks.Last updated -104TypeScriptMIT License
- AsecurityAlicenseAqualityAn MCP server that enables LLMs to interact with Todoist tasks, projects, and other features through the Todoist API.Last updated -36171104TypeScriptMIT License
- -securityFlicense-qualityA Model Context Protocol server that provides persistent task management capabilities for AI assistants, allowing them to create, update, and track tasks beyond their usual context limitations.Last updated -1TypeScript
- -securityFlicense-qualityA Model Context Protocol server that enables Cursor AI assistants to interact with Todoist tasks directly from the coding environment, supporting advanced task filtering and rich formatting.Last updated -29Python