Mickycun1/dynafex-mcp-server
3.1
If you are the rightful owner of dynafex-mcp-server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
The Dynafex MCP Server is designed to automate the process of creating jobs in the Dynafex system by monitoring emails for new job requests.
Dynafex MCP Server
An MCP (Model Context Protocol) server that monitors emails for new job requests and automatically creates jobs in the Dynafex system.
Features
- Email Monitoring: Connects to email servers (IMAP) to monitor for new job requests
- Job Parsing: Intelligently extracts job details from email content
- API Integration: Creates jobs in the Dynafex backend system
- Real-time Processing: Continuously monitors and processes new emails
Setup
-
Install dependencies:
pip install -e . -
Configure environment variables:
cp .env.example .env # Edit .env with your email and API settings -
Run the MCP server:
dynafex-mcp-server
Configuration
Create a .env file with the following variables:
# Email Configuration
EMAIL_SERVER=imap.gmail.com
EMAIL_PORT=993
EMAIL_USERNAME=your-email@example.com
EMAIL_PASSWORD=your-app-password
EMAIL_FOLDER=INBOX
# Dynafex API Configuration
DYNAFEX_API_URL=http://localhost:8000/api/v1
DYNAFEX_API_TOKEN=your-api-token
# MCP Server Configuration
MCP_SERVER_NAME=dynafex-email-monitor
MCP_SERVER_VERSION=0.1.0
Usage
The MCP server will:
- Connect to your email server
- Monitor the specified folder for new emails
- Parse emails for job-related information
- Create jobs in the Dynafex system via API calls
- Mark processed emails appropriately
Email Format
The server can parse emails with job information in various formats:
- Subject lines with pickup/delivery locations
- Email body with structured job details
- Attachments with job specifications