Logo Open Sunsama

Open Sunsama

Cộng đồng
ShadowWalker2014

Open-source Sunsama alternative: a daily planner with kanban, time blocking, and focus mode that Claude and ChatGPT can use. One-click MCP connector (OAuth), REST API, web/desktop/mobile apps, self-hostable.

Nhà phát hànhShadowWalker2014
Kho mãopen-sunsama
Ngôn ngữTypeScript
Bản fork
12
Sao
60
Công cụ có sẵn
0
Phương thức truyền tảistdio, streamable-http
Danh mục
Liên kết
  • Kết nối công cụ với quy trình làm việc AI

    Open Sunsama cung cấp các khả năng MCP mà ứng dụng khách và tác nhân AI tương thích có thể sử dụng.

  • 0 công cụ có sẵn

    Xem các thao tác có thể gọi bên dưới, kèm tên và mô tả nếu máy chủ cung cấp.

  • Cấu hình sẵn để sao chép

    Dùng các đoạn cấu hình cài đặt mẫu để thiết lập máy chủ này trong ứng dụng khách MCP bạn muốn dùng.

  • Chỉ số quan tâm đến mã nguồn mở

    60 sao và 12 bản fork từ kho mã được liên kết.

Open Sunsama

Daily planning, done right.

The open-source daily planner for time-blocking, focused work, and seamless AI integration. AI native: control it from any agent, including Claude, ChatGPT, Cursor, Claude Code, or any MCP client, with one URL and no API key.

Open the app Connect Claude Connect ChatGPT GitHub stars

Website · Docs · Connect your AI · Self-host · Download apps

A real Tuesday for a Head of Product: a prioritized board, subtasks, estimates, and a time-blocked schedule. The backlog is tucked away on the left.

✨ Why Open Sunsama

Most planners are closed boxes that your AI assistant can't see into. Open Sunsama is built to be driven by AI as much as by you:

  • 🤖 Your AI plans with you. Claude and ChatGPT can read your schedule, create and prioritize tasks, time-block your day, and close things out through a secure one-click connector.
  • 🗓️ Sunsama-style daily planning. A kanban board of days, drag-and-drop time blocking, focus mode with a timer, and rollover of unfinished work.
  • 🔓 Open source and self-hostable. Run it on your own server, read every line, and extend it through a full REST API.
  • 🖥️ Everywhere you work. Web, desktop (macOS, Windows, Linux), and mobile, with light and dark themes and keyboard-first navigation.

🔌 Connect Claude or ChatGPT in 30 seconds

Paste one URL into your AI assistant, sign in, and click Allow access. That's it: no API keys and no config files.

https://api.opensunsama.com/mcp

Claude (web, Desktop, and mobile)

  1. Settings → Customize → Connectors → Add
  2. Name it Open Sunsama and paste the URL
  3. Continue → Add → Connect, then Allow access

Claude setup guide →

ChatGPT (paid plans, developer mode)

  1. Settings → Security and login → Developer mode
  2. chatgpt.com/plugins → + → paste the URL
  3. Create, then Allow access

ChatGPT setup guide →

Coding assistants connect the same way:

ClientInstall
Claude Codeclaude mcp add --transport http open-sunsama https://api.opensunsama.com/mcp, then run /mcp → Authenticate
CursorAdd to Cursor
VS CodeAdd to VS Code
Any MCP clientAdd the URL as a Streamable HTTP server with OAuth

Then just ask:

"What's on my plate today? Move anything that isn't a P0 or P1 to tomorrow." "Block 9–11am tomorrow for deep work on the launch plan and link it to that task." "Add subtasks to 'Board deck': metrics slide, roadmap slide, asks."

  • Standard OAuth 2.1 with PKCE. Claude and ChatGPT are identified by their published client metadata (CIMD), so the consent screen shows a verified badge. Other clients register with dynamic client registration.
  • Scoped, short-lived tokens. Access tokens expire hourly and refresh automatically. Refresh tokens rotate, and replaying an old one revokes the whole grant.
  • Least privilege. Connector tokens only reach tasks, time blocks, and your profile. They can't touch API keys, passwords, uploads, or calendar accounts.
  • Annotated tools. Every tool is marked read-only or destructive, so assistants ask before deleting anything.
  • One-click disconnect under Settings → MCP → Connected apps.
