Calendar MCP

Calendar MCP

Enables reading and writing events to a single iCloud calendar, with support for recurring events and reminders, scoped to a specific calendar.

Category
访问服务器

README

Calendar MCP (one calendar, nothing else)

Remote MCP server that can read and write exactly one iCloud calendar collection. Meant for a calendar named "Claude" that you create for this purpose in Apple Calendar.

The restriction sits in the code, not in a permission dialog: ScopedCalendar is given a fixed calendar URL and never calls principal() or calendars(). There is no tool that could list or address any other calendar of the account. The app-specific password for the Apple ID technically covers the whole account, but nothing in the server makes use of that.

Tools

Tool Purpose
list_events(start, end) Events in a range, recurrences expanded
get_event(uid) A single event
create_event(...) Create, incl. all-day, RRULE, reminder
update_event(uid, ...) Partial update, unset fields stay unchanged
delete_event(uid) Delete

Times without a timezone count as local time from TIMEZONE.

Setup

1. Calendar and Apple app password

  1. Create a new iCloud calendar in Apple Calendar, e.g. "Claude".
  2. On appleid.apple.com, under "Sign-In and Security", generate an app-specific password.

2. Find the calendar URL

Locally, once:

pip install caldav
CALDAV_USERNAME=your@apple-id.tld \
CALDAV_APP_PASSWORD=xxxx-xxxx-xxxx-xxxx \
python discover_calendar.py

The URL from the "Claude" line goes into the .env as CALDAV_CALENDAR_URL. discover_calendar.py is deliberately not copied into the image.

3. GitHub OAuth app

Claude signs in to the server via OAuth. GitHub only serves as proof of identity here, so that not everyone who knows the URL can write.

Under GitHub → Settings → Developer settings → OAuth Apps, create an app:

  • Homepage URL: https://calendar-mcp.your-domain.tld
  • Authorization callback URL: https://calendar-mcp.your-domain.tld/auth/callback

Client ID and secret go into the .env. Set ALLOWED_GITHUB_LOGINS to your own login: without that list, any GitHub account that knows the server URL could sign in. That is why the server refuses to start when it is empty.

4. Deployment on Coolify

New resource → Dockerfile-based, connect the repo.

  • Port: 8000
  • Set a domain, let Coolify handle TLS
  • PUBLIC_BASE_URL has to match the public domain exactly (without /mcp), otherwise OAuth discovery fails
  • Enter every value from .env.example as an environment variable, mark secrets as such

The endpoint then lives at https://<domain>/mcp.

Test locally:

pip install -r requirements.txt
AUTH_MODE=none python server.py

5. Add it in Claude

Settings → Connectors → Add custom connector, URL https://calendar-mcp.your-domain.tld/mcp. Client ID and secret stay empty, dynamic client registration does the rest. The GitHub login follows, and the connector is then available in all Claude interfaces, mobile included.

When something does not connect

  • Claude waits at most 10 seconds for the OAuth endpoints. A container starting cold runs into that timeout, so warm it up once.
  • A PUBLIC_BASE_URL with a diverging host or path is the most common cause of a failing discovery.
  • Anthropic's outbound requests come from 160.79.104.0/21. If you put a firewall in front of it anyway, you can narrow it down to that.

What the server cannot do

  • No other calendars, not even on request.
  • No attendees, no invitations, no free/busy.
  • Nothing runs by itself. The server only acts when Claude calls it in a conversation or in a scheduled task.

One note on security: titles and descriptions of events end up as text in the model context. As long as the calendar stays unshared and receives no outside invitations, you are the only one writing into it.

推荐服务器

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 模型以安全和受控的方式获取实时的网络信息。

官方
精选