MCP-Server-y-SAP-B1
by JeanmarcoLujan
Overview
Acts as a Smart Connector for SAP Business One (B1) by exposing a subset of its data via the Model Context Protocol (MCP), enabling integration with AI models or other MCP-compatible clients.
Installation
node dist/mainEnvironment Variables
- HANA_HOST
- HANA_PORT
- HANA_USER
- HANA_PASSWORD
- HANA_DB_SCHEMA
- PORT
Security Notes
CRITICAL: Hardcoded SAP HANA database credentials (username and password) found in 'test-hana.js'. This file should not contain sensitive information, especially if it could be accidentally deployed. CRITICAL: 'sslValidateCertificate' is set to 'FALSE' for SAP HANA connections in both the test file and the main HanaService, disabling essential SSL/TLS certificate validation. This makes the database connection highly vulnerable to Man-in-the-Middle (MITM) attacks and should be 'TRUE' in production. Positive: Uses environment variables for main service configuration, and parameterized queries in B1QueryService to prevent SQL injection. The SAP_SCHEMA whitelist is a good security practice for controlled data access.
Similar Servers
metorial-platform
An open source integration platform for agentic AI, connecting AI models to external APIs, data sources, and tools.
mcp-server
A Model Context Protocol (MCP) server designed to assist AI models in the development of SAP Cloud Application Programming Model (CAP) applications by providing tools for model analysis and documentation search.
cap-mcp-plugin
Integrate SAP CAP services with the Model Context Protocol (MCP) to expose them as AI-accessible resources, tools, and prompts for natural language interaction and automation.
ibmi-mcp-server
The IBM i MCP Server enables AI agents to monitor, administer, and query IBM i systems using SQL tools, supporting performance analysis, system administration, and security vulnerability assessment.