Local TimeTree MCP
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Local TimeTree MCP list my TimeTree calendars and show this week's events"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Local TimeTree MCP
繁體中文 | English
flowchart LR
A["Windows 工作排程器"] --> B["本機啟動程式"]
B --> C["MCP 伺服器 · stdio"]
C --> D["TimeTree Web 介接"]
D --> E["TimeTree Web"]
B --> F["本機行程報表"]
F -.-> G["選用 Ollama 摘要"]省流:這個專案解決什麼?
讓家用 Windows 主機定期從 TimeTree 讀取行程並產生報表。需要摘要時,可交給本機 Ollama 整理。這是唯讀的非官方介接,使用 TimeTree Web 的非公開端點。
Related MCP server: mcp-calendar
工具與架構
項目 | 功能 |
| 列出有效行事曆的 ID 和名稱。 |
| 讀取指定行事曆,可依開始時間篩選。時間參數為 Unix 毫秒,上下界均為排除。 |
| 用官方 MCP SDK 註冊兩個工具,透過 stdio 提供給客戶端。 |
| 處理登入、工作階段更新、事件分頁和回應格式驗證。 |
| 在 Windows 儲存本機憑證,啟動查詢、報表或摘要。 |
週期行程目前只出現在原始開始時間,報表會標示可能漏掉後續場次。
安裝與唯讀測試
安裝 Node.js 22 以上版本與 npm,在專案目錄開啟 PowerShell:
npm.cmd ci
npm.cmd test
powershell.exe -NoProfile -ExecutionPolicy Bypass -File .\TimeTree-Agent.ps1 -Mode CheckCheck 只驗證 MCP 握手與工具探索。確認 TimeTree Web 能用電子郵件和密碼登入後,在自己的 Windows 視窗執行:
powershell.exe -NoProfile -ExecutionPolicy Bypass -File .\TimeTree-Agent.ps1 -Mode Credentials
powershell.exe -NoProfile -ExecutionPolicy Bypass -File .\TimeTree-Agent.ps1 -Mode Calendars
powershell.exe -NoProfile -ExecutionPolicy Bypass -File .\TimeTree-Agent.ps1 -Mode Events -CalendarId YOUR_ID將 YOUR_ID 換成測試行事曆 ID。Windows 以 DPAPI 為目前使用者和電腦加密密碼。帳號名稱和報表仍可讀取。相關檔案存放在專案目錄外的 %LOCALAPPDATA%\LocalTimeTreeMcp\。
Windows 工作排程器
Events 成功後,改成 -Mode Daily 手動執行,確認 agenda.txt 已更新。以同一個 Windows 帳號建立每日工作,選「只有在使用者登入時才執行」。程式填 powershell.exe,引數如下,請替換路徑與 ID:
-NoProfile -NonInteractive -WindowStyle Hidden -ExecutionPolicy Bypass -File "C:\path\to\TimeTree-Agent.ps1" -Mode Daily -CalendarId YOUR_ID選「不要啟動新執行個體」,手動執行一次並核對結果 0x0 和報表時間。如果已啟動 Ollama 並下載 qwen3:4b,可使用 -Mode Summary 在本機產生摘要。
驗證與維護
測試涵蓋 MCP stdio 握手、工具探索、工作階段更新、事件分頁和異常回應。實際 TimeTree 登入與讀取仍需用測試帳號驗證。TimeTree 改版時,可先檢查 src/timetree.mjs,再用模擬回應在 test/ 重現問題。請勿提交含實際行程的 API 回應。
支援 stdio 的客戶端可執行 node src/server.mjs,並透過子程序環境傳入 TIMETREE_EMAIL 和 TIMETREE_PASSWORD。ChatGPT 網頁版需要另外設定受支援的 MCP 連線。
授權
Available Tools
2 toolsget_eventsARead-only
List events by start time. Recurring series are returned at the original start only. Dates are Unix milliseconds; bounds are exclusive.
Inputs: calendar_id (required), start_after, start_before, include_memos.
list_calendarsARead-only
List active TimeTree calendars with IDs and names.
Inputs: no named parameters.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 2 tools
The two tools have clearly distinct targets: list_calendars returns calendar metadata and IDs, while get_events returns event data. There is minimal overlap, and the tools form a natural discovery-then-query pipeline.
Both names use the same verb_noun snake_case convention (list_calendars, get_events). The pattern is consistent and predictable.
Only two tools is thin for a calendar server; while each is meaningful, the surface is narrowly read-only and offers no write or management operations. This is an under-scoped set for the apparent domain.
The server covers only listing calendars and events, with no create, update, delete, or calendar-management operations. Significant lifecycle gaps will cause dead ends for any agent needing to modify or manage calendar data.
Related MCP Connectors
Read and change your Google, Outlook and iCloud calendars, tasks and meeting notes from an AI app
1Calendar API for AI agents: events, availability, Google/Microsoft setup, scheduling, and iCal.
Mac & Windows: let ChatGPT, Claude & Cursor use your email, calendar, iMessage, Teams, files.
Connects ChatGPT to your Apple Calendar via a local Mac agent + Vercel relay
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to access and interact with macOS Calendar.app events and reminders, including viewing, searching, and filtering calendar data.2MIT
- AlicenseNot gradedqualityCmaintenanceEnables read-only access to a Google account's calendars through the Google Calendar API, exposing tools to list calendars, view upcoming agendas, query events by date range, and search events by free text.MIT
- AlicenseBqualityBmaintenanceEnables AI agents on Windows to manage calendar events and reminders over CalDAV and CloudKit, with repeats, alerts, tags, urgent alarms, agenda and free-time planning, notes, and undoable activity logging.412MIT
- AlicenseAqualityBmaintenanceEnables an agent to read and manage calendars across Nextcloud, iCloud, Google and any CalDAV server, merging every account into one sorted view. Exposes tools for listing and searching events, finding free time, and creating, updating or deleting events, with secrets kept out of the config.861 npmMIT