Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MORGEN_API_KEYYesMorgen API key. The server refuses to start without it.
MORGENMCP_DATA_DIRNoOverride the virtual-ID persistence directory. Default: platform data dir.
MORGENMCP_READ_ONLYNoTruthy values (1/true/yes/on) expose only the read tools, disabling every mutating one. Default: off.
MORGENMCP_DISPLAY_TZNoIANA timezone (e.g. America/Chicago) for rendering compact event times and determining local day/week windows of event resources. Default: system local.
MORGENMCP_TAGS_LIMITNoDefault limit sent to /tags/list. Integer >= 1, no upper bound. Unset returns all tags.
MORGENMCP_TASKS_LIMITNoDefault limit sent to /tasks/list. Integer 1–100. Default: 100.

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

Unofficial Morgen Calendar MCP Server provides access to Morgen's unified calendar,
task, and tag API.

All IDs are 7-character virtual IDs (e.g., "aB-9xZ_") for token efficiency.
Virtual IDs are deterministic — see the morgen://server resource for the
full hash contract (currently scheme version 1). A
bump in scheme_version means every previously-issued virtual ID is now
stale; re-list before using saved IDs.

Calendar workflow:
1. Use list_calendars to discover available calendars
2. Use list_events with calendar_ids to get events (compact=True for fewer
   tokens). A compact line may carry a kind tag inside the ID brackets,
   e.g. "[abc123 task]": task, routine (a check-off-able Morgen Routine),
   flexible (Morgen auto-scheduled, so movable), free, or a comma-joined
   pair such as "[abc123 task,free]" (no space). No tag means an ordinary
   busy commitment. Treat task/routine/flexible blocks as movable and free
   ones as informational, not as hard scheduling conflicts. Parse the tag
   by matching the trailing [<id> <tag>] at end of line, never by scanning
   for braces: an event TITLE may itself contain braces or brackets.
3. Use update_event or delete_event with just event_id. Deleting a
   single event that is already gone succeeds with alreadyGone=True;
   with series_update_mode future/all it is an error, as other
   occurrences may remain.
4. Use batch_delete_events or batch_update_events for bulk operations

Task workflow:
1. Use list_tasks to enumerate tasks (set limit; results may be truncated)
2. Use create_task / update_task / delete_task for CRUD
3. Use complete_task / reopen_task to toggle completion
4. Use move_task to reorder or change a task's parent

Tag workflow:
1. Use list_tags to enumerate user tags
2. Use create_tag / update_tag / delete_tag for CRUD
3. Pass tag virtual IDs to create_task or update_task via tag_ids

Simplified signatures:
- create_event: just calendar_id (account derived automatically)
- update_event/delete_event: just event_id (account/calendar derived automatically)
- list_events: optional calendar_ids (queries all if omitted)

