Todo for AIのロゴ

Todo for AI

組織人気
todo-for-ai

🤖 A comprehensive task management system specifically designed for AI assistants. Supports project management, task tracking, team collaboration, and seamless AI integration through MCP (Model Context Protocol). Built with modern tech stack including React, Flask, and Docker. Try it now at https://todo4ai.org/

公開者todo-for-ai
リポジトリtodo-for-ai
言語Python
フォーク
104
スター
1.2K
利用可能なツール
0
通信方式stdio, streamable-http
カテゴリ
ライセンスApache-2.0
リンク
  • ツールをAIワークフローに接続

    Todo for AIは、対応するAIクライアントやAIエージェントから利用できるMCP機能を提供します。

  • 0個の利用可能なツール

    呼び出し可能なアクションを以下で確認できます。サーバーから提供されている場合は、名前や説明も表示されます。

  • コピーして使える設定

    セットアップ用の設定例を使って、お好みのMCPクライアントにこのサーバーを設定できます。

  • オープンソースの注目度

    リンク先のリポジトリには1.2K件のスターと104件のフォークがあります。

Todo for AI

GitHub stars GitHub license GitHub issues GitHub forks npm version Docker Pulls Website

中文版本 | English

🚀 A powerful task management system specifically designed for AI assistants, supporting intelligent project management, automated task tracking, and seamless team collaboration through MCP (Model Context Protocol) integration.

🚀 Try it now: Visit https://todo4ai.org/ to experience our product!

🤖 Why Todo for AI?

Todo for AI bridges the gap between AI assistants and human productivity workflows. Unlike traditional task management tools, our system is built from the ground up to work seamlessly with AI agents through the Model Context Protocol (MCP).

🎯 Core Value Propositions

  • 🔗 Native AI Integration: First-class support for AI assistants through MCP, enabling natural language task management
  • 🧠 Intelligent Automation: AI agents can create, update, and manage tasks autonomously based on context and user needs
  • 📊 Smart Project Insights: AI-powered analytics and recommendations for better project planning and execution
  • 🔄 Seamless Workflow: Bridge between AI capabilities and human oversight with intelligent task delegation
  • 🌐 Universal Compatibility: Works with Claude, GPT, and other AI assistants through standardized MCP protocol
  • ⚡ Real-time Collaboration: Instant synchronization between AI agents and human team members

🚀 Perfect For

  • AI-First Teams building the future of work
  • Developers integrating AI assistants into their workflows
  • Product Managers coordinating between AI agents and human teams
  • Researchers managing complex AI-driven projects
  • Anyone looking to supercharge their productivity with AI assistance

📸 Screenshots & Demo

🖥️ Web Interface

Todo for AI Dashboard Modern, intuitive dashboard for project and task management

Task Management Comprehensive task management with AI integration

AI Assistant Integration Seamless AI assistant integration through MCP

🎬 Demo Video

Todo for AI Demo

Click to watch a full demo of Todo for AI in action

✨ Key Features in Action

  • 🤖 AI-Powered Task Creation: Watch AI assistants create and organize tasks naturally
  • 📊 Real-time Analytics: See project progress and insights update live
  • 🔄 Seamless Collaboration: Experience smooth coordination between AI and human team members
  • 🎯 Smart Prioritization: Observe AI-driven task prioritization and scheduling

📁 Project Structure

This project uses Git Submodule architecture, splitting different modules into independent repositories:

📚 Architecture & Specs

🚀 Installation & Quick Start

Choose your preferred installation method:

🐳 Option 1: Docker (Recommended)

The fastest way to get started - everything included in one container:

bash
# Pull and run the latest image
docker run -d --name todo-for-ai \
  -p 50111:80 \
  -p 50110:50110 \
  -e DATABASE_URL="mysql+pymysql://username:password@host.docker.internal:3306/todo_for_ai" \
  -e GMAIL_USER="your-email@gmail.com" \
  -e GMAIL_PASSWORD="your-app-password" \
  -e GITHUB_TOKEN="your-github-token" \
  -e SECRET_KEY="your-secret-key-here" \
  -e JWT_SECRET_KEY="your-jwt-secret-key-here" \
  --add-host=host.docker.internal:host-gateway \
  todoforai/todo-for-ai:latest

