SAP Business One Order-to-Cash MCP Server
SAP Business One Order-to-Cash MCP Server
Dieses Projekt stellt Operationen des SAP Business One Service Layer als Tools auf Basis des Model Context Protocol (MCP) bereit, sodass ein Agent wie Claude den vollständigen Order-to-Cash-Ablauf über stdio ausführen kann.
Was ist enthalten
Node.js + TypeScript MCP-Server
SAP Business One Session-Cookie-Authentifizierung mit automatischer erneuter Anmeldung bei Ablauf
9 O2C-Tools, die vom Angebot bis zum Inkasso reichen
.env-gesteuerte Konfiguration
Related MCP server: SAP Business One MCP Server
Projektstruktur
sap-b1-mcp-server/
|- src/
| \- server.ts
|- dist/
|- .env
|- .env.example
|- package.json
|- tsconfig.json
\- README.mdTools
create_sales_quotationcreate_sales_ordercheck_atpcreate_deliveryget_pick_listconfirm_delivery_podcreate_ar_invoiceapply_incoming_paymentget_collections_worklist
Umgebung
SAP_B1_BASE_URL=https://your-sap-server:50000/b1s/v1
SAP_B1_COMPANY=SBODemoUS
SAP_B1_USER=manager
SAP_B1_PASSWORD=yourpassword
NODE_TLS_REJECT_UNAUTHORIZED=0Setzen Sie NODE_TLS_REJECT_UNAUTHORIZED=0 nur, wenn der SAP Business One Service Layer ein selbstsigniertes Zertifikat verwendet.
Installation
npm installBuild
npm run buildAusführen
node dist/server.jsErwartetes Startprotokoll:
SAP B1 MCP server running (stdio)Claude Desktop MCP-Konfiguration
{
"mcpServers": {
"sap-b1-o2c": {
"command": "node",
"args": ["/absolute/path/to/dist/server.js"],
"env": {
"SAP_B1_BASE_URL": "https://your-server:50000/b1s/v1",
"SAP_B1_COMPANY": "SBODemoUS",
"SAP_B1_USER": "manager",
"SAP_B1_PASSWORD": "yourpassword"
}
}
}
}Hinweise
Der Server verbindet sich über die REST-API des Service Layer mit SAP Business One.
Session-Cookies werden automatisch erneuert, wenn die Anmeldung abläuft.
Die Rechnungs- und Zahlungstools sind als Live-Buchungsvorgänge implementiert. Daher ist es sinnvoll, in Ihrem Agent-Workflow einen Schritt für die Freigabe durch einen Menschen vorzusehen.
Einige Organisationen speichern Metadaten zu Spediteur, POD und Genehmigung in benutzerdefinierten Feldern. Dieses Grundgerüst speichert diese Referenzen standardmäßig in Dokumentkommentaren, um über SAP-B1-Mandanten hinweg portabel zu bleiben.
Häufige Probleme
UNABLE_TO_VERIFY_LEAF_SIGNATURE: Setzen SieNODE_TLS_REJECT_UNAUTHORIZED=0bei selbstsignierten SAP-ZertifikatenSAP B1 login failed: Überprüfen Sie Basis-URL, Unternehmensdatenbank, Benutzername und PasswortECONNREFUSED: Stellen Sie sicher, dass der Service Layer läuft und erreichbar istCannot find module: Führen Sienpm installundnpm run buildausMCP-Tools werden nicht angezeigt: Überprüfen Sie den absoluten Pfad in Ihrer Claude-MCP-Konfiguration
Maintenance
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
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to interact with Odoo ERP to perform sales tasks such as searching clients and products, and creating and confirming quotations via the MCP protocol.2MIT
- FlicenseNot gradedqualityDmaintenanceEnables interaction with SAP Business One via Service Layer REST API to retrieve and create business data such as partners, orders, invoices, items, and stock levels through natural language.1
- FlicenseNot gradedqualityBmaintenanceValidates SAP SD sales orders (material, pricing, credit) before creation using the MCP protocol, enabling clean-core order-to-cash automation.
- 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.
Related MCP Connectors
MCP Server for agents to onboard, pay, and provision services autonomously with InFlow
Brazilian fiscal MCP server - issue NF-e, NFC-e, NFS-e, CT-e, MDF-e and DC-e via SEFAZ.
Solana-native MCP gateway for SAP, DeFi tools, SNS identity, and x402 payments.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/parmarnaresh86/AgentSphere-MCP'
If you have feedback or need assistance with the MCP directory API, please join our Discord server