Important notes:
- Times are in LocalDateTime format (e.g., "2023-03-01T10:15:00") with separate timeZone
- Durations use ISO 8601 format (e.g., "PT1H" for 1 hour, "PT30M" for 30 minutes)
- Alert offsets are negative durations (e.g., "-PT15M" = 15 min before)
- For recurring events, use seriesUpdateMode to control how updates affect the series
- Recurring events: pass recurrence_rules=[{"frequency":"weekly","interval":1,"by_day":["mo"]}]

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}
logging
{}
prompts
{
  "listChanged": true
}
resources
{
  "subscribe": false,
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
morgen_list_accountsA

List all connected calendar accounts.

Returns a list of accounts with their IDs, integration types, and user info. Use this to discover available accounts before performing calendar operations.

morgen_list_calendarsA

List all calendars across connected calendar accounts.

Returns a list of calendars with their IDs, names, colors, and permissions. Use this to discover available calendars before listing events.

morgen_update_calendar_metadataA

Update Morgen-specific metadata for a calendar.

This allows customizing how a calendar appears in Morgen without modifying the underlying calendar provider.

morgen_list_eventsA

List events from calendars within a time window.

Recurring events are automatically expanded to individual occurrences. Deleted or cancelled events are not included.

morgen_create_eventC

Create a new calendar event.

morgen_update_eventA

Update an existing calendar event.

Only include fields you want to change. Note that when updating timing fields (start, duration, time_zone, is_all_day), you must provide all four.

morgen_delete_eventB

Delete a calendar event.

morgen_batch_delete_eventsC

Delete multiple calendar events in a single tool call.

morgen_batch_update_eventsB

Update multiple calendar events in a single tool call.

morgen_list_task_listsA

Discover task lists (spaces) and count open tasks observed in each list.

morgen_list_tasksA

List Morgen tasks.

The default view returned only open tasks in live probes. With updated_after, the incremental view can include completed and soft-deleted tasks. Morgen applies the fetch limit before local task-list filtering. A reached limit means additional tasks may exist in the query scope.

morgen_get_taskA

Retrieve a single task by virtual ID.

Soft-deleted tasks are still returned with "deleted": True (useful for verifying deletion), while unknown or unowned task IDs raise a not-found ToolError.

morgen_create_taskC

Create a new Morgen task.

morgen_update_taskB

Update a task. Patch semantics — only provided fields change.

morgen_move_taskB

Reorder a task or change its parent.

morgen_complete_taskC

Mark a task as completed.

morgen_reopen_taskB

Reopen a completed task.

morgen_delete_taskB

Permanently delete a task.

morgen_batch_delete_tasksB

Delete multiple tasks in a single tool call.

morgen_list_tagsC

List user tags.

morgen_get_tagB

Retrieve a single tag by virtual ID.

morgen_create_tagC

Create a new tag.

morgen_update_tagA

Update a tag's name or color.

Note: Morgen does not allow unsetting name or color once defined — only changing them to new values.

morgen_delete_tagA

Soft-delete a tag.

The tag will appear in subsequent sync responses (when using updated_after) with deleted=True.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription
res_serverServer metadata: version and the virtual-ID hash contract. Stable for the lifetime of HASH_SCHEME_VERSION. Consumers should snapshot HASH_SPEC['scheme_version'] alongside any persisted virtual ID; if the value changes between sessions, persisted IDs are stale and must be re-resolved by calling the relevant list_* tool. A downstream consumer can independently recompute virtual IDs from the published `reference_implementation` and verify them against the `test_vectors` entries — this is a self-describing contract.
res_accountsList of connected calendar accounts.
res_calendarsList of all calendars across all accounts.
res_events_todayEvents scheduled for today (local-midnight to local-midnight).
res_events_this_weekEvents scheduled this ISO week (Monday through Sunday, local).
res_events_upcomingEvents from now through the next 7 days.
res_tasksOpen tasks (not completed or cancelled).
res_tasks_todayOpen tasks with a due date of today (local).
res_tagsList of user tags.

TDQS

B3.3/5.0

Scored across 24 tools

Disambiguation5/5

Each tool targets a distinct resource+action pair (accounts, calendars, events, task lists, tasks, tags), and the batch variants are explicitly scoped to multiple items so they don't collide with their single-item counterparts. Specialized verbs (move_task, complete_task, reopen_task, update_calendar_metadata) cleanly carve out operations that would otherwise be ambiguous patches.

Naming Consistency5/5

All 24 tools use the same namespace prefix plus snake_case verb_noun shape (morgen_list_events, morgen_create_task, morgen_delete_tag), with batch operations consistently using batch_ as the middle token. No camelCase or mixed verb styles anywhere in the set.

Tool Count3/5

24 tools spans four sub-domains (calendars, events, tasks, tags), which justifies breadth, but it sits at the heavy end of the 16-25 band. The batch_update/batch_delete pairs for both events and tasks add surface area for convenience rather than capability.

Completeness4/5

Tasks and tags get full lifecycle coverage (create/read/update/move/complete/reopen/delete plus batch), and events cover list/create/update/delete/batch. Gaps are modest: there is no single-event get, no calendar create/delete (possibly intentional since calendars are provider-owned), and no event attendee/RSVP handling.

Maintenance

ActivityActive
ResponsivenessLimited data