json
{
  "mcpServers": {
    "open-sunsama": {
      "command": "npx",
      "args": ["-y", "@open-sunsama/mcp"],
      "env": { "OPENSUNSAMA_API_KEY": "os_your_api_key_here" }
    }
  }
}

You can also send a key to the hosted server as an X-API-Key header. See Local server & API keys.

🎬 See it in action

🧭 Everything you need to plan a focused day

Time-block your week

Drag tasks onto the calendar and see your whole week at a glance. Blocks link back to their tasks, so estimates meet reality.

Dig into any task

Subtasks, rich-text notes, attachments, priority, estimate, and a timer, all in one keyboard-friendly modal.

Focus mode

One task, one timer. Track actual time against your estimate while everything else fades away.

⌘K for everything

Jump to any task, idea, or setting in a keystroke. Search spans tasks, ideas, and events.

Every task, one list

Filter active, completed, or everything, grouped by day with subtask progress.

Ideas: your someday boards

Trello-style boards for bets and side projects. Promote an idea to a real task when it's time.

Works on every screen

  • Web app at opensunsama.com
  • Desktop for macOS, Windows, and Linux, with a system tray, a global quick-add hotkey, and notifications (download)
  • Mobile for iOS and Android
  • Calendar sync with Google Calendar, Outlook, and iCloud
  • Recurring routines, task rollover, reminders, and push notifications
  • Keyboard-first: press ? anywhere for shortcuts
  • Themes: light, dark, or system, with multiple color palettes and fonts

🆚 How it compares

Open SunsamaTypical closed planners
Open source & self-hostable✅❌
AI native: control it from any agent over MCP✅❌
One-click Claude & ChatGPT connector (OAuth)✅Rare
Full REST API with scoped keys✅Limited
Daily planning board + time blocking✅✅
Focus timer, routines, rollover✅Varies
Web, desktop, and mobile apps✅✅

Switching from another tool? Read the comparisons: Sunsama · Motion · Akiflow · Reclaim · Todoist

👥 Built for people who plan their day

🛠️ MCP tools

23 tools, available through the hosted connector and the local server:

CategoryTools
Taskslist_tasks get_task create_task update_task complete_task uncomplete_task delete_task schedule_task reorder_tasks
Time blockslist_time_blocks get_time_block create_time_block update_time_block delete_time_block link_task_to_time_block get_schedule_for_day
Subtaskslist_subtasks create_subtask toggle_subtask update_subtask delete_subtask
Profileget_user_profile update_user_profile

🧩 REST API

Everything in the app is available over HTTP, with JWT or scoped API keys:

bash
curl -X POST https://api.opensunsama.com/tasks \
  -H "X-API-Key: os_your_key" -H "Content-Type: application/json" \
  -d '{"title": "Ship v2.0", "priority": "P0", "scheduledDate": "2026-10-01", "estimatedMins": 120}'

Scopes: tasks:read tasks:write time-blocks:read time-blocks:write ideas:read ideas:write user:read user:write. See the API reference.

🚀 Get started

Cloud: create an account at opensunsama.com, then connect your AI.

Self-host with Docker:

bash
git clone https://github.com/ShadowWalker2014/open-sunsama.git
cd open-sunsama
docker-compose up -d        # PostgreSQL + API on :3001 (MCP connector at /mcp)
docker build -f Dockerfile.web --build-arg VITE_API_URL=https://api.your-domain.com -t open-sunsama-web .

The self-hosting guide covers environment variables, the web container, and production setup.

Prerequisites: Bun 1.2+ and PostgreSQL 15+. S3-compatible storage is optional, for file uploads.

bash
git clone https://github.com/ShadowWalker2014/open-sunsama.git
cd open-sunsama
bun install

# Configure environment (root + API)
cp .env.example .env
cp apps/api/.env.example apps/api/.env
#   JWT_SECRET              → openssl rand -base64 32
#   CALENDAR_ENCRYPTION_KEY → openssl rand -hex 32
#   API_URL / WEB_APP_URL   → your public URLs (the MCP connector uses them for OAuth)

