Skip to main content
Glama
gneed49

TodoAI MCP Server

by gneed49

TodoAI

TodoAI 是一款快速、同步且注重隐私的 Linux 和 Android 任务管理应用。界面使用 Tauri 2、React、TypeScript 和 shadcn/ui。数据存储在 Supabase Postgres 中,并通过每个账户独有的访问规则进行保护。

功能特性

  • 工作区、任务、笔记、优先级和截止日期

  • 列表视图和看板视图,支持拖放

  • 浅色和深色主题

  • 应用与 MCP 之间的 Supabase 同步

  • 移动端界面,包含安全区域、触摸面板和横向看板

  • 远程 MCP,包含 7 个 CRUD 工具,部署为 Edge Function

  • 通过 Supabase 账户进行身份验证

Related MCP server: Supabase MCP

启动与构建

前提条件:Node.js、Rust 以及 Tauri/WebKitGTK 4.1 的 Linux 依赖项。

npm install
npm run tauri:dev
npm run tauri:build

公共 Supabase 配置已包含在应用中。.env.example 文档列出了可用的变量。公开的密钥是客户端密钥;数据仍通过身份验证和 Postgres RLS 策略得到保护。

生成的包:

  • src-tauri/target/release/bundle/appimage/TodoAI_0.4.0_amd64.AppImage 适用于 Fedora 和兼容 AppImage 的发行版

  • src-tauri/target/release/bundle/deb/TodoAI_0.4.0_amd64.deb 适用于 Debian 和 Ubuntu

Android

额外前提条件:Android SDK 36、Android NDK 28 以及四个 Rust Android 目标。

rustup target add aarch64-linux-android armv7-linux-androideabi i686-linux-android x86_64-linux-android
npm run android:init
npm run android:build -- --debug --target aarch64 --ci

优化并签名的 ARM64 APK 生成于 src-tauri/gen/android/app/build/outputs/apk/universal/release/TodoAI-0.4.0-android-arm64.apk。将其复制到手机,打开它,如果 Android 提示,则允许临时安装来自此来源的应用。该应用使用相同的 Supabase 账户,并自动找到与 Linux 版本和 ChatGPT MCP 相同的工作区和任务。

Supabase 基础

可复现的架构位于 supabase/migrations/20260817140000_create_todoai_core.sql。它创建了:

  • public.workspaces 和 public.todos

  • 索引和有效性检查

  • 将每个查询限制为其所有者的 RLS 策略

远程 MCP

已部署的 URL:

https://zoyxothgwbpgkjnjunis.supabase.co/functions/v1/todoai-mcp

工具:list_workspaces、create_workspace、list_todos、get_todo、create_todo、update_todo、delete_todo。

服务器暴露 Streamable HTTP,验证用户的 Supabase 令牌,然后使用 RLS 策略执行查询。未认证的请求将收到 401 响应,并自动指示 OAuth 元数据。

ChatGPT 连接

ChatGPT 使用 OAuth 2.1 访问私有数据和写入操作。登录和同意页面发布在 GitHub Pages 上:

https://gneed49.github.io/todoai-auth/oauth/consent/

相关的 Supabase Auth 配置:

  1. 站点 URL:https://gneed49.github.io/todoai-auth;

  2. 授权路径:/oauth/consent/;

  3. 启用 OAuth 2.1 服务器和动态客户端注册;

  4. 添加到 ChatGPT 的 MCP URL:https://zoyxothgwbpgkjnjunis.supabase.co/functions/v1/todoai-mcp。

该页面的源代码位于 auth-site/。其发布仓库是公开的,位于 https://github.com/gneed49/todoai-auth。

插件包位于 plugins/cairn;其历史标识符保留用于兼容性,但其可见名称和连接使用 TodoAI。

验证

npm run check
npm run build
cargo test --manifest-path src-tauri/Cargo.toml

认证界面也将在浏览器中以桌面和移动格式进行验证。

Maintenance

ActivitySlowing
ResponsivenessNo issues

Related MCP Connectors

Related MCP Servers

  • A
    license
    Not graded
    quality
    D
    maintenance
    Enables notes management through MCP integration with a Supabase PostgreSQL database, supporting full CRUD operations. It features secure user data isolation using JWT authentication and Row Level Security policies.
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    An MCP server enabling AI assistants to perform CRUD operations on a Supabase database via a standardized interface.
    194
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    Personal data management MCP server that stores and queries notes, tasks, conversations, and auth in SQLite, enabling LLMs to interact with the database through natural language.
    9 npm
    5
    ISC