Skip to main content
Glama
OscarGalloGarcia

SAP Business One MCP Server

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 .env

Configura .env con tus credenciales de SAP B1.

Ejecucion local

python src/server.py

Docker

Build

docker build -t sap-b1-mcp .

Run

docker run --rm -i --env-file .env sap-b1-mcp

El contenedor corre el servidor MCP por stdio, por lo que debe ejecutarse con -i.

Docker Compose

docker compose up --build

docker-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_partners

  • get_sales_orders

  • get_purchase_orders

  • get_invoices

  • get_items

  • get_item_by_code

  • get_stock_levels

  • create_sales_order

Notas

  • En desarrollo, SAP_VERIFY_SSL=false permite 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.

F
license - not found
-
quality - not tested
D
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    -
    quality
    D
    maintenance
    Transforms SAP S/4HANA or ECC systems into conversational AI interfaces by exposing all OData services as dynamic MCP tools. Enables natural language interactions with ERP data for querying, creating, updating, and deleting business entities through SAP BTP integration.
    Last updated
    47
    128
    MIT
  • F
    license
    A
    quality
    D
    maintenance
    Enables AI assistants to integrate with SAP systems via OData REST APIs for querying entity sets, performing CRUD operations, and executing function imports. It features automatic service discovery, CSRF token management, and smart connection handling without requiring the SAP RFC SDK.
    Last updated
    11
    12

View all related MCP servers

Related MCP Connectors

View all MCP Connectors

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