bun run db:push
bun run dev

For calendar sync, follow the Google Calendar setup guide.

scripts/readme-media/seed-demo.ts fills an account with a realistic week (tasks, subtasks, time blocks, and ideas) through the REST API. It's the same data behind these screenshots:

bash
DEMO_API_URL=http://localhost:3001 DEMO_PASSWORD='Choose-a-strong-1' bun run scripts/readme-media/seed-demo.ts

🏗️ Tech stack

LayerTechnologies
FrontendReact 19, Vite, TanStack Router + Query, Tailwind CSS, Radix UI, Tiptap
BackendHono 4, Drizzle ORM, PostgreSQL, PG Boss jobs, Zod, OAuth 2.1 authorization server
AIModel Context Protocol (Streamable HTTP + stdio), 23 annotated tools
Desktop / mobileTauri 2, Expo
InfraBun workspaces, Turborepo, Docker, Railway
open-sunsama/
├── apps/
│   ├── api/        # Hono REST API, OAuth server, and the /mcp endpoint
│   ├── web/        # React + Vite app, docs, and marketing site
│   ├── desktop/    # Tauri v2 desktop app
│   └── mobile/     # Mobile apps
├── packages/       # database (Drizzle), types, api-client, utils
└── mcp/            # MCP tools + the npx stdio server

🗺️ Roadmap

  • Daily planning board, priorities, subtasks, and rich notes
  • Time-blocking calendar with day, 3-day, week, and month views
  • Focus mode, routines (recurring tasks), and rollover
  • Calendar sync: Google Calendar, Outlook, and iCloud
  • Ideas boards and a ⌘K command palette
  • Desktop and mobile apps
  • MCP server (local stdio) and REST API with scoped keys
  • One-click Claude & ChatGPT connector (hosted MCP + OAuth)
  • Team workspaces
  • Integrations (Linear, GitHub, Jira, Notion)
  • Analytics dashboard
  • AI auto-scheduling

Have an idea? Start a discussion.

❓ FAQ

🤝 Contributing

Contributions are welcome! Open an issue, start a discussion, or send a PR. See CONTRIBUTING.md.

bash
git checkout -b feature/amazing-feature
bun run dev && bun run typecheck && bun run lint
git commit -m "feat: add amazing feature"

📄 License

Open Sunsama uses a custom non-commercial license. It covers personal, educational, non-profit, and open-source use, plus evaluation. Commercial use by for-profit companies requires an enterprise license. See LICENSE.

If Open Sunsama helps you plan better days, please give it a ⭐. It helps others find it.

Star on GitHub

Made by Circo · opensunsama.com

Cài đặt

TypingMind
{
  "mcpServers": {
    "open-sunsama": {
      "command": "npx",
      "args": [
        "-y",
        "@open-sunsama/mcp"
      ],
      "env": {
        "OPENSUNSAMA_API_KEY": "<OPENSUNSAMA_API_KEY>"
      }
    }
  }
}

Dùng MCP Open Sunsama với nhiều mô hình AI

TypingMind kết nối các công cụ MCP ở cấp không gian làm việc, nên sau khi kết nối Open Sunsama, bạn có thể dùng với nhiều mô hình AI khác nhau trong TypingMind thay vì phải thiết lập riêng cho từng mô hình. Bạn có thể chạy MCP ngay trên thiết bị của mình hoặc kết nối qua URL của máy chủ MCP từ xa.

Cách 1: Dùng trình kết nối cục bộ

Dùng cách này khi máy chủ MCP cần truy cập các tệp, ứng dụng hoặc tài nguyên riêng tư trên máy tính của bạn.

1

Mở cài đặt MCP

Trong TypingMind, vào Cài đặt, Cài đặt nâng cao, rồi đến Giao thức ngữ cảnh mô hình và chọn Cài trình kết nối.

  1. Mở TypingMind trong trình duyệt của bạn.
  2. Nhấp vào biểu tượng Cài đặt.
  3. Vào Cài đặt nâng cao.
  4. Mở mục Giao thức ngữ cảnh mô hình.
  5. Nhấp vào Cài trình kết nối rồi chọn Thiết bị này.
