Production-ready MCP IMAP server for hosted N8N workflows. Changes: - SSE transport using create_sse_app() for N8N compatibility - API key authentication middleware for multi-tenant access - Systemd service file for auto-restart on Hetzner - Nginx reverse proxy config with TLS and rate limiting - Complete deployment guide (DEPLOY.md) - Removed REST API bridge (api_server.py) - N8N uses MCP protocol Deployment: - SSE endpoint: https://imap.maxtheweb.ai/mcp/sse - Messages endpoint: https://imap.maxtheweb.ai/mcp/messages - Authentication: Bearer token in Authorization header Stack: FastMCP 2.13 + uvicorn + nginx + systemd
54 lines
566 B
Plaintext
54 lines
566 B
Plaintext
# Environment variables
|
|
.env
|
|
.env.local
|
|
.env.production
|
|
.env.development
|
|
|
|
# Python
|
|
__pycache__/
|
|
*.py[cod]
|
|
*$py.class
|
|
*.so
|
|
.Python
|
|
backend/venv/
|
|
backend/.deps_installed
|
|
|
|
# Node.js / Next.js
|
|
node_modules/
|
|
.next/
|
|
out/
|
|
frontend/node_modules/
|
|
frontend/.next/
|
|
frontend/out/
|
|
*.log
|
|
npm-debug.log*
|
|
yarn-debug.log*
|
|
yarn-error.log*
|
|
.pnpm-debug.log*
|
|
package-lock.json
|
|
|
|
# IDE
|
|
.vscode/
|
|
.idea/
|
|
*.swp
|
|
*.swo
|
|
*~
|
|
|
|
# OS
|
|
.DS_Store
|
|
Thumbs.db
|
|
|
|
# Build artifacts
|
|
dist/
|
|
build/
|
|
*.egg-info/
|
|
|
|
# Process IDs
|
|
.backend.pid
|
|
.frontend.pid
|
|
|
|
# Archived files
|
|
backend/archived/
|
|
|
|
# Next.js
|
|
next-env.d.ts |