mcp-server
by JSalas-RPA
Overview
Automates the end-to-end processing of incoming invoices from document extraction using OCR and LLMs to validation and posting in SAP S/4HANA.
Installation
python server.pyEnvironment Variables
- SAP_USERNAME
- SAP_PASSWORD
- SAP_SUPPLIER_URL
- SAP_PURCHASE_ORDER_URL
- SAP_INVOICE_POST_URL
- SAP_MATERIAL_DOC_URL
- API_OPENAI_KEY
- datecKeyCredentials
- LLAMAPARSE_API_KEY
- BUCKET_NAME
- EASYCONTACT_KEY
- ENVIRONMENT
- PORT
Security Notes
The code uses `os.getenv` for secrets, which is good practice. However, `image_storage.py` disables SSL certificate verification (`verify=False`) for `requests.get` calls under specific `ENVIRONMENT` conditions, creating a critical Man-in-the-Middle (MITM) vulnerability for network communications. Additionally, GCP credentials (`datecKeyCredentials`) are written to a temporary local file, posing a transient risk of exposure. LLM outputs are parsed as JSON, and while `clean_openai_json` attempts sanitization, complex malicious JSON from the LLM could theoretically be an issue, though less likely with a trusted model.
Similar Servers
zen-mcp-server
A server for coordinating and managing AI agents, likely for simulations or complex task execution, leveraging Claude LLMs.
arcade-mcp
Provides a framework and pre-built toolkits for integrating Large Language Models (LLMs) with various external services and databases, enabling AI agents to interact with the real world.
mcp_massive
An AI agent orchestration server, likely interacting with LLMs and managing multi-agent workflows.
simplenote-mcp-server
Integrates Simplenote with Claude Desktop as a memory backend or content source via the Model Context Protocol (MCP), enabling AI interaction with user notes.