Màn hình thiết lập trình kết nối MCP của TypingMind với tùy chọn Thiết bị này được chọn
2

Chạy lệnh trình kết nối

Chọn Thiết bị này, sao chép lệnh từ TypingMind và chạy trong Terminal. Giữ tiến trình chạy trong khi bạn dùng MCP.

  1. Sao chép lệnh thiết lập hiển thị trong TypingMind.
  2. Mở Terminal trên macOS hoặc Windows Terminal trên Windows.
  3. Dán và chạy lệnh.
  4. Xác nhận cài đặt gói nếu Terminal hỏi bạn có muốn tiếp tục không.
  5. Giữ tiến trình trong cửa sổ Terminal chạy trong khi dùng các công cụ MCP.
3

Thêm Open Sunsama làm máy chủ

Khi trạng thái trình kết nối là Sẵn sàng, nhấp vào Sửa máy chủ và dán cấu hình máy chủ MCP.

  1. Đợi đến khi trạng thái trình kết nối hiển thị Sẵn sàng.
  2. Nhấp vào Sửa máy chủ.
  3. Dán cấu hình máy chủ MCP của Open Sunsama.
  4. Lưu danh sách máy chủ.
  5. Làm mới nếu bạn muốn xác nhận trình kết nối vẫn sẵn sàng.
Cài đặt MCP của TypingMind hiển thị máy chủ đang hoạt động và nút Sửa máy chủ
{
  "mcpServers": {
    "open-sunsama": {
      "command": "npx",
      "args": [
        "-y",
        "open-sunsama"
      ]
    }
  }
}
4

Dùng kết nối với nhiều mô hình

Lưu danh sách máy chủ, mở Plugin, bật các công cụ MCP của Open Sunsama, sau đó chọn bất kỳ mô hình AI nào được hỗ trợ trong TypingMind và dùng các công cụ trong cuộc trò chuyện hoặc gán chúng cho một tác nhân AI.

  1. Mở trang Plugin trong TypingMind.
  2. Bật các công cụ MCP của Open Sunsama.
  3. Bắt đầu cuộc trò chuyện và chọn mô hình AI bạn muốn dùng.
  4. Dùng các công cụ MCP trong cuộc trò chuyện hoặc gán chúng cho một tác nhân AI.
  5. Chuyển sang mô hình AI khác bất cứ khi nào cần mà không phải kết nối lại MCP.
Cuộc trò chuyện TypingMind dùng các công cụ MCP đã bật với một mô hình AI được chọn
Bạn có thể dùng Open Sunsama giúp tôi làm việc này không?
Open Sunsama
Được. Tôi đã đọc.
Đây là kết quả tôi tìm được bằng Open Sunsama.

Cách 2: Thêm URL máy chủ MCP

Dùng cách này khi Open Sunsama đã được lưu trữ từ xa hoặc nhóm của bạn muốn có một trình kết nối dùng chung cho nhiều người dùng.

1

Mở mục Trình kết nối MCP

Trong TypingMind, vào Plugin, mở mục Trình kết nối MCP, rồi chọn Thêm URL.

  1. Mở TypingMind trong trình duyệt của bạn.
  2. Vào mục Plugin.
  3. Mở mục Trình kết nối MCP.
  4. Nhấp vào Thêm URL.
Biểu mẫu Thêm URL máy chủ MCP tùy chỉnh của TypingMind
2

Dán URL máy chủ

Nhập URL máy chủ MCP do nhà cung cấp cung cấp vào trường URL máy chủ. Thêm tên kết nối, mô tả, biểu tượng, header HTTP tùy chỉnh hoặc cài đặt ứng dụng khách OAuth nếu máy chủ yêu cầu.

  1. Dán URL máy chủ MCP do nhà cung cấp cung cấp vào trường URL máy chủ.
  2. Nhập tên kết nối cho Open Sunsama.
  3. Thêm mô tả và biểu tượng nếu bạn muốn dễ nhận biết kết nối hơn.
  4. Thêm header HTTP tùy chỉnh hoặc thông tin ứng dụng khách OAuth nếu máy chủ yêu cầu xác thực.