# Access the application
# Frontend: http://localhost:50111/todo-for-ai/pages/projects
# API: http://localhost:50110/todo-for-ai/api/v1/

📦 Option 2: MCP Package Only

If you only need the MCP server for AI assistant integration:

bash
# Install via npm
npm install -g @todo-for-ai/mcp

# Or install locally
npm install @todo-for-ai/mcp

# Configure and start
todo-for-ai-mcp --config config.json

🛠️ Option 3: Development Setup

For developers who want to contribute or customize:

bash
# 1. Clone the project (including submodules)
git clone --recursive https://github.com/todo-for-ai/todo-for-ai.git
cd todo-for-ai

# 2. Initialize submodules (if not using --recursive)
git submodule update --init --recursive

# 3. Set up environment variables
cp .env.example .env
# Edit .env with your configuration

# 4. Start with Docker Compose
docker-compose up -d

# Or build and run manually
docker build -t todo-for-ai:latest .
docker run -d --name todo-for-ai [environment variables] todo-for-ai:latest

⚡ Option 4: Source Installation

For advanced users who prefer manual setup:

bash
# 1. Clone and setup
git clone --recursive https://github.com/todo-for-ai/todo-for-ai.git
cd todo-for-ai

# 2. Backend setup
cd todo-for-ai-api-server
pip install -r requirements.txt
python app.py

# 3. Frontend setup (new terminal)
cd ../todo-for-ai-webpage
npm install
npm run build
npm run preview

# 4. MCP server setup (new terminal)
cd ../todo-for-ai-mcp
npm install
npm run build
npm start

✅ Runtime E2E Validation (Local)

From repository root, you can run one-shot runtime validation:

bash
# auto-create one AI task and verify commit -> DONE
./scripts/runtime_e2e_once.sh

# strict mode: first observed commit must match the target task
TARGET_TASK_ID=123456 STRICT_TARGET_ONLY=true ./scripts/runtime_e2e_once.sh

This wrapper calls agent-runtime/scripts/run_docker_e2e_once.sh and works with Colima/Docker local environments.

🎯 Quick Start Examples

🤖 Using with AI Assistants (MCP)

Once installed, you can immediately start using Todo for AI with your favorite AI assistant:

javascript
// Example: Claude Desktop MCP Configuration
{
  "mcpServers": {
    "todo-for-ai": {
      "command": "npx",
      "args": ["@todo-for-ai/mcp"],
      "env": {
        "TODO_API_URL": "http://localhost:50110/todo-for-ai/api/v1",
        "TODO_API_KEY": "your-api-key"
      }
    }
  }
}
bash
# Example AI Commands (Natural Language)
"Create a new project called 'Website Redesign'"
"Add a task 'Design homepage mockup' to the Website Redesign project"
"List all my pending tasks"
"Mark the homepage mockup task as completed"
"Show me project progress for this week"

🌐 Web Interface Usage

bash
# 1. Access the web interface
open http://localhost:50111/todo-for-ai/pages/projects

# 2. Login with GitHub OAuth or create account
# 3. Create your first project
# 4. Add tasks and start collaborating with AI assistants

🔧 API Integration

javascript
// Example: Creating a project via API
const response = await fetch('http://localhost:50110/todo-for-ai/api/v1/projects', {
  method: 'POST',
  headers: {
    'Content-Type': 'application/json',
    'Authorization': 'Bearer your-jwt-token'
  },
  body: JSON.stringify({
    name: 'My AI Project',
    description: 'A project managed by AI assistants'
  })
});

