SAP Business One MCP Server
Interacts with SAP Business One via Service Layer REST API, providing tools to manage business partners, sales orders, purchase orders, invoices, items, stock levels, and create sales orders.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@SAP Business One MCP ServerShow me all business partners"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
SAP Business One MCP Server
Servidor MCP en Python para interactuar con SAP Business One mediante Service Layer REST API.
Requisitos
Python 3.10+
Acceso a SAP Business One Service Layer
Related MCP server: BTP MCP Server
Instalacion
python -m venv .venv
.venv\\Scripts\\activate
pip install -r requirements.txt
copy .env.example .envConfigura .env con tus credenciales de SAP B1.
Ejecucion local
python src/server.pyDocker
Build
docker build -t sap-b1-mcp .Run
docker run --rm -i --env-file .env sap-b1-mcpEl contenedor corre el servidor MCP por stdio, por lo que debe ejecutarse con -i.
Docker Compose
docker compose up --builddocker-compose.yml ya incluye stdin_open: true para el transporte stdio.
Claude Desktop
Puedes ejecutar el servidor directamente con Python o usando Docker.
Opcion 1: Python
{
"mcpServers": {
"sap-b1": {
"command": "python",
"args": ["C:/Research_Development/sap-b1-mcp/src/server.py"],
"env": {
"SAP_BASE_URL": "https://TU_VM_IP:50000/b1s/v1",
"SAP_COMPANY_DB": "MI_EMPRESA",
"SAP_USERNAME": "manager",
"SAP_PASSWORD": "tu_password",
"SAP_VERIFY_SSL": "false"
}
}
}
}Opcion 2: Docker
{
"mcpServers": {
"sap-b1": {
"command": "docker",
"args": [
"run",
"--rm",
"-i",
"--env-file",
"C:/Research_Development/sap-b1-mcp/.env",
"sap-b1-mcp:latest"
]
}
}
}Windows: %APPDATA%\\Claude\\claude_desktop_config.json
Tools incluidas
get_business_partnersget_sales_ordersget_purchase_ordersget_invoicesget_itemsget_item_by_codeget_stock_levelscreate_sales_order
Notas
En desarrollo,
SAP_VERIFY_SSL=falsepermite certificados autofirmados.El cliente renueva sesion automaticamente antes de los 30 minutos por defecto.
Ante un
401, el cliente intenta un re-login una vez antes de fallar.
This server cannot be deployed
Maintenance
Related MCP Connectors
Connect Exact Online to your AI assistant via MCP. Manage Exact Online with natural language.
- RumboOAuthcom.rumboar
Securely query and analyze business data, dashboards, projections, alerts, and knowledge.
TOTVS Protheus ERP for AI: stock, sales, orders, customers and MRP. Read-only, official API.
Ask questions in plain language, get answers from your business database. No SQL required.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceEnables interaction with SAP Business One API through Azure Container Apps with VNet connectivity. Provides secure access to SAP data and operations through natural language interface.6-
- AlicenseAqualityCmaintenanceConnects AI agents to SAP BTP platform APIs for service discovery, instance management, and destination queries via natural language.532 PyPI1MIT
- FlicenseAqualityDmaintenanceEnables interaction with SAP S/4HANA systems via OData, allowing service discovery, metadata exploration, field value retrieval, and CRUD operations through natural language.45-
- FlicenseNot gradedqualityCmaintenanceEnables interaction with SAP Business One Service Layer through MCP, providing tools for querying entities, checking sessions, and executing OData requests with optional write protection.-