Skip to main content
Glama

jmap-calendar-mcp

An MCP server that lets an AI agent see your calendars, find events, and create, change or (if you allow it) delete events on any JMAP server that supports JMAP for Calendars, such as Stalwart 1.0 and later.

One Python file, standard library only.

Tools

Tool

What it does

list_calendars

Calendars on the account, and which one is the default

find_calendar_events

Events in a time range (default: the next 30 days), optionally matching text; recurring events are expanded

create_calendar_event

New event: title, start, time zone, length or all-day, description, location, attendees

update_calendar_event

Change only the given fields of an existing event, or move it to another calendar

delete_calendar_event

Delete an event, every occurrence if it repeats. Only offered with JMAP_ALLOW_DELETE=1

Built to be safe to hand to an agent:

  • No delete by default. An agent can move or rename an event but cannot remove one. Set JMAP_ALLOW_DELETE=1 to offer delete_calendar_event; it sends no cancellations.

  • No invitations by default. Attendees are added without being emailed. Sending invitations needs both JMAP_ALLOW_INVITES=1 on the server and send_invitations: true on the call.

  • Use a key with calendar permissions only, so the agent cannot read or send mail through it.

Related MCP server: Radicale CalDAV MCP Server

Setup

  1. Create an API key for the account. On Stalwart, open the account in the admin (Directory → Accounts), set the key's permissions to Replace all permissions, and give it only these:

    • Sign in to the server

    • JMAP: Retrieve calendar details and properties

    • JMAP: Track changes to calendars since a given state

    • JMAP: Retrieve calendar event details

    • JMAP: Track changes to calendar events since a given state

    • JMAP: Search for calendar events matching criteria

    • JMAP: Track changes to calendar event query results

    • JMAP: Create new calendar events

    • JMAP: Modify existing calendar events

    • JMAP: Remove calendar events (only if you set JMAP_ALLOW_DELETE=1)

    The key then cannot read or send mail.

  2. Add the server to your MCP client. For Claude Code:

claude mcp add calendar \
  -e JMAP_SESSION_URL=https://mail.example.com/.well-known/jmap \
  -e JMAP_BEARER_TOKEN=your-api-key \
  -- uvx jmap-calendar-mcp

For several accounts, add one server per account (calendar-work, calendar-home).

Variable

Meaning

JMAP_SESSION_URL

The server's JMAP session URL, usually https://<host>/.well-known/jmap

JMAP_BEARER_TOKEN

API key for the account

JMAP_ALLOW_INVITES

1 to allow sending invitations when a call asks for it; off by default

JMAP_ALLOW_DELETE

1 to offer delete_calendar_event; off by default

Keep the key out of shell history and config files where you can: load it from your password manager or secret store when the server starts.

License

MIT

Available Tools

4 tools
create_calendar_eventA

Create an event. Confirm title, time and time zone with the user first. Attendees are added without being emailed unless send_invitations is true.

Inputs: start (required), title (required), days, all_day, +7 more.

find_calendar_eventsA

Find events between two times (default: the next 30 days), optionally matching text. Recurring events are expanded into their occurrences.

Inputs: text, after, limit, before, +1 more.

list_calendarsA

List the calendars this account can see, with which is the default.

Inputs: no named parameters.

update_calendar_eventA

Change an existing event: give event_id and only the fields to change.

Inputs: event_id (required), days, start, title, +8 more.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.9/5.0

    Scored across 4 tools

    Disambiguation5/5

    Each tool has a clearly distinct purpose: listing calendars, finding events, creating events, and updating events. There is little risk of confusing list_calendars with event search, or create_calendar_event with update_calendar_event.

    Naming Consistency5/5

    All tool names use a consistent snake_case verb_noun pattern: list_calendars, find_calendar_events, create_calendar_event, update_calendar_event. The convention is predictable across the entire set.

    Tool Count5/5

    Four tools is a well-scoped set for a focused calendar MCP server, with each tool covering a distinct operation. It stays lean without feeling arbitrary.

    Completeness3/5

    The surface covers listing calendars, finding events, creating events, and updating events, but lacks a delete_event operation and lacks calendar management operations. These are notable lifecycle gaps, though the existing tools support core read/write workflows.

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      A
      maintenance
      Enables AI assistants to connect to calendar servers and manage events and tasks, including listing calendars, querying timeframes, creating, updating, completing, and deleting items through tools.
      897 npm
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Enables 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.
      8
      61 npm
      MIT