// Example: Adding a task
const taskResponse = await fetch('http://localhost:50110/todo-for-ai/api/v1/tasks', {
  method: 'POST',
  headers: {
    'Content-Type': 'application/json',
    'Authorization': 'Bearer your-jwt-token'
  },
  body: JSON.stringify({
    project_id: 1,
    title: 'Implement user authentication',
    content: 'Add OAuth integration for secure user login',
    priority: 'high',
    is_ai_task: true
  })
});

📱 MCP Server Configuration

json
// config.json for MCP server
{
  "server": {
    "host": "localhost",
    "port": 3001
  },
  "api": {
    "baseUrl": "http://localhost:50110/todo-for-ai/api/v1",
    "timeout": 30000
  },
  "auth": {
    "type": "jwt",
    "token": "your-jwt-token"
  },
  "features": {
    "autoCreateProjects": true,
    "smartTaskBreakdown": true,
    "contextualInsights": true
  }
}

🚀 Docker Deployment

1. Build image

bash
docker build -t todo-for-ai:latest .

2. Start container

bash
docker run -d --name todo-for-ai \
  -p 50111:80 \
  -p 50110:50110 \
  -e DATABASE_URL="mysql+pymysql://username:password@host.docker.internal:3306/todo_for_ai" \
  -e GMAIL_USER="your-email@gmail.com" \
  -e GMAIL_PASSWORD="your-app-password" \
  -e GITHUB_TOKEN="your-github-token" \
  -e SECRET_KEY="your-secret-key-here" \
  -e JWT_SECRET_KEY="your-jwt-secret-key-here" \
  --add-host=host.docker.internal:host-gateway \
  todo-for-ai:latest

3. Access URLs

4. Environment Variables

VariableDescription
DATABASE_URLDatabase connection string
GMAIL_USERGmail email address
GMAIL_PASSWORDGmail app password
GITHUB_TOKENGitHub access token
GITHUB_CLIENT_IDGitHub OAuth app ID
GITHUB_CLIENT_SECRETGitHub OAuth app secret
SECRET_KEYFlask secret key
JWT_SECRET_KEYJWT secret key

🔧 Configuration

GitHub OAuth App Setup

  1. Visit GitHub Developer Settings
  2. Click "New OAuth App"
  3. Fill in application information:
  4. Get Client ID and Client Secret after creation

Gmail App Password Setup

  1. Login to Gmail account
  2. Go to "Manage your Google Account"
  3. Select "Security" → "2-Step Verification"
  4. Generate "App passwords"

GitHub Token Setup

  1. Login to GitHub
  2. Go to Settings → Developer settings → Personal access tokens
  3. Generate new token with appropriate permissions

✨ Key Features

🎯 Core Task Management

  • 📋 Smart Project Organization - Hierarchical project and task structure with AI-powered categorization
  • ✅ Intelligent Task Tracking - Real-time status updates with automated progress monitoring
  • 🏷️ Dynamic Tagging System - Flexible labeling with AI-suggested tags for better organization
  • ⏰ Smart Scheduling - AI-assisted deadline management and priority optimization
  • 📊 Progress Analytics - Visual dashboards with AI-generated insights and recommendations

🤖 AI Integration

  • 🔌 MCP Protocol Support - Native integration with Claude, GPT, and other AI assistants
  • 🗣️ Natural Language Interface - Create and manage tasks using conversational commands
  • 🧠 Intelligent Automation - AI agents can autonomously manage tasks based on context
  • 📝 Smart Task Generation - AI-powered task breakdown and subtask creation
  • 🔍 Contextual Insights - AI-driven project analysis and optimization suggestions

👥 Collaboration & Communication

  • 🔐 Secure Authentication - Multi-factor authentication with GitHub OAuth integration
  • 📧 Smart Notifications - Intelligent email alerts with customizable triggers
  • 🔄 Real-time Sync - Instant updates across all connected AI agents and team members
  • 💬 Integrated Feedback - Seamless communication between AI assistants and human users
  • 🌐 Cross-platform Access - Web interface with API access for custom integrations

