Stripe MCP
Stripe’s official server lets AI view and manage customers, products, payments and invoices. Connect to Stripe’s cloud and sign in with OAuth.
Read-only SAP Business One Service Layer tools: partners, items, orders, invoices, stock.
Lists are ordered by a usage score (out of 100) built from these parts
| Popularity | 0/80 | GitHub stars or weekly downloads: the larger counts 60, the smaller 20 |
|---|---|---|
| Freshness | 12/12 | Full marks for a release or code change within 30 days |
| Still answering | 0/8 | The cloud endpoint answered at the last check |
| Usage score | 12/100 |
Quality: Passed 2/3 basic checks (shown, not used for ordering) · Momentum: No data yet (Used only on the Trending tab)
Pick the AI app you use, then copy the settings.
Let your AI install it with one sentence
Please install SAP Business One (read-only). Follow https://mcp.popnx.com/i/kodenova-sap-b1-mcp.md, show me the commands and wait for my OK before running them.Paste it into an AI that can work on your computer (such as Claude Code or Cursor). It reads our steps, shows you the commands and waits for your OK. No key, no sign-up. · See the full text your AI reads
Passed 2/3 checks · Runs on your computer · ✓ Commands checked Nov 18, 2026
First: which AI do you use?
Pick your app and the steps appear below.
Works with Claude, with some setup first
You need a SAP Business One (read-only) key (create it on the maker’s site) · 3 setting(s) to fill in (SAPB1_SERVICE_LAYER_URL, SAPB1_COMPANY_DB, SAPB1_USERNAME) · Install Node.js on your computer first (one time) · Only the Claude desktop app (Windows or Mac), not the web or phone
Copy this message into a Claude chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.
Please install the MCP server SAP Business One (read-only) for Claude on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "mcpServers": { "sap-b1": { "command": "npx", "args": [ "-y", "@kodenova/sap-b1-mcp" ], "env": { "SAPB1_SERVICE_LAYER_URL": "your-value", "SAPB1_COMPANY_DB": "your-value", "SAPB1_USERNAME": "your-value", "SAPB1_PASSWORD": "your-value" } } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For SAPB1_PASSWORD, SAPB1_SERVICE_LAYER_URL, SAPB1_COMPANY_DB, SAPB1_USERNAME, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the SAP Business One (read-only) tools really show up.This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.
Already installed? Check first · Open Terminal, type this command and press Enter
node -vMac: press ⌘ + Space, type Terminal, press Enter
Windows: open Start, type Windows PowerShell, then Open
Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed
Open the Node.js download page ↗
When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v
Install once; it works for everything that needs Node.js
Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.
These are program settings, not keys. No sign-up needed; fill them in as the maker describes.
SAPB1_SERVICE_LAYER_URL Service Layer base URL, e.g. https://your-b1-server:50000/b1s/v1SAPB1_COMPANY_DB Company database (schema) nameSAPB1_USERNAME Dedicated B1 user with read-only authorizationsDescriptions are as written by the maker.
SettingsDeveloperEdit Config
{
"mcpServers": {
"sap-b1": {
"command": "npx",
"args": [
"-y",
"@kodenova/sap-b1-mcp"
],
"env": {
"SAPB1_SERVICE_LAYER_URL": "your-value",
"SAPB1_COMPANY_DB": "your-value",
"SAPB1_USERNAME": "your-value",
"SAPB1_PASSWORD": "your-value"
}
}
}
}Paste the key only into the app’s field, never into a chat or to anyone
Use SAP Business One (read-only) and tell me what you can do for me, then show me one thing✓ If Claude says it is using SAP Business One (read-only) or shows a SAP Business One (read-only) tool in the answer, you are connected
The command above works without these. Add them only if you want to change something, following the maker’s description.
SAPB1_ALLOW_SELF_SIGNED Set to true only if your Service Layer uses a self-signed certificate · default falseSAPB1_MAX_ROWS Maximum rows any tool may return (default 50, hard cap 500) · default 50SAPB1_SAVED_QUERIES_FILE Path to the saved-queries JSON file used by run_saved_querySAPB1_MOCK Set to true to use bundled demo fixtures instead of SAP · default falseDescriptions are as written by the maker.
Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version
ChatGPT cannot connect SAP Business One (read-only) yet
SAP Business One (read-only) runs on your computer, but ChatGPT can only connect servers that run on the web
A · Use an app that can connect SAP Business One (read-only)
B · Others in Online shops & payments that work with ChatGPT
Picked from the most used in the same category, only ones that connect by address with no key
Works with Claude Code, with some setup first
You need a SAP Business One (read-only) key (create it on the maker’s site) · 3 setting(s) to fill in (SAPB1_SERVICE_LAYER_URL, SAPB1_COMPANY_DB, SAPB1_USERNAME) · Install Node.js on your computer first (one time)
Copy this message into a Claude Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.
Please install the MCP server SAP Business One (read-only) for Claude Code on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): claude mcp add --scope user sap-b1 --env SAPB1_SERVICE_LAYER_URL=your-value --env SAPB1_COMPANY_DB=your-value --env SAPB1_USERNAME=your-value --env SAPB1_PASSWORD=your-value -- npx -y @kodenova/sap-b1-mcp 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For SAPB1_PASSWORD, SAPB1_SERVICE_LAYER_URL, SAPB1_COMPANY_DB, SAPB1_USERNAME, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the SAP Business One (read-only) tools really show up.This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.
Already installed? Check first · Open Terminal, type this command and press Enter
node -vMac: press ⌘ + Space, type Terminal, press Enter
Windows: open Start, type Windows PowerShell, then Open
Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed
Open the Node.js download page ↗
When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v
Install once; it works for everything that needs Node.js
Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.
These are program settings, not keys. No sign-up needed; fill them in as the maker describes.
SAPB1_SERVICE_LAYER_URL Service Layer base URL, e.g. https://your-b1-server:50000/b1s/v1SAPB1_COMPANY_DB Company database (schema) nameSAPB1_USERNAME Dedicated B1 user with read-only authorizationsDescriptions are as written by the maker.
Mac: press Command+Space and type Terminal · Windows: open PowerShell
claude mcp add --scope user sap-b1 --env SAPB1_SERVICE_LAYER_URL=your-value --env SAPB1_COMPANY_DB=your-value --env SAPB1_USERNAME=your-value --env SAPB1_PASSWORD=your-value -- npx -y @kodenova/sap-b1-mcpReplace “your-value” with your key before pressing Enter
Paste the key only into the app’s field, never into a chat or to anyone
You should see SAP Business One (read-only) listed as connected
Use SAP Business One (read-only) and tell me what you can do for me, then show me one thing✓ If Claude Code says it is using SAP Business One (read-only) or shows a SAP Business One (read-only) tool in the answer, you are connected
The command above works without these. Add them only if you want to change something, following the maker’s description.
SAPB1_ALLOW_SELF_SIGNED Set to true only if your Service Layer uses a self-signed certificate · default falseSAPB1_MAX_ROWS Maximum rows any tool may return (default 50, hard cap 500) · default 50SAPB1_SAVED_QUERIES_FILE Path to the saved-queries JSON file used by run_saved_querySAPB1_MOCK Set to true to use bundled demo fixtures instead of SAP · default falseDescriptions are as written by the maker.
Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version
Works with Cursor, with some setup first
You need a SAP Business One (read-only) key (create it on the maker’s site) · 3 setting(s) to fill in (SAPB1_SERVICE_LAYER_URL, SAPB1_COMPANY_DB, SAPB1_USERNAME) · Install Node.js on your computer first (one time)
Copy this message into a Cursor chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.
Please install the MCP server SAP Business One (read-only) for Cursor on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "mcpServers": { "sap-b1": { "command": "npx", "args": [ "-y", "@kodenova/sap-b1-mcp" ], "env": { "SAPB1_SERVICE_LAYER_URL": "your-value", "SAPB1_COMPANY_DB": "your-value", "SAPB1_USERNAME": "your-value", "SAPB1_PASSWORD": "your-value" } } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For SAPB1_PASSWORD, SAPB1_SERVICE_LAYER_URL, SAPB1_COMPANY_DB, SAPB1_USERNAME, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the SAP Business One (read-only) tools really show up.This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.
Already installed? Check first · Open Terminal, type this command and press Enter
node -vMac: press ⌘ + Space, type Terminal, press Enter
Windows: open Start, type Windows PowerShell, then Open
Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed
Open the Node.js download page ↗
When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v
Install once; it works for everything that needs Node.js
Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.
These are program settings, not keys. No sign-up needed; fill them in as the maker describes.
SAPB1_SERVICE_LAYER_URL Service Layer base URL, e.g. https://your-b1-server:50000/b1s/v1SAPB1_COMPANY_DB Company database (schema) nameSAPB1_USERNAME Dedicated B1 user with read-only authorizationsDescriptions are as written by the maker.
In the SAP Business One (read-only) settings, SAPB1_PASSWORD, SAPB1_SERVICE_LAYER_URL, SAPB1_COMPANY_DB, SAPB1_USERNAME is empty; add your key and save
Paste the key only into the app’s field, never into a chat or to anyone
Use SAP Business One (read-only) and tell me what you can do for me, then show me one thing✓ If Cursor says it is using SAP Business One (read-only) or shows a SAP Business One (read-only) tool in the answer, you are connected
The command above works without these. Add them only if you want to change something, following the maker’s description.
SAPB1_ALLOW_SELF_SIGNED Set to true only if your Service Layer uses a self-signed certificate · default falseSAPB1_MAX_ROWS Maximum rows any tool may return (default 50, hard cap 500) · default 50SAPB1_SAVED_QUERIES_FILE Path to the saved-queries JSON file used by run_saved_querySAPB1_MOCK Set to true to use bundled demo fixtures instead of SAP · default falseDescriptions are as written by the maker.
Menu names checked against Cursor’s help page on Nov 11, 2026 · your screen may differ slightly by app version
Works with VS Code, with some setup first
You need a SAP Business One (read-only) key (create it on the maker’s site) · 3 setting(s) to fill in (SAPB1_SERVICE_LAYER_URL, SAPB1_COMPANY_DB, SAPB1_USERNAME) · Install Node.js on your computer first (one time)
Copy this message into a VS Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.
Please install the MCP server SAP Business One (read-only) for VS Code on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "servers": { "sap-b1": { "type": "stdio", "command": "npx", "args": [ "-y", "@kodenova/sap-b1-mcp" ], "env": { "SAPB1_SERVICE_LAYER_URL": "your-value", "SAPB1_COMPANY_DB": "your-value", "SAPB1_USERNAME": "your-value", "SAPB1_PASSWORD": "your-value" } } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For SAPB1_PASSWORD, SAPB1_SERVICE_LAYER_URL, SAPB1_COMPANY_DB, SAPB1_USERNAME, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the SAP Business One (read-only) tools really show up.This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.
Already installed? Check first · Open Terminal, type this command and press Enter
node -vMac: press ⌘ + Space, type Terminal, press Enter
Windows: open Start, type Windows PowerShell, then Open
Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed
Open the Node.js download page ↗
When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v
Install once; it works for everything that needs Node.js
Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.
These are program settings, not keys. No sign-up needed; fill them in as the maker describes.
SAPB1_SERVICE_LAYER_URL Service Layer base URL, e.g. https://your-b1-server:50000/b1s/v1SAPB1_COMPANY_DB Company database (schema) nameSAPB1_USERNAME Dedicated B1 user with read-only authorizationsDescriptions are as written by the maker.
In the SAP Business One (read-only) settings, SAPB1_PASSWORD, SAPB1_SERVICE_LAYER_URL, SAPB1_COMPANY_DB, SAPB1_USERNAME is empty; add your key and save
Paste the key only into the app’s field, never into a chat or to anyone
Use SAP Business One (read-only) and tell me what you can do for me, then show me one thing✓ If VS Code says it is using SAP Business One (read-only) or shows a SAP Business One (read-only) tool in the answer, you are connected
The command above works without these. Add them only if you want to change something, following the maker’s description.
SAPB1_ALLOW_SELF_SIGNED Set to true only if your Service Layer uses a self-signed certificate · default falseSAPB1_MAX_ROWS Maximum rows any tool may return (default 50, hard cap 500) · default 50SAPB1_SAVED_QUERIES_FILE Path to the saved-queries JSON file used by run_saved_querySAPB1_MOCK Set to true to use bundled demo fixtures instead of SAP · default falseDescriptions are as written by the maker.
Menu names checked against VS Code’s help page on Nov 11, 2026 · your screen may differ slightly by app version
Other apps that use MCP, such as Windsurf, Zed or Gemini CLI, each add servers differently. See how in the app list.
JSON settings are under “For developers” below
Claude Code
claude mcp add --scope user sap-b1 --env SAPB1_SERVICE_LAYER_URL=your-value --env SAPB1_COMPANY_DB=your-value --env SAPB1_USERNAME=your-value --env SAPB1_PASSWORD=your-value -- npx -y @kodenova/sap-b1-mcpClaude Desktop (claude_desktop_config.json)
{
"mcpServers": {
"sap-b1": {
"command": "npx",
"args": [
"-y",
"@kodenova/sap-b1-mcp"
],
"env": {
"SAPB1_SERVICE_LAYER_URL": "your-value",
"SAPB1_COMPANY_DB": "your-value",
"SAPB1_USERNAME": "your-value",
"SAPB1_PASSWORD": "your-value"
}
}
}
}Cursor (~/.cursor/mcp.json)
{
"mcpServers": {
"sap-b1": {
"command": "npx",
"args": [
"-y",
"@kodenova/sap-b1-mcp"
],
"env": {
"SAPB1_SERVICE_LAYER_URL": "your-value",
"SAPB1_COMPANY_DB": "your-value",
"SAPB1_USERNAME": "your-value",
"SAPB1_PASSWORD": "your-value"
}
}
}
}VS Code (mcp.json)
{
"servers": {
"sap-b1": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@kodenova/sap-b1-mcp"
],
"env": {
"SAPB1_SERVICE_LAYER_URL": "your-value",
"SAPB1_COMPANY_DB": "your-value",
"SAPB1_USERNAME": "your-value",
"SAPB1_PASSWORD": "your-value"
}
}
}
}SAPB1_SERVICE_LAYER_URL required envSAPB1_COMPANY_DB required envSAPB1_USERNAME required envSAPB1_PASSWORD secret required envSAPB1_ALLOW_SELF_SIGNED envSAPB1_MAX_ROWS envSAPB1_SAVED_QUERIES_FILE envSAPB1_MOCK envDescriptions are as written by the maker.
These settings are generated from the maker’s registry entry. If the README says otherwise, follow the README.
npm: @kodenova/sap-b1-mcpBased on how this server connects and on each app’s own docs, checked Nov 10, 2026.
Run on your computer in
ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast
Runs on your computer; the tool list appears in your AI app after you install it.
We check information anyone can see; we have not read the code. Checks that do not apply are left out of the count. · Checked Nov 20, 2026
The registry name was verified with the GitHub account kodenova, which owns the repo
Code last changed 2 days ago
GitHub could not identify the licence type; open the file to check
This one runs on your computer; there is no internet endpoint
Runs on your computer and uses local settings instead
Runs on your computer; we can only read tool lists from internet endpoints
No entries on OSV.dev for @kodenova/sap-b1-mcp@0.1.0
Checks only this package version, not every dependency · checked Nov 18, 2026
If you made this, paste this code into your README. The badge links back to this page.
[](https://mcp.popnx.com/en/servers/kodenova-sap-b1-mcp)Ask, share a tip or report that it does not work. Sorted by what people marked helpful.
No posts yet. Be the first to ask or share.
Posts here are written by users, not the PopNx team.
No reviews yet
Compared with every active server in this category in the registry. Stars count only when the publisher owns the repo.
It passed 2 of 3 applicable basic checks. We have not read the code. Before adding a key or token, see what access the server asks for and use a key with only the permissions you need.
You need to fill in: SAPB1_PASSWORD
It runs on your computer. Your AI app starts it when needed, and data does not pass through the maker’s servers (unless it calls an online service itself).
The GitHub repo last changed 2 days ago, and the latest version (0.1.0) reached the registry 2 days ago.
Apps that support MCP, such as Claude Desktop, Claude Code, Cursor and VS Code. You also need Node.js on your computer.
In the same category: Stripe MCP, flightclaw, Trade It, Marketplace Ad Pros: Amazon Ads & Seller Central, idealo MCP Server
Same category, other makers, commands already checked. Official ones first, then by stars.
Reading a card:↓ Downloads per weeki★ GitHub starsiThree pillars: reviews · checks · usageiUpdated = latest version published to the registryi
Stripe’s official server lets AI view and manage customers, products, payments and invoices. Connect to Stripe’s cloud and sign in with OAuth.
Search ~300 airlines and book flights with a checkout link. OAuth sign-in by email code.
Connect brokerage accounts to AI assistants: holdings, orders, asset lookup, and approved trading.
Amazon Ads, Seller Central, Vendor Central and AMC data for AI agents. Read-only by default.
Search products, compare prices and discover deals across 6 European markets with your AI assistant.
| This one SAP Business One (read-only) | Stripe MCP | flightclaw | Trade It | Marketplace Ad Pros: Amazon Ads & Seller Central | idealo MCP Server | |
|---|---|---|---|---|---|---|
| Runs where | Installs on your computer | Runs in the cloud, nothing to install | Runs in the cloud, nothing to install | Runs in the cloud, nothing to install | Runs in the cloud, nothing to install | Runs in the cloud, nothing to install |
| Needs a key | Yes | No | No | No | No | No |
| Add with + in Claude | No | Yes | No | No | No | No |
| Basic checks | 2/3 | 4/4 | 4/4 | 5/5 | 4/4 | 4/4 |
| License | NOASSERTION | MIT | MIT | CC0-1.0 | MIT | MIT |
| Price | No cost listed in the registry | No cost listed in the registry | No cost listed in the registry | No cost listed in the registry | No cost listed in the registry | No cost listed in the registry |
Copied from the maker’s repo as written. PopNx MCP has not reviewed or endorsed it. HTML, images and scripts are removed. Links lead off this site.
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:
GET, Login, Logout and running a pre-created SQLQueries entry.run_saved_query, which only runs queries an administrator registered in a config file.SAPB1_MOCK=1 serves bundled demo fixtures, so you can try it and run the tests on any machine.SAP and SAP Business One are trademarks or registered trademarks of SAP SE in Germany and other countries. This project is independent and is not affiliated with, sponsored by or endorsed by SAP SE.
| Tool | What it returns | Key inputs | Row limit |
|---|---|---|---|
get_business_partner | One customer, supplier or lead by exact CardCode | cardCode, optional fields | 1 |
search_business_partners | Partners whose code or name contains text | query, type (customer / supplier / lead), limit, fields | limit (≤ SAPB1_MAX_ROWS) |
get_item | One item master record by exact ItemCode | itemCode, optional fields | 1 |
search_items | Items whose code or name contains text | query, inStockOnly, limit, fields | limit |
get_open_sales_orders | Open sales orders, newest first | optional cardCode, limit, fields | limit |
get_customer_balance | Account balance, open orders, open deliveries, credit limit and available credit | cardCode | 1 |
get_open_invoices | Open A/R invoices with unpaid amount and days overdue, plus a total | optional cardCode, overdueOnly, limit | limit |
get_stock_by_warehouse | In stock, committed, ordered and available per warehouse for one item | itemCode, optional warehouseCode, includeEmpty | all warehouses of one item |
run_saved_query | Result of a query pre-registered by an administrator | name, params, limit | min(limit, query maxRows) |
Every tool is annotated readOnlyHint: true, destructiveHint: false.
The fields input only accepts names from these lists, so the model cannot pull other columns:
Edit the lists in src/server.ts to fit your company.
npx -y @kodenova/sap-b1-mcp # with SAPB1_MOCK=1 in the environment
Or from source:
git clone https://github.com/kodenova/sap-b1-mcp.git
cd sap-b1-mcp npm install npm run build npm test # runs in mock mode, no SAP needed SAPB1_MOCK=1 node dist/index.js # stdio MCP server on demo data
Requires Node.js 18.17 or later.
| Variable | Required | Description |
|---|---|---|
SAPB1_SERVICE_LAYER_URL | yes | Service Layer base URL, e.g. https://b1server:50000/b1s/v1 |
SAPB1_COMPANY_DB | yes | Company database / schema name |
SAPB1_USERNAME | yes | Dedicated read-only B1 user (see Security) |
SAPB1_PASSWORD | yes | Password of that user. Never logged, redacted from errors |
SAPB1_ALLOW_SELF_SIGNED | no | true to accept a self-signed TLS certificate. Off by default |
SAPB1_ALLOW_HTTP | no | true to allow a plain http:// URL. Only for a local test system |
SAPB1_MAX_ROWS | no | Maximum rows any tool may return. Default 50, hard cap 500 |
SAPB1_TIMEOUT_MS | no | Per-request timeout. Default 30000 |
SAPB1_SAVED_QUERIES_FILE | no | Path to your saved-queries JSON (see below) |
SAPB1_LOG_LEVEL | no | debug, info (default), warn, error, silent. Logs go to stderr |
SAPB1_MOCK | no | true / 1 to use the bundled fixtures instead of SAP |
See .env.example.
Edit claude_desktop_config.json (Settings, Developer, Edit Config):
{
"mcpServers": { "sap-b1": { "command": "npx", "args": ["-y", "@kodenova/sap-b1-mcp"], "env": { "SAPB1_SERVICE_LAYER_URL": "https://b1server:50000/b1s/v1", "SAPB1_COMPANY_DB": "SBODEMOUS", "SAPB1_USERNAME": "mcp_readonly", "SAPB1_PASSWORD": "your-password", "SAPB1_MAX_ROWS": "50" } } } }
To try it without SAP, replace the env block with { "SAPB1_MOCK": "1" }. On Windows, if npx is not found, use "command": "cmd" and "args": ["/c", "npx", "-y", "@kodenova/sap-b1-mcp"].
claude mcp add sap-b1 \
-e SAPB1_SERVICE_LAYER_URL=https://b1server:50000/b1s/v1 \ -e SAPB1_COMPANY_DB=SBODEMOUS \ -e SAPB1_USERNAME=mcp_readonly \ -e SAPB1_PASSWORD=your-password \ -- npx -y @kodenova/sap-b1-mcp
.vscode/mcp.json, with the password prompted instead of stored:
{
"inputs": [ { "type": "promptString", "id": "sapb1-password", "description": "SAP B1 password", "password": true } ], "servers": { "sap-b1": { "type": "stdio", "command": "npx", "args": ["-y", "@kodenova/sap-b1-mcp"], "env": { "SAPB1_SERVICE_LAYER_URL": "https://b1server:50000/b1s/v1", "SAPB1_COMPANY_DB": "SBODEMOUS", "SAPB1_USERNAME": "mcp_readonly", "SAPB1_PASSWORD": "${input:sapb1-password}" } } } }
Use the same command, args and env as the Claude Desktop example in the client's MCP config file (for Cursor: ~/.cursor/mcp.json or .cursor/mcp.json).
ChatGPT connects to remote MCP servers over HTTPS; it does not launch local stdio processes. This package is a stdio server, so for ChatGPT you need to host it behind an MCP stdio-to-HTTP bridge on a server you control, with HTTPS and authentication in front of it. Do not expose an unauthenticated endpoint that holds your SAP credentials. If you want a hosted, authenticated HTTP version, see the footer.
run_saved_query)The model cannot send SQL or OData filters. It can only pick a query by name from a JSON file you control and pass the typed parameters that query declares. Copy config/saved-queries.example.json to config/saved-queries.json and point SAPB1_SAVED_QUERIES_FILE at it.
Two kinds are supported:
{
"queries": { "customers_over_balance": { "kind": "odata", "description": "Customers whose account balance is above a threshold", "resource": "BusinessPartners", "select": ["CardCode", "CardName", "CurrentAccountBalance"], "filter": { "and": [ { "field": "CardType", "op": "eq", "value": "cCustomer" }, { "field": "CurrentAccountBalance", "op": "gt", "value": { "param": "minBalance" } } ]}, "orderBy": "CurrentAccountBalance desc", "maxRows": 100, "params": { "minBalance": { "type": "number", "default": 0 } } }, "sales_by_month": { "kind": "sqlquery", "description": "Net A/R sales per month for a year", "sqlCode": "KN_SALES_BY_MONTH", "params": { "year": { "type": "integer", "required": true } } } } }
odata queries run against a Service Layer entity set with a fixed $select and a structured filter. Parameter values are type-checked (string, number, integer, date, boolean) and escaped; field names are validated.sqlquery queries run a SQLQueries entry that your administrator already created in Service Layer (POST SQLQueries('code')/List with a ParamList). Service Layer only accepts SELECT statements there. This server cannot create or change SQLQueries entries.assertReadOnly in src/serviceLayer.ts) blocks PATCH, PUT, DELETE and every POST except Login, Logout and SQLQueries('…')/List, before any request is sent. Tests cover this.mcp_readonly) for this server. Do not use manager or a superuser. In *Administration → System Initialization → Authorizations → General Authorizations*, set:The server is read-only on its own; the B1 authorizations are your second, independent layer. Service Layer logins need a suitable B1 user license, so check the licensing with your SAP partner.
B1SESSION and ROUTEID values are redacted from every error and log line. Prefer your client's secret prompt (as in the VS Code example) over storing the password in a config file.SAPB1_ALLOW_SELF_SIGNED=true turns it off for the Service Layer host only and logs a warning. Plain http:// is refused unless SAPB1_ALLOW_HTTP=true.SAPB1_MAX_ROWS, hard cap 500) and a field whitelist, so a prompt cannot dump whole tables./b1s/v1), which uses OData v3-style JSON (odata.nextLink, {"error":{"message":{"value":…}}}). The client also reads the v2 (/b1s/v2, OData v4) @odata.nextLink and error format, but filters with dates are written in v1 syntax, so v1 is the supported endpoint for 0.1.0.Prefer: odata.maxpagesize=N and follows odata.nextLink until the row limit is reached.POST /Login with CompanyDB, UserName and Password; the B1SESSION (and ROUTEID when load-balanced) cookies are reused. When the session times out (30 minutes by default), the server logs in again once and retries. It logs out on shutdown.contains() and startswith() are used for search. On SAP HANA, string comparison is case-sensitive, so search_items with widget will not match Widget.SQLQueries (used by sqlquery saved queries) exists only in newer Service Layer releases. Check that SQLQueries appears in your $metadata before using that kind.BusinessPartners, Items, Orders, Invoices). If your release or localization differs, adjust the wh