SAP Business One Order-to-Cash MCP Server
Provides tools for interacting with SAP Business One via the Service Layer API, enabling Order-to-Cash workflows such as creating sales quotations and orders, checking ATP, managing deliveries and pick lists, confirming POD, posting AR invoices and incoming payments, and viewing collections worklists.
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 Order-to-Cash MCP ServerCreate a sales order for Acme Corp for 10 widgets and then create the delivery."
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 Order-to-Cash MCP Server
This project exposes SAP Business One Service Layer operations as Model Context Protocol (MCP) tools, so an agent such as Claude can execute the full Order-to-Cash flow over stdio.
What is included
Node.js + TypeScript MCP server
SAP Business One session-cookie authentication with automatic re-login on expiry
9 O2C tools covering quotation through collections
.env-driven configuration
Related MCP server: SAP Business One MCP Server
Project structure
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
Environment
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=0Set NODE_TLS_REJECT_UNAUTHORIZED=0 only when your SAP Business One Service Layer is using a self-signed certificate.
Install
npm installBuild
npm run buildRun
node dist/server.jsExpected startup log:
SAP B1 MCP server running (stdio)Claude Desktop MCP config
{
"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"
}
}
}
}Notes
The server connects to SAP Business One over the Service Layer REST API.
Session cookies are renewed automatically when login expires.
The invoice and payment tools are implemented as live posting operations, so it is a good idea to keep a human approval step in your agent workflow.
Some organizations store carrier, POD, and approval metadata in user-defined fields. This scaffold stores those references in document comments by default to stay portable across SAP B1 tenants.
Common issues
UNABLE_TO_VERIFY_LEAF_SIGNATURE: setNODE_TLS_REJECT_UNAUTHORIZED=0for self-signed SAP certificatesSAP B1 login failed: verify base URL, company DB, user, and passwordECONNREFUSED: confirm the Service Layer is running and reachableCannot find module: runnpm installandnpm run buildMCP tools not showing up: verify the absolute path in your Claude MCP config
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