🛠️ Developer Experience

  • 🐳 Docker Ready - One-command deployment with full containerization
  • 🔧 RESTful API - Comprehensive API for custom integrations and extensions
  • 📚 Rich Documentation - Detailed guides for setup, usage, and customization
  • 🔒 Enterprise Security - Production-ready security features and compliance
  • 🚀 Scalable Architecture - Microservices design for high-performance deployments

🔍 Troubleshooting

Common Issues

1. Database Connection Failed

bash
# Check if database is running
mysql -u username -p -h localhost

# Check container logs
docker logs todo-for-ai

2. Port Already in Use

bash
# Check port usage
lsof -i :50110
lsof -i :50111

# Kill process
kill -9 <PID>

3. Frontend Page Cannot Load

bash
# Check nginx configuration
docker exec todo-for-ai nginx -t

# Restart nginx
docker exec todo-for-ai supervisorctl restart nginx

4. API Authentication Failed

  • Check if environment variables are set correctly
  • Confirm Gmail app password format is correct
  • Verify GitHub Token permissions

Log Viewing

bash
# View all logs
docker logs todo-for-ai

# View Flask logs
docker exec todo-for-ai tail -f /var/log/supervisor/flask.out.log

# View Nginx logs
docker exec todo-for-ai tail -f /var/log/nginx/access.log

🧪 Testing

API Testing

bash
# Test backend health
curl http://localhost:50110/

# Test API proxy
curl http://localhost:50111/todo-for-ai/api/v1/projects

# Test frontend page
curl http://localhost:50111/todo-for-ai/pages/projects

Functional Testing

  1. Access frontend page
  2. Try login functionality
  3. Create projects and tasks
  4. Test email notifications

🚀 Production Deployment

Security Configuration

  1. Use Strong Passwords: Ensure database and application keys are complex enough
  2. HTTPS Configuration: Configure SSL certificates for production environment
  3. Firewall Settings: Restrict unnecessary port access
  4. Regular Backups: Set up automatic database backups

Performance Optimization

  1. Resource Limits: Set memory and CPU limits for containers
  2. Load Balancing: Configure load balancing for multi-instance deployment
  3. Cache Configuration: Consider adding Redis cache
  4. Monitoring & Alerting: Configure application monitoring and alerting

🤝 Contributing

Issues and Pull Requests are welcome!

Development Workflow

  1. Fork the project
  2. Create a feature branch
  3. Commit your changes
  4. Create a Pull Request

Git and File Management

.gitignore Configuration

The project uses comprehensive .gitignore files to prevent sensitive data and build artifacts from being committed:

  • Root .gitignore: Main project-level ignore rules
  • Subproject .gitignore: Each subproject (api-server, mcp, webpage) has its own rules

Verify .gitignore:

bash
# Run verification script
./scripts/verify-gitignore.sh

# Check if a file is ignored
git check-ignore -v <file>

Common ignored files:

  • Environment variables (.env, .env.local)
  • SSL certificates (*.key, *.pem, *.crt)
  • Build outputs (dist/, build/, lib/)
  • Dependencies (node_modules/, venv/)
  • Logs (*.log, logs/)
  • User uploads (uploads/, media/)
  • Deployment scripts (deploy.sh, setup-*.sh)

Documentation:

Clean up accidentally tracked files:

bash
# Remove from git but keep locally
git rm --cached <file>

# Or use the cleanup script (for sensitive files)
./scripts/cleanup-git-cache.sh

📄 License

MIT License


🌟 Ready to get started? Visit https://todo4ai.org/ and experience the power of AI-driven task management!

インストール

TypingMind
{
  "mcpServers": {
    "todo-for-ai": {
      "command": "npx",
      "args": [
        "@todo-for-ai/mcp",
        "--config",
        "config.json"
      ],
      "env": {
        "CONFIG_PATH": "<CONFIG_PATH>"
      }
    }
  }
}

Todo for AIのMCPを複数のAIモデルで活用

