Install
Add to ~/Library/Application Support/Claude/claude_desktop_config.json
Windows / Linux path
%APPDATA%\Claude\claude_desktop_config.json~/.config/Claude/claude_desktop_config.json{
"mcpServers": {
"io-github-ni-c-caldav-mcp": {
"command": "npx",
"args": [
"-y",
"@ni-c/caldav-mcp"
],
"env": {
"CALDAV_URL": "<VALUE>",
"CALDAV_USERNAME": "<VALUE>",
"CALDAV_PASSWORD": "<YOUR_VALUE>",
"CALDAV_TOKEN": "<YOUR_VALUE>",
"CALDAV_CALENDARS": "<VALUE>",
"CALDAV_TIMEZONE": "UTC",
"CALDAV_USER_EMAIL": "<VALUE>",
"CALDAV_MAX_EVENTS": "100",
"CALDAV_READ_ONLY": "false",
"CALDAV_INSECURE_TLS": "false",
"CALDAV_ALLOW_PLAINTEXT": "false",
"CALDAV_ALLOW_TOOLS": "<VALUE>",
"CALDAV_DENY_TOOLS": "<VALUE>",
"ELICITATION": "true"
}
}
}
}
Restart Claude Desktop to activate the new server.
Add to .cursor/mcp.json (project) or ~/.cursor/mcp.json (global)
Windows / Linux path
.cursor\mcp.json (project) or %USERPROFILE%\.cursor\mcp.json (global).cursor/mcp.json (project) or ~/.cursor/mcp.json (global){
"mcpServers": {
"io-github-ni-c-caldav-mcp": {
"command": "npx",
"args": [
"-y",
"@ni-c/caldav-mcp"
],
"env": {
"CALDAV_URL": "<VALUE>",
"CALDAV_USERNAME": "<VALUE>",
"CALDAV_PASSWORD": "<YOUR_VALUE>",
"CALDAV_TOKEN": "<YOUR_VALUE>",
"CALDAV_CALENDARS": "<VALUE>",
"CALDAV_TIMEZONE": "UTC",
"CALDAV_USER_EMAIL": "<VALUE>",
"CALDAV_MAX_EVENTS": "100",
"CALDAV_READ_ONLY": "false",
"CALDAV_INSECURE_TLS": "false",
"CALDAV_ALLOW_PLAINTEXT": "false",
"CALDAV_ALLOW_TOOLS": "<VALUE>",
"CALDAV_DENY_TOOLS": "<VALUE>",
"ELICITATION": "true"
}
}
}
}
Cursor usually picks up config changes automatically; if the server does not appear, reload the window.
Add to .mcp.json (project) or ~/.claude.json (global)
Windows / Linux path
.mcp.json (project) or %USERPROFILE%\.claude.json (global).mcp.json (project) or ~/.claude.json (global){
"mcpServers": {
"io-github-ni-c-caldav-mcp": {
"command": "npx",
"args": [
"-y",
"@ni-c/caldav-mcp"
],
"env": {
"CALDAV_URL": "<VALUE>",
"CALDAV_USERNAME": "<VALUE>",
"CALDAV_PASSWORD": "<YOUR_VALUE>",
"CALDAV_TOKEN": "<YOUR_VALUE>",
"CALDAV_CALENDARS": "<VALUE>",
"CALDAV_TIMEZONE": "UTC",
"CALDAV_USER_EMAIL": "<VALUE>",
"CALDAV_MAX_EVENTS": "100",
"CALDAV_READ_ONLY": "false",
"CALDAV_INSECURE_TLS": "false",
"CALDAV_ALLOW_PLAINTEXT": "false",
"CALDAV_ALLOW_TOOLS": "<VALUE>",
"CALDAV_DENY_TOOLS": "<VALUE>",
"ELICITATION": "true"
}
}
}
}
The server will be available in the next Claude Code session.
Add to .vscode/mcp.json
Windows / Linux path
.vscode\mcp.json.vscode/mcp.json{
"servers": {
"io-github-ni-c-caldav-mcp": {
"command": "npx",
"args": [
"-y",
"@ni-c/caldav-mcp"
],
"env": {
"CALDAV_URL": "<VALUE>",
"CALDAV_USERNAME": "<VALUE>",
"CALDAV_PASSWORD": "<YOUR_VALUE>",
"CALDAV_TOKEN": "<YOUR_VALUE>",
"CALDAV_CALENDARS": "<VALUE>",
"CALDAV_TIMEZONE": "UTC",
"CALDAV_USER_EMAIL": "<VALUE>",
"CALDAV_MAX_EVENTS": "100",
"CALDAV_READ_ONLY": "false",
"CALDAV_INSECURE_TLS": "false",
"CALDAV_ALLOW_PLAINTEXT": "false",
"CALDAV_ALLOW_TOOLS": "<VALUE>",
"CALDAV_DENY_TOOLS": "<VALUE>",
"ELICITATION": "true"
}
}
}
}
Reload the VS Code window to activate.
Add to ~/.codeium/windsurf/mcp_config.json
Windows / Linux path
%USERPROFILE%\.codeium\windsurf\mcp_config.json~/.codeium/windsurf/mcp_config.json{
"mcpServers": {
"io-github-ni-c-caldav-mcp": {
"command": "npx",
"args": [
"-y",
"@ni-c/caldav-mcp"
],
"env": {
"CALDAV_URL": "<VALUE>",
"CALDAV_USERNAME": "<VALUE>",
"CALDAV_PASSWORD": "<YOUR_VALUE>",
"CALDAV_TOKEN": "<YOUR_VALUE>",
"CALDAV_CALENDARS": "<VALUE>",
"CALDAV_TIMEZONE": "UTC",
"CALDAV_USER_EMAIL": "<VALUE>",
"CALDAV_MAX_EVENTS": "100",
"CALDAV_READ_ONLY": "false",
"CALDAV_INSECURE_TLS": "false",
"CALDAV_ALLOW_PLAINTEXT": "false",
"CALDAV_ALLOW_TOOLS": "<VALUE>",
"CALDAV_DENY_TOOLS": "<VALUE>",
"ELICITATION": "true"
}
}
}
}
Restart Windsurf (or refresh its MCP servers panel) to activate the new server.
Windsurf Next uses ~/.codeium/windsurf-next/mcp_config.json. Devin Desktop (the Windsurf rebrand) uses ~/.config/devin/mcp_config.json and imports the Windsurf file.
Add to ~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
Windows / Linux path
%APPDATA%\Code\User\globalStorage\saoudrizwan.claude-dev\settings\cline_mcp_settings.json~/.config/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json{
"mcpServers": {
"io-github-ni-c-caldav-mcp": {
"command": "npx",
"args": [
"-y",
"@ni-c/caldav-mcp"
],
"env": {
"CALDAV_URL": "<VALUE>",
"CALDAV_USERNAME": "<VALUE>",
"CALDAV_PASSWORD": "<YOUR_VALUE>",
"CALDAV_TOKEN": "<YOUR_VALUE>",
"CALDAV_CALENDARS": "<VALUE>",
"CALDAV_TIMEZONE": "UTC",
"CALDAV_USER_EMAIL": "<VALUE>",
"CALDAV_MAX_EVENTS": "100",
"CALDAV_READ_ONLY": "false",
"CALDAV_INSECURE_TLS": "false",
"CALDAV_ALLOW_PLAINTEXT": "false",
"CALDAV_ALLOW_TOOLS": "<VALUE>",
"CALDAV_DENY_TOOLS": "<VALUE>",
"ELICITATION": "true"
}
}
}
}
Cline reloads cline_mcp_settings.json automatically; if the server does not appear, reload the VS Code window.
Open it from Cline's MCP Servers panel → Configure. Roo Code uses a different file and format.
Configuration
Environment variables this server reads. Secrets stay on your machine.
| Name | Required | Description |
|---|---|---|
| CALDAV_URL | Yes | Root of the CalDAV server, e.g. https://dav.example.net. A calendar collection URL works too and limits the server to that one calendar. |
| CALDAV_USERNAME | No | Account name. Required together with CALDAV_PASSWORD unless CALDAV_TOKEN is used. |
| CALDAV_PASSWORD secret | No | Password or app-specific password. Deleted from the environment once read. Required together with CALDAV_USERNAME unless CALDAV_TOKEN is used. |
| CALDAV_TOKEN secret | No | Bearer token instead of username and password. Not both. Required if CALDAV_USERNAME and CALDAV_PASSWORD are not used. |
| CALDAV_CALENDARS | No | Comma-separated calendars this server may touch, by path or final path segment. Default: every calendar the account can see. |
| CALDAV_TIMEZONE | No | IANA zone for timestamps that carry no offset, e.g. Europe/Berlin. Default UTC. Default: UTC |
| CALDAV_USER_EMAIL | No | The address you are invited as, so respond_to_event can find your own attendee line. |
| CALDAV_MAX_EVENTS | No | Entries a listing returns by default, 1–500. Default 100. Default: 100 |
| CALDAV_READ_ONLY | No | true registers only the read tools. Default false. Default: false |
| CALDAV_INSECURE_TLS | No | true accepts a self-signed certificate on the configured host only. Default false. Default: false |
| CALDAV_ALLOW_PLAINTEXT | No | true allows a plain http:// URL to a host that is not loopback, which sends the credentials unencrypted on every request. Otherwise such a URL refuses to start. Default false. Default: false |
| CALDAV_ALLOW_TOOLS | No | Tool names, a prefix with one trailing *, or essential. |
| CALDAV_DENY_TOOLS | No | Subtracted from whatever the allow list left. |
| ELICITATION | No | Not prefixed — one export reaches every MCP server in the environment. false makes guarded tools use the two-call token instead of a dialog. Default true. Default: true |