mcp-nextcloud-calendar
v0.1.0
Published
MCP server for Nextcloud Calendar integration
Downloads
148
Maintainers
Readme
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
Setup
Installation
- Clone the repository
- Install dependencies:
npm installConfiguration
This project uses environment variables for configuration. You can set them up in two ways:
- Create a
.envfile in the project root (copy from.env.example):
cp .env.example .env- Edit the
.envfile with your Nextcloud credentials:
# Server configuration
PORT=3001
SERVER_NAME=nextcloud-calendar-server
SERVER_VERSION=1.0.0
NODE_ENV=development
# Nextcloud configuration
NEXTCLOUD_BASE_URL=https://your-nextcloud-server.com
NEXTCLOUD_USERNAME=your-username
NEXTCLOUD_APP_TOKEN=your-app-tokenGetting 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
GET /health- Health check endpointGET /api/calendars- List all calendars
License
ISC