TypingMindはワークスペース単位でMCPツールに接続します。そのため、一度Todo for AIに接続すれば、モデルごとに個別に設定することなく、TypingMind内のさまざまなAIモデルで利用できます。 お使いのデバイス上でMCPをローカル実行することも、リモートMCPサーバーのURLに接続することもできます。

方法1:ローカルコネクタを使用

MCPサーバーが、お使いのコンピューター上のローカルファイル、アプリ、非公開リソースにアクセスする必要がある場合は、この方法を使います。

1

MCP設定を開く

TypingMindで「設定」、「詳細設定」、「MCP」の順に進み、「コネクタを設定」を選択してください。

  1. ブラウザでTypingMindを開いてください。
  2. 設定アイコンをクリックしてください。
  3. 「詳細設定」に移動してください。
  4. 「MCP」セクションを開いてください。
  5. 「コネクタを設定」をクリックし、「このデバイス」を選択してください。
「このデバイス」が選択されたTypingMindのMCPコネクタ設定画面
2

コネクタのコマンドを実行

「このデバイス」を選択し、TypingMindからコマンドをコピーしてターミナルで実行してください。MCPの使用中は、プロセスを実行したままにしてください。

  1. TypingMindに表示されるセットアップコマンドをコピーしてください。
  2. macOSではターミナルを、WindowsではWindows Terminalを開いてください。
  3. コマンドを貼り付けて実行してください。
  4. ターミナルで続行の確認を求められた場合は、パッケージのインストールを承認してください。
  5. MCPツールの使用中は、ターミナルウィンドウを開いたまま、プロセスの実行を継続してください。
3

Todo for AIをサーバーとして追加

コネクタのステータスが「準備完了」になったら、「サーバーを編集」をクリックし、MCPサーバーの設定を貼り付けてください。

  1. コネクタのステータスが「準備完了」になるまでお待ちください。
  2. 「サーバーを編集」をクリックしてください。
  3. Todo for AIのMCPサーバー設定を貼り付けてください。
  4. サーバー一覧を保存してください。
  5. コネクタが引き続き使用可能か確認するには、更新してください。
稼働中のサーバーと「サーバーを編集」ボタンが表示されたTypingMindのMCP設定画面
{
  "mcpServers": {
    "todo-for-ai": {
      "command": "npx",
      "args": [
        "-y",
        "@todo-for-ai/mcp"
      ]
    }
  }
}
4

複数のモデルで同じ接続を使用

サーバー一覧を保存し、「プラグイン」を開いてTodo for AIのMCPツールを有効にしてください。その後、TypingMindで対応するAIモデルを選択し、チャットでツールを使うか、AIエージェントに割り当ててください。

  1. TypingMindの「プラグイン」ページを開いてください。
  2. Todo for AIのMCPツールを有効にしてください。
  3. チャットを開始し、使用するAIモデルを選択してください。
  4. MCPツールをチャットで使うか、AIエージェントに割り当ててください。
  5. MCPに再接続することなく、必要に応じて別のAIモデルに切り替えられます。
選択したAIモデルと有効なMCPツールを使用したTypingMindのチャット
Todo for AIを使ってこのタスクを手伝ってもらえますか?
Todo for AI
はい、読みました。
Todo for AIで調べた結果をお伝えします。

方法2:MCPサーバーのURLを追加

Todo for AIがすでにリモートでホストされている場合や、チームの複数のユーザーで1つのコネクタを共有したい場合は、この方法を使います。

1

MCPコネクタを開く

TypingMindで「プラグイン」に移動し、「MCPコネクタ」を開いて「URLを追加」を選択してください。

  1. ブラウザでTypingMindを開いてください。
  2. 「プラグイン」に移動してください。
  3. 「MCPコネクタ」を開いてください。
  4. 「URLを追加」をクリックします。
TypingMindの「カスタムMCPサーバーURLを追加」フォーム
2

サーバーURLを貼り付け

