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: SAP S/4HANA 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 AI to Odoo ERP 14-20: search, create, update and manage records in natural language.
Query your books, company data, business health, and ship invoices from your AI assistant.
Connect your Odoo to Claude and ChatGPT: ask about sales, stock, customers and invoices.
Any REST/SOAP/GraphQL/OData/SQL API as MCP tools for Claude & ChatGPT. 561 connectors: SAP, ERP.
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.7-
- FlicenseAqualityDmaintenanceEnables interaction with SAP S/4HANA systems via OData, allowing service discovery, metadata exploration, field value retrieval, and CRUD operations through natural language.45-
- AlicenseNot gradedqualityCmaintenanceEnables AI agents to discover SAP B1 entities, inspect their schemas, and perform authenticated CRUD operations through natural language, translating requests into Service Layer API calls.300 npmMIT
- AlicenseNot gradedqualityCmaintenanceConnects SAP Business One to Claude, ChatGPT, and Copilot, providing 12 MCP tools to read business partners, items, sales orders, invoices, quotations, and delivery notes, and to create sales orders.AGPL 3.0