mcp-nextcloud-calendar is a server based on the Model Context Protocol (MCP), designed to integrate Nextcloud calendar functionality into MCP-capable clients. Its main purpose is to enable AI assistants or other MCP clients to access and operate on Nextcloud calendar data.
Main capabilities include: retrieving the calendar list from Nextcloud; providing ADHD-friendly organization features (specific details are not elaborated in the materials); supporting the MCP protocol, including Streamable HTTP and the legacy HTTP+SSE transport. The server registers MCP tools related to calendar management (such as updating and deleting calendars) and event management, but calendar update and delete operations may be restricted by the Nextcloud permission system.
Usage: the simplest way is to run it via npx. For development or local installation, clone the repository, install dependencies, and create a .env file in the project root to configure Nextcloud credentials. Steps to obtain a Nextcloud app token: log in to Nextcloud, go to Settings → Security → App passwords, create a new app password named "MCP Calendar", and copy the generated token into the .env file. MCP client configuration requires adding the corresponding settings, and a specific version can be pinned. The server uses environment variables, some of which have default values. Main endpoints include: /mcp (main MCP endpoint, Streamable HTTP transport), /sse and /messages (legacy MCP endpoints, HTTP+SSE transport), GET /health (health check), GET /api/calendars (list all calendars).
Use cases: developers or users who need to integrate Nextcloud calendars into the MCP ecosystem, for example managing calendars and events through clients such as Claude.
Limitations: currently an early development version (0.1.x); the API and tools may change in future versions; calendar update and delete operations may require specific permissions in Nextcloud; error handling for specific Nextcloud error codes is still being improved; large calendars containing many events may encounter performance issues. Issues can be reported in the GitHub repository.