TimeTree-MCP

TimeTree-MCP

Unofficial MCP server for accessing and managing TimeTree calendar data, supporting events, memos, and comments via email/password authentication.

Category
访问服务器

README

TimeTree MCP Server

English | 한국어

English

⚠️ DISCLAIMER: This is an UNOFFICIAL TimeTree MCP server for PERSONAL USE ONLY. Not affiliated with TimeTree, Inc. May break at any time. See DISCLAIMER.md for full details.

An unofficial MCP (Model Context Protocol) server that allows MCP clients (Claude Desktop, Claude Code, Codex, Antigravity, Cline, Cursor, Windsurf, etc.) to access your TimeTree calendar data.

Credits: This project was inspired by and uses API insights from TimeTree-Exporter by @eoleedi.

Features

  • 📅 List Calendars - Get all your TimeTree calendars
  • 📆 Get Events - Retrieve events from any calendar with automatic pagination
  • Create Events - Add new events to your calendars
  • ✏️ Update Events - Modify existing events
  • 🗑️ Delete Events - Remove events from your calendars
  • 🗒️ Manage Memos - List, create, update, and delete TimeTree memos
  • 💬 Manage Comments - Add, list, update, and delete event comments
  • 🏷️ Calendar Metadata - Read/update labels and inspect members/virtual members
  • Poster Workflow - Organize local event poster images after creating/updating events
  • 🔐 Secure Authentication - Email/password authentication (stored only in MCP config)
  • Rate Limiting - Token bucket algorithm to prevent API overload
  • 🔄 Auto Pagination - Automatically fetches all events across multiple pages
  • 🛡️ Error Handling - Comprehensive error handling with user-friendly messages
  • 📝 Structured Logging - Detailed logs with sensitive data masking

Requirements

  • Node.js >= 18.0.0
  • Git (for installation)
  • A TimeTree account
  • An MCP-compatible client (Claude Desktop, Claude Code, Codex, Antigravity, Cline, etc.)

Installation

🚀 Quick Installation for Your Agent

Copy this prompt into Codex, Claude Code, or another coding agent:

Clone https://github.com/ehs208/TimeTree-MCP, enter the cloned directory, run npm ci && npm run build, then configure my MCP client with a server named timetree that runs node /absolute/path/to/TimeTree-MCP/dist/index.js (use the real cloned path). Store TIMETREE_EMAIL and TIMETREE_PASSWORD only in the MCP client environment configuration, and never hardcode or print secrets.

Quick Install (Recommended)

One-line installation - Automatically clones, builds, attempts optional npm link, and prints client configuration examples:

curl -fsSL https://raw.githubusercontent.com/ehs208/TimeTree-MCP/main/TimeTree-MCP-install.sh | bash

This project is installed from a GitHub clone, not the npm registry. The script builds the local clone, optionally runs npm link, then prints configuration instructions with absolute node/dist/index.js paths for all supported MCP clients. Just copy the config for your client and add your TimeTree credentials.

Manual Install

<details> <summary>Click to expand manual installation steps</summary>

  1. Clone and build:
git clone https://github.com/ehs208/TimeTree-MCP.git
cd TimeTree-MCP
npm ci
npm run build
  1. Configure your MCP client:

See the Configuration section below to set up your MCP client.

</details>

Configuration

Quick Example (Claude Desktop - macOS):

Edit ~/Library/Application Support/Claude/claude_desktop_config.json:

{
  "mcpServers": {
    "timetree": {
      "command": "node",
      "args": ["/absolute/path/to/TimeTree-MCP/dist/index.js"],
      "env": {
        "TIMETREE_EMAIL": "your-email@example.com",
        "TIMETREE_PASSWORD": "your-password"
      }
    }
  }
}

Replace the path with your cloned repository path. If a GUI client cannot find node, use the absolute path from command -v node as command. Then restart Claude Desktop (Cmd+Q and reopen).

📖 For all MCP clients (Claude Desktop Windows, Claude Code CLI, Codex, Antigravity, VS Code editors, etc.): → See docs/MCP_CLIENTS.md for detailed configuration instructions

Updating

To update to the latest version:

cd /path/to/TimeTree-MCP  # or your installation path
git pull origin main
npm ci
npm run build

Then restart your MCP client.

📖 For detailed update instructions and troubleshooting: → See docs/UPDATING.md

Usage

📖 See COMMANDS.md for detailed usage examples and workflows

MCP Tools

  • list_calendars - List all calendars with participating users
  • get_events - Get events from a calendar with auto-pagination
  • get_updated_events - Get events updated after a specific timestamp (efficient incremental sync)
  • create_event - Create a new event in a calendar (supports alerts, recurrences, attendees, checklist)
  • update_event - Update an existing event
  • delete_event - Delete an event from a calendar
  • list_memos / create_memo / update_memo / delete_memo - Manage TimeTree memos
  • add_event_comment / list_event_comments / update_event_comment / delete_event_comment - Manage event comments
  • get_calendar_labels / update_calendar_labels - Read or merge-update calendar labels
  • get_calendar_members / get_calendar_virtual_members - Read calendar member metadata
  • poster_workspace_status / mark_poster_processed - Manage a local poster-processing folder and CSV log

create_event and update_event can also accept image_path plus optional poster_workspace_root to move a processed poster and write the CSV log after the TimeTree write succeeds. This workflow does not upload the image to TimeTree.

📖 See COMMANDS.md for parameters and usage details.

Development

# Build the project
npm run build

# Watch mode (auto-rebuild on changes)
npm run dev

Limitations

  • Unofficial API: May break if TimeTree changes their internal API
  • Rate Limited: 10 requests/second (with automatic retry for 429 errors)
  • No Official Support: TimeTree does not officially support this tool
  • CSRF Token Required: Write operations require CSRF token (automatically extracted from TimeTree web page)

Security

  • Credentials are stored only in your local MCP configuration
  • Session cookies are stored in memory only (never persisted to disk)
  • Passwords and session IDs are automatically masked in logs
  • All communication uses HTTPS

Troubleshooting

"Missing required environment variables" error

Make sure TIMETREE_EMAIL and TIMETREE_PASSWORD are set in your MCP configuration.

Poster workflow folder

Set TIMETREE_POSTER_WORKSPACE_ROOT if you want poster workflow tools to use a specific folder. If omitted, the default is ~/Desktop/timetree-posters.

Authentication fails

  • Verify your email and password are correct
  • Check if you can log in to TimeTree web app
  • TimeTree might have changed their authentication API

No calendars or events returned

  • Verify you have calendars/events in your TimeTree account
  • Check the logs for detailed error messages
  • The API might have changed

Contributing

Contributions are welcome! Please:

  1. Fork the repository
  2. Create a feature branch
  3. Make your changes
  4. Submit a pull request

License

MIT License - see LICENSE file for details.

Disclaimer

See DISCLAIMER.md for important legal and usage information.


NOT AFFILIATED WITH TIMETREE, INC.

This is an independent, community-maintained project.

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选