3

Tạo kết nối

Nhấp vào Tạo kết nối, sau đó quay lại danh sách Plugin và xác nhận kết nối MCP mới đang hoạt động.

  1. Nhấp vào Tạo kết nối.
  2. Quay lại danh sách trình kết nối MCP.
  3. Xác nhận kết nối Open Sunsama hiển thị trạng thái đang hoạt động.
  4. Làm mới danh sách plugin nếu kết nối chưa xuất hiện ngay.
4

Đổi mô hình mà không cần kết nối lại

Bắt đầu cuộc trò chuyện với mô hình bạn thích, bật các công cụ của Open Sunsama trong mục Plugin và chuyển sang mô hình khác khi cần. Kết nối MCP vẫn sẵn dùng trong không gian làm việc TypingMind.

  1. Bắt đầu cuộc trò chuyện mới trong TypingMind.
  2. Chọn mô hình AI bạn muốn dùng.
  3. Bật các công cụ của Open Sunsama trong mục Plugin.
  4. Yêu cầu mô hình dùng công cụ khi cần.
  5. Chuyển sang mô hình AI khác và dùng lại cùng kết nối MCP.
Cuộc trò chuyện TypingMind dùng các công cụ MCP đã bật với một mô hình AI được chọn
Bạn có thể dùng Open Sunsama giúp tôi làm việc này không?
Open Sunsama
Được. Tôi đã đọc.
Đây là kết quả tôi tìm được bằng Open Sunsama.

Câu hỏi thường gặp

Máy chủ MCP Open Sunsama dùng để làm gì?

Open Sunsama là máy chủ MCP cho phép các ứng dụng AI tương thích kết nối với công cụ và ngữ cảnh bên ngoài. Trong TypingMind, bạn chỉ cần thêm máy chủ MCP này một lần để các công cụ của nó có sẵn trong không gian làm việc AI của bạn.

Bạn có thể dùng MCP Open Sunsama với nhiều mô hình AI trong TypingMind không?

Có. TypingMind kết nối các công cụ MCP ở cấp không gian làm việc, nên bạn có thể dùng Open Sunsama với nhiều mô hình AI như Claude, ChatGPT, Gemini hoặc các mô hình khác đã cấu hình trong TypingMind mà không cần thiết lập máy chủ MCP riêng cho từng mô hình.

Vì sao nên dùng MCP Open Sunsama với TypingMind?

TypingMind là một trong những giao diện trò chuyện với LLM tốt nhất vì tập hợp nhiều mô hình AI, prompt, plugin, tác nhân AI, khóa API và công cụ MCP vào một không gian làm việc. Khi kết nối Open Sunsama, bạn có thể dùng các công cụ MCP của dịch vụ này với những mô hình ưa thích, đồng thời giữ quy trình trò chuyện gọn gàng trong TypingMind.

Làm cách nào để kết nối MCP Open Sunsama với TypingMind?

Bạn có thể kết nối Open Sunsama trong TypingMind bằng trình kết nối MCP cục bộ hoặc bằng cách thêm URL máy chủ MCP từ xa. Dùng trình kết nối cục bộ khi máy chủ cần truy cập tệp, ứng dụng hoặc tài nguyên riêng trên thiết bị của bạn; dùng URL máy chủ khi máy chủ MCP được lưu trữ từ xa.

MCP Open Sunsama cung cấp những công cụ nào trong TypingMind?

Open Sunsama cung cấp các chức năng MCP mà bạn có thể bật từ trang Plugin của TypingMind để dùng trong trò chuyện hoặc gán cho tác nhân AI.

Bạn có cần chia sẻ khóa API với TypingMind để dùng MCP Open Sunsama không?

Không. TypingMind ưu tiên xử lý cục bộ và cho phép bạn kiểm soát nhà cung cấp mô hình, khóa API, prompt và cấu hình MCP. Nếu Open Sunsama yêu cầu xác thực, hãy thêm các header, cài đặt OAuth hoặc cấu hình cục bộ cần thiết cho máy chủ MCP đó khi tạo kết nối.

Máy chủ MCP liên quan

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