Initial commit
All checks were successful
Build And Test / publish (push) Successful in 1m30s

This commit is contained in:
2025-12-30 15:16:45 -08:00
parent 4df9a7229e
commit 4f6098e8c2
28 changed files with 3080 additions and 0 deletions

69
.env.example Normal file
View File

@@ -0,0 +1,69 @@
# PIM MCP Server Configuration
# Copy this file to .env and fill in your values
# =============================================================================
# Server Configuration
# =============================================================================
SERVER_NAME="PIM MCP Server"
PORT=8000
HOST=0.0.0.0
ENVIRONMENT=production
# API Authentication
# Generate with: python -c "import secrets; print(secrets.token_urlsafe(32))"
MCP_API_KEY=your-secure-api-key-here
# =============================================================================
# IMAP Configuration (for reading emails)
# =============================================================================
IMAP_HOST=imap.example.com
IMAP_PORT=993
IMAP_USERNAME=user@example.com
IMAP_PASSWORD=your-imap-password
IMAP_USE_SSL=true
# =============================================================================
# SMTP Configuration (for sending emails)
# =============================================================================
SMTP_HOST=smtp.example.com
SMTP_PORT=587
SMTP_USERNAME=user@example.com
SMTP_PASSWORD=your-smtp-password
SMTP_USE_TLS=true
SMTP_FROM_EMAIL=user@example.com
SMTP_FROM_NAME=Your Name
# =============================================================================
# CalDAV Configuration (Calendar)
# =============================================================================
# Examples for common providers:
# - Nextcloud: https://cloud.example.com/remote.php/dav
# - Fastmail: https://caldav.fastmail.com/dav/calendars/user/you@fastmail.com
# - Radicale: https://radicale.example.com/user/
CALDAV_URL=https://caldav.example.com/dav
CALDAV_USERNAME=user@example.com
CALDAV_PASSWORD=your-caldav-password
# =============================================================================
# CardDAV Configuration (Contacts)
# =============================================================================
# Examples for common providers:
# - Nextcloud: https://cloud.example.com/remote.php/dav
# - Fastmail: https://carddav.fastmail.com/dav/addressbooks/user/you@fastmail.com
# - Radicale: https://radicale.example.com/user/
CARDDAV_URL=https://carddav.example.com/dav
CARDDAV_USERNAME=user@example.com
CARDDAV_PASSWORD=your-carddav-password
# =============================================================================
# Cache Configuration
# =============================================================================
SQLITE_PATH=/data/cache.db
CACHE_TTL_SECONDS=300
# =============================================================================
# Feature Flags (disable services you don't need)
# =============================================================================
ENABLE_EMAIL=true
ENABLE_CALENDAR=true
ENABLE_CONTACTS=true