SAP Business One Order-to-Cash MCP Server
SAP Business One Order-to-Cash MCP Server
このプロジェクトは、SAP Business One Service Layer の操作を Model Context Protocol (MCP) ツールとして公開し、Claude などのエージェントが stdio 経由で Order-to-Cash フロー全体を実行できるようにします。
含まれるもの
Node.js + TypeScript 製 MCP サーバー
セッションクッキー認証方式の SAP Business One 認証(期限切れ時の自動再ログイン対応)
見積から回収までをカバーする 9 つの O2C ツール
.envによる設定管理
Related MCP server: SAP Business One MCP Server
プロジェクト構成
sap-b1-mcp-server/
|- src/
| \- server.ts
|- dist/
|- .env
|- .env.example
|- package.json
|- tsconfig.json
\- README.mdツール
create_sales_quotationcreate_sales_ordercheck_atpcreate_deliveryget_pick_listconfirm_delivery_podcreate_ar_invoiceapply_incoming_paymentget_collections_worklist
環境設定
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=0NODE_TLS_REJECT_UNAUTHORIZED=0 は、SAP Business One Service Layer が自己署名証明書を使用している場合にのみ設定してください。
インストール
npm installビルド
npm run build実行
node dist/server.js想定される起動ログ:
SAP B1 MCP server running (stdio)Claude Desktop MCP 設定
{
"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"
}
}
}
}注意事項
サーバーは Service Layer REST API を介して SAP Business One に接続します。
セッションクッキーは、ログインの有効期限が切れると自動的に更新されます。
請求書および支払いツールは実際に転記を行う操作として実装されているため、エージェントのワークフローに人間による承認ステップを残しておくことをお勧めします。
一部の組織では、運送会社、POD、承認メタデータをユーザー定義フィールドに保存しています。このスキャフォールドは、SAP B1 テナント間での可搬性を保つために、デフォルトではこれらの参照を伝票コメントに保存します。
よくある問題
UNABLE_TO_VERIFY_LEAF_SIGNATURE: 自己署名の SAP 証明書にはNODE_TLS_REJECT_UNAUTHORIZED=0を設定してくださいSAP B1 login failed: ベース URL、会社データベース、ユーザー、パスワードを確認してくださいECONNREFUSED: Service Layer が実行中で到達可能であることを確認してくださいCannot find module:npm installとnpm run buildを実行してくださいMCP ツールが表示されない: Claude MCP 設定の絶対パスを確認してください
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