Logistic-MCP-server
by Subhan696
Overview
An MCP server to help AI agents manage logistics invoices by fetching emails, downloading attachments, parsing PDFs, and storing structured data.
Installation
npm startEnvironment Variables
- DATABASE_URL
- GEMINI_API_KEY
- OPENAI_API_KEY
- ENCRYPTION_KEY
Security Notes
CRITICAL: The `ENCRYPTION_KEY` in `src/utils/encryption.ts` has a hardcoded fallback value (`'default-secret-key-must-be-32-bytes'`) if `process.env.ENCRYPTION_KEY` is not explicitly set. This severely compromises the security of stored broker email credentials in a production environment. The `src/scripts/seedBroker.ts` file, while intended for development, encourages directly embedding sensitive email credentials into the source code, which is poor security practice. The `ImapService` correctly uses encrypted credentials for IMAP connections. Processing arbitrary PDF files (via `pdf-parse` and `tesseract.js`) can theoretically pose risks if malicious content is embedded, but no specific vulnerability in the parsing logic is immediately apparent.
Similar Servers
mcp-servers
An MCP server for managing files in Google Cloud Storage, supporting CRUD operations (save, get, search, delete) and exposing files as resources.
gmail-mcp
Manages Gmail emails programmatically, enabling AI systems to read, send, archive, and perform other email operations on behalf of a user.
pdflens-mcp
This MCP server provides tools for reading and extracting information from PDF files, including text and images, designed for AI clients.
AI-Prompt-Guide-MCP
Orchestrates AI agents for project management and development workflows by linking structured markdown specifications and tasks.