mcp-nextcloud-calendar
Includes support for Ko-fi donations through a button link in the README.
Provides tools for interacting with Nextcloud Calendar, enabling calendar management (listing, creating, updating, deleting calendars) and event management (listing, creating, retrieving, updating, deleting events), with ADHD-friendly organization features.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
MCP Nextcloud Calendar
A Model Context Protocol (MCP) server for Nextcloud Calendar integration.
Features
Fetch calendars from Nextcloud
ADHD-friendly organization features
MCP protocol support (Streamable HTTP and Legacy HTTP+SSE)
Related MCP server: ical-mcp
Usage
Using with npx
The easiest way to use this package is with npx:
npx mcp-nextcloud-calendarInstallation
For development or local installation:
# Install globally
npm install -g mcp-nextcloud-calendar
# Or install locally
npm install mcp-nextcloud-calendarMCP Client Configuration
To use with an MCP client (like Claude), add this configuration to your MCP client settings:
{
"mcpServers": {
"nextcloud-calendar": {
"command": "npx",
"args": ["-y", "mcp-nextcloud-calendar"],
"env": {
"NEXTCLOUD_BASE_URL": "https://your-nextcloud-server.com",
"NEXTCLOUD_USERNAME": "your-username",
"NEXTCLOUD_APP_TOKEN": "your-app-token"
}
}
}
}Specifying a Version
You can pin to a specific version of the package:
{
"mcpServers": {
"nextcloud-calendar": {
"command": "npx",
"args": ["-y", "mcp-nextcloud-calendar@0.1.0"],
"env": {
"NEXTCLOUD_BASE_URL": "https://your-nextcloud-server.com",
"NEXTCLOUD_USERNAME": "your-username",
"NEXTCLOUD_APP_TOKEN": "your-app-token"
}
}
}
}Configuration
Environment Variables
The server uses these environment variables, with defaults where possible:
Variable | Description | Default | Required |
PORT | Server port | 3001 | No |
SERVER_NAME | MCP server identifier | nextcloud-calendar-server | No |
NODE_ENV | Environment (development/production) | development | No |
NEXTCLOUD_BASE_URL | Your Nextcloud server URL | - | Yes |
NEXTCLOUD_USERNAME | Your Nextcloud username | - | Yes |
NEXTCLOUD_APP_TOKEN | Your Nextcloud app token | - | Yes |
KEEP_ALIVE_INTERVAL | Keep-alive interval (ms) | 30000 | No |
Development Setup
For local development:
Clone the repository
Install dependencies:
npm installCreate a
.envfile in the project root:
cp .env.example .envEdit the
.envfile with your Nextcloud credentials.
Getting a Nextcloud App Token
Log in to your Nextcloud instance
Go to Settings → Security → App Passwords
Create a new app password with a name like "MCP Calendar"
Copy the generated token to your
.envfile
Development
# Build the project
npm run build
# Run in development mode
npm run dev
# Run tests
npm run test
# Run linting
npm run lint
# Format code
npm run formatAPI Endpoints
/mcp- Primary MCP endpoint (Streamable HTTP transport)/sseand/messages- Legacy MCP endpoints (HTTP+SSE transport)GET /health- Health check endpointGET /api/calendars- List all calendars
MCP Tools
The following MCP tools are registered and available to clients:
Calendar Management
Tool | Description | Parameters |
| Retrieves all accessible calendars | None |
| Creates a new calendar |
|
| Updates an existing calendar |
|
| Deletes a calendar |
|
⚠️ Permission Warning: The
updateCalendaranddeleteCalendartools may require special permissions in your Nextcloud instance. Calendar operations are subject to Nextcloud's permission system.
Event Management
Tool | Description | Parameters |
| Retrieves events for a calendar |
|
| Gets a specific event |
|
| Creates a new event |
|
| Updates an existing event |
|
| Deletes an event |
|
Known Issues and Limitations
Note: This package is currently in early development (0.1.x). APIs and tools may change without notice in future releases.
The update and delete calendar operations may require specific permissions in your Nextcloud instance
Error handling for specific Nextcloud error codes is still being improved
Large calendars with many events may experience performance issues
Please report any issues on the GitHub repository.
License
ISC
This server cannot be deployed
Maintenance
Related MCP Connectors
EU-hosted calendar MCP: Google, Outlook, iCloud, GMX, WEB.DE, CalDAV. Read, book, RSVP, sync.
MCP server for Cronofy — read calendars, events and free/busy, and create, update or delete events.
Outlook Calendar MCP Pack
Related MCP Servers
- FlicenseNot gradedqualityAmaintenanceMCP server for iCloud (Apple) Calendar access via CalDAV24-
- AlicenseAqualityBmaintenanceMCP server for Apple Calendar and CalDAV providers. Enables listing, creating, updating, deleting events, and checking free/busy status with per-calendar write protection.6MIT
- AlicenseAqualityDmaintenanceEnables managing events and subcalendars from kalender.digital through MCP tools for listing, creating, updating, and deleting events and subcalendars.8MIT
- AlicenseNot gradedqualityDmaintenanceEnables managing calendars, events, contacts, and todos via a CalDAV server (Radicale) through MCP tools.MIT