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 "Install 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 OData to 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 installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/OscarGalloGarcia/sap-b1-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server