
SAP Business One (read-only)
Read-only access to SAP Business One partners, items, orders, invoices, and stock via Service Layer.
- tools
- 9
- auth
- Secret needed
- transport
- STDIO
- env vars
- 8
- last updated
- Nov 17, 2026
What it does
- Reads partner and item data with
get_business_partner,search_business_partners,get_item, andsearch_items, with typed fields and row limits - Reads sales and finance data with
get_open_sales_orders,get_customer_balance, andget_open_invoices, plusget_stock_by_warehousefor per-warehouse stock - Runs only administrator-registered queries through
run_saved_query; the server has no write, delete, or free-form SQL tools - Designed for sales, credit, and collections questions over one company database, and it can run on mock demo data without SAP
Tools
9 toolsPublic tool metadata for what this MCP can expose to an agent.
get_business_partnerOne customer, supplier or lead by exact CardCode.
One customer, supplier or lead by exact CardCode.
No parameter schema in public metadata yet.
search_business_partnersPartners whose code or name contains text.
Partners whose code or name contains text.
No parameter schema in public metadata yet.
get_itemOne item master record by exact ItemCode.
One item master record by exact ItemCode.
No parameter schema in public metadata yet.
search_itemsItems whose code or name contains text.
Items whose code or name contains text.
No parameter schema in public metadata yet.
get_open_sales_ordersOpen sales orders, newest first.
Open sales orders, newest first.
No parameter schema in public metadata yet.
get_customer_balanceAccount balance, open orders, open deliveries, credit limit and available credit.
Account balance, open orders, open deliveries, credit limit and available credit.
No parameter schema in public metadata yet.
get_open_invoicesOpen A/R invoices with unpaid amount and days overdue, plus a total.
Open A/R invoices with unpaid amount and days overdue, plus a total.
No parameter schema in public metadata yet.
get_stock_by_warehouseIn stock, committed, ordered and available per warehouse for one item.
In stock, committed, ordered and available per warehouse for one item.
No parameter schema in public metadata yet.
run_saved_queryResult of a query pre-registered by an administrator.
Result of a query pre-registered by an administrator.
No parameter schema in public metadata yet.
Configuration
SAPB1_SERVICE_LAYER_URL*Service Layer base URL, e.g. https://your-b1-server:50000/b1s/v1
SAPB1_COMPANY_DB*Company database (schema) name
SAPB1_USERNAME*Dedicated B1 user with read-only authorizations
SAPB1_PASSWORD*secretPassword of that B1 user
SAPB1_ALLOW_SELF_SIGNEDdefault: falseSet to true only if your Service Layer uses a self-signed certificate
SAPB1_MAX_ROWSdefault: 50Maximum rows any tool may return (default 50, hard cap 500)
SAPB1_SAVED_QUERIES_FILEPath to the saved-queries JSON file used by run_saved_query
SAPB1_MOCKdefault: falseSet to true to use bundled demo fixtures instead of SAP
Readme
sap-b1-mcp: read-only SAP Business One MCP server
An open-source Model Context Protocol server that lets AI assistants (Claude, ChatGPT via a bridge, Cursor, VS Code and other MCP clients) read data from one SAP Business One company through the Service Layer REST API.
It is a deliberately small, auditable starter:
- Read-only by design. There are no tools that create, change or delete anything, and the HTTP client refuses any request other than
GET,Login,Logoutand running a pre-createdSQLQueriesentry. - No free SQL and no free filters. Every tool has a typed input schema, a row limit and a field whitelist. Custom reports go through
run_saved_query, which only runs queries an administrator registered in a config file. - Credentials stay private. They come from environment variables, are never logged, and are redacted from every error message.
- Runs without SAP.
SAPB1_MOCK=1serves bundled demo fixtures, so you can try it and run the tests on any machine.
Details
- Repository
- github.com/kodenova/sap-b1-mcp
- Website
- kodenova.com/services/mcp-server-development
- Categories
- Business, Legal & HR, E-commerce
- Package
@kodenova/sap-b1-mcp- Transport
- STDIO
- Auth
- Required
- Registry
- MCP registry, active
Similar to SAP Business One (read-only)
More Business, Legal & HR
netsuitePluginwyre-technology/msp-claude-plugins55 starsOracle NetSuite ERP - records, reports, saved searches, and SuiteQL queries (read-only)
sap-hanaSkillmembranedev/application-skills237 installsComprehensive CLI-driven access to SAP S/4HANA business data through Membrane's managed authentication and actions.
OdooMCP serverivnvxd419 starsRead and write access to Odoo ERP records, attachments, and workflow actions through MCP tools.
WildberriesMCP serverdontsovcmc2 starsRead, write, and search access to the Wildberries Seller API: products, orders, supplies, analytics, and ads.
D365fo ConnectorMCP serverzhound42010 starsRead, query, and write access to Microsoft Dynamics 365 Finance & Operations entities via Azure AD.
LastsaasMCP serverjonradoff183 starsRead-only admin access to LastSaaS: dashboards, users, tenants, billing, logs, and health.