「サーバーURL」欄にプロバイダーから提供されたMCPサーバーのURLを入力してください。サーバーで必要とされる場合は、接続名、説明、アイコン、カスタムHTTPヘッダー、OAuthクライアント設定を追加してください。

  1. 「サーバーURL」欄にプロバイダーから提供されたMCPサーバーのURLを貼り付けてください。
  2. Todo for AIの接続名を入力してください。
  3. 接続を識別しやすくするには、説明とアイコンを追加してください。
  4. サーバーで認証が必要な場合は、カスタムHTTPヘッダーまたはOAuthクライアントの詳細情報を追加してください。
3

接続を作成

「接続を作成」をクリックし、プラグイン一覧に戻って、新しいMCP接続が有効になっていることを確認してください。

  1. 「接続を作成」をクリックします。
  2. MCPコネクタの一覧に戻ってください。
  3. Todo for AIの接続が「有効」と表示されていることを確認してください。
  4. 接続がすぐに表示されない場合は、プラグイン一覧を更新してください。
4

再接続せずにモデルを切り替え

お好みのモデルでチャットを開始し、「プラグイン」でTodo for AIのツールを有効にしてください。必要に応じて別のモデルに切り替えられます。MCP接続は、TypingMindのワークスペースで引き続き利用できます。

  1. TypingMindで新しいチャットを開始してください。
  2. 使用するAIモデルを選択してください。
  3. 「プラグイン」でTodo for AIのツールを有効にしてください。
  4. 必要に応じて、ツールを使うようモデルに依頼してください。
  5. 別のAIモデルに切り替えて、同じMCP接続を再利用してください。
選択したAIモデルと有効なMCPツールを使用したTypingMindのチャット
Todo for AIを使ってこのタスクを手伝ってもらえますか?
Todo for AI
はい、読みました。
Todo for AIで調べた結果をお伝えします。

よくある質問

Todo for AI MCPサーバーは何に使いますか?

Todo for AIは、対応するAIクライアントを外部ツールやコンテキストに接続するためのMCPサーバーです。TypingMindでは、このMCPサーバーを一度追加するだけで、AIワークスペース内でそのツールを利用できるようになります。

TypingMindでTodo for AI MCPを複数のAIモデルと併用できますか?

はい。TypingMindはワークスペース単位でMCPツールに接続するため、モデルごとにMCPサーバーを設定する必要はありません。Claude、ChatGPT、Geminiや、TypingMindで設定したその他のAIモデルでTodo for AIを利用できます。

TypingMindでTodo for AI MCPを使うメリットは何ですか?

TypingMindは、複数のAIモデル、プロンプト、プラグイン、AIエージェント、APIキー、MCPツールを1つのワークスペースにまとめられる、LLMチャット向けの優れたフロントエンドです。Todo for AIを接続すると、TypingMindでチャットのワークフローを整理しながら、お好みのモデルでそのMCPツールを利用できます。

Todo for AI MCPをTypingMindに接続するにはどうすればよいですか?

Todo for AIは、ローカルMCPコネクタを使うか、リモートMCPサーバーのURLを追加することでTypingMindに接続できます。サーバーがデバイス上のファイル、アプリ、プライベートリソースにアクセスする必要がある場合はローカルコネクタを、MCPサーバーがリモートでホストされている場合はサーバーURLを使用してください。

TypingMindでTodo for AI MCPのどのようなツールを利用できますか?

Todo for AIはMCP機能を提供しています。TypingMindのプラグインページで有効にすると、チャットで使用したり、AIエージェントに割り当てたりできます。

Todo for AI MCPを使うには、APIキーをTypingMindと共有する必要がありますか?

いいえ。TypingMindはローカルファーストの設計で、モデルプロバイダー、APIキー、プロンプト、MCP設定をご自身で管理できます。Todo for AIで認証が必要な場合は、接続の作成時に、そのMCPサーバーに必要なヘッダー、OAuth設定、またはローカル設定を追加してください。

関連するMCPサーバー

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