Professional DeepL MCP Server for Airia
This is a professional deployment of the DeepL MCP (Model Context Protocol) server optimized for integration with Airia platform.
Features
- ✅ Always-running cloud deployment
- ✅ Secure MCP access token authentication
- ✅ Health monitoring and auto-restart
- ✅ Professional logging and error handling
- ✅ Multiple deployment platform support
Quick Deployment Guide
Option 1: Railway.app (Recommended - Free & Easy)
- Push this code to a GitHub repository
- Go to Railway.app and sign up
- Click "Deploy from GitHub repo" and select your repository
- In Railway dashboard, go to Variables tab and set:
DEEPL_API_KEY=09d1702b-d2e4-47d6-b74d-1fded50b0463:fx - Deploy! Railway will provide a URL like:
https://your-app.up.railway.app
Option 2: Render.com (Free Alternative)
- Push code to GitHub
- Go to Render.com and connect GitHub
- Create a new Web Service from your repository
- Set environment variable:
DEEPL_API_KEY=09d1702b-d2e4-47d6-b74d-1fded50b0463:fx - Deploy! You'll get a URL like:
https://your-app.onrender.com
Airia Integration
Once deployed, use these details in Airia:
Connection Details:
- URL:
https://your-deployment-url.com/sse - Credential Type: MCP Access Token
- Token:
mcp_token_professional_airia_deepl_2024
Step-by-Step Airia Setup:
- In Airia, click "Add MCP Server"
- Select "Connect to Custom MCP Server"
- Fill in:
- URL:
https://your-deployment-url.com/sse - Authentication Type: MCP Access Token
- Token:
mcp_token_professional_airia_deepl_2024
- URL:
- Click "Connect MCP Server"
Available Tools
Your DeepL MCP server provides these tools to Airia:
- translate-text - Translate text between languages
- rephrase-text - Rephrase text in the same language
- get-source-languages - List available source languages
- get-target-languages - List available target languages
- get-writing-styles-and-tones - List available writing styles/tones
Local Development
# Install dependencies
npm install
# Copy environment file
cp .env.example .env
# Edit .env with your DeepL API key
nano .env
# Run locally
npm start
Health Monitoring
The server includes:
- Health check endpoint at
/healthand/status - Automatic restart on failures
- Detailed logging with timestamps
- 5-minute interval health reports
Security
- Secure MCP access token authentication
- Environment variable protection for API keys
- CORS enabled for web integration
- No sensitive data in logs
Support
The server runs 24/7 and automatically handles:
- Connection failures
- API rate limits
- Memory management
- Health monitoring
For issues, check the deployment logs in your chosen platform's dashboard.
