@icloud-calendar-mcp/server
v2.0.0
Published
MCP server for iCloud Calendar access via CalDAV
Maintainers
Readme
iCloud Calendar MCP Server
A security-first MCP (Model Context Protocol) server for iCloud Calendar access via CalDAV.
Installation
npx @icloud-calendar-mcp/serverOr install globally:
npm install -g @icloud-calendar-mcp/server
icloud-calendar-mcpRequirements
- Java 17+ (the server runs as a Java JAR)
- iCloud account with app-specific password
Setup
1. Get an App-Specific Password
- Go to appleid.apple.com
- Sign in and go to Security > App-Specific Passwords
- Generate a new password for "iCloud Calendar MCP"
2. Set Environment Variables
export ICLOUD_USERNAME="[email protected]"
export ICLOUD_PASSWORD="your-app-specific-password"3. Configure Claude Desktop
Add to ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"icloud-calendar": {
"command": "npx",
"args": ["@icloud-calendar-mcp/server"],
"env": {
"ICLOUD_USERNAME": "[email protected]",
"ICLOUD_PASSWORD": "your-app-specific-password"
}
}
}
}Available Tools
| Tool | Description |
|------|-------------|
| list_calendars | List all available calendars |
| get_events | Get events from a calendar |
| create_event | Create a new calendar event |
| update_event | Update an existing event |
| delete_event | Delete an event |
Security
This server is designed with security as a primary concern:
- App-Specific Passwords - Never use your main Apple ID password
- Environment Variables Only - Credentials loaded from environment only
- Input Validation - All inputs validated with SSRF protection
- Rate Limiting - 60 reads/min, 20 writes/min
- Error Sanitization - No credentials leaked in error messages
- OWASP MCP Top 10 - Full compliance with 239 security tests
- ReDoS Protection - All regex patterns tested against DoS
- Unicode Security - Protection against encoding attacks
Test Coverage
- 555 total tests
- 239 security tests covering OWASP MCP Top 10
- ReDoS, Unicode, SSRF, injection protection
Links
License
Apache-2.0
