sap-mcp-servers
Health Warn
- License — License: Apache-2.0
- Description — Repository has a description
- Active repo — Last push 0 days ago
- Low visibility — Only 6 GitHub stars
Code Fail
- rimraf — Recursive directory removal in package.json
- rimraf — Recursive directory removal in packages/api-hub/package.json
- network request — Outbound network request in packages/api-hub/src/api-hub-client.ts
- process.env — Environment variable access in packages/api-hub/src/config.ts
- process.env — Environment variable access in packages/api-hub/src/logger.ts
- process.env — Environment variable access in packages/api-hub/src/mcp-server.ts
- network request — Outbound network request in packages/api-hub/src/mcp-server.ts
Permissions Pass
- Permissions — No dangerous permissions requested
No AI report is available for this listing yet.
Monorepo for SAP MCP servers (API Hub, Road Map Explorer, SAP Notes) and their shared SAP authentication module — npm workspaces.
SAP MCP Servers
Monorepo for the SAP Model Context Protocol (MCP) servers and the shared SAP authentication
module they build on. Managed with npm workspaces.
These servers let an AI agent gather evidence from official SAP sources — the Business Accelerator
Hub, Road Map Explorer, and SAP Notes — from behind SAP login. They power the
SAP API Policy evidence skill, but are usable
standalone with any MCP client (Claude Code, Cursor, Codex, …).
Packages
| Package (npm) | Dir | Role |
|---|---|---|
@marianfoo/sap-mcp-auth |
packages/auth |
Shared SAP IAS/SSO browser-login + session module (Playwright). Used by the three servers below. |
sap-api-hub-mcp |
packages/api-hub |
MCP server for the SAP Business Accelerator Hub — Published-API status, specs, docs. |
sap-roadmap-mcp |
packages/roadmap |
MCP server for SAP Road Map Explorer — future/planned features (planning only). |
sap-note-search-mcp |
packages/notes |
MCP server for searching SAP Notes / KBAs. |
Each package is published to npm independently under its own name — the monorepo is for
development. Consumers still install a single server (npx -y sap-api-hub-mcp, etc.).
Quick start
git clone https://github.com/marianfoo/sap-mcp-servers.git
cd sap-mcp-servers
npm install # installs all workspaces + links @marianfoo/sap-mcp-auth locally
npm run build # builds auth first, then the three servers
npm run install:browsers # one-time: Chromium for Playwright login (also auto-runs on install)
npm install creates a single root lockfile, hoists shared dependencies, and symlinks@marianfoo/sap-mcp-auth into each server from packages/auth — so you can change the auth module
and rebuild without publishing it.
Running a server
Each server is a stdio/HTTP MCP server. See each package's README for its tools and environment:
For wiring them into an MCP client (Claude Code / Cursor / Codex) with auth, MFA, and a single
shared SSO login across all three, see the skill's
MCP_SETUP.md.
Shared SAP authentication
All three servers authenticate to SAP the same way, via @marianfoo/sap-mcp-auth:
SAP_USERNAME/SAP_PASSWORD(interactive IAS login on first run), or a SAP Passport client
certificate (.pfx), selected viaAUTH_METHOD.- A shared SSO storage-state file (
SAP_SSO_STORAGE_STATE) lets you log in once and have all
three servers reuse the session — see MCP_SETUP.md → "Authenticate once for all three".
Never commit credentials, .env, *.pfx, or *-token-cache.json — they are gitignored.
Development
- Build order matters:
packages/authmust build before the servers (they import its types).npm run buildhandles this;npm run build:authbuilds just the auth module. - Build one package:
npm run build -w sap-roadmap-mcp. - Watch/dev a server:
npm run dev -w sap-api-hub-mcp. - Typecheck / test everything:
npm run typecheck/npm test.
Contributing & commit messages
Commits follow Conventional Commits — type(scope): subject,
e.g. fix(auth): refresh expired SSO cookie. A husky commit-msg hook + a CI job lint this. Allowed
scopes: auth, api-hub, roadmap, notes, deps, release, ci, repo. See
AGENTS.md for the full contributor/dev guide.
Releases
Releasing is automated with release-please —
landing conventional commits on main opens a per-package "release PR"; merging it bumps that
package's version + CHANGELOG, tags it (e.g. sap-api-hub-mcp-v0.1.2), and therelease.yml workflow publishes it to npm with provenance (OIDC).
No manual npm version / npm publish. Setup details and the npm trusted-publisher one-time config
are in AGENTS.md → Commits, CI & releasing.
Licensing
All packages are licensed Apache-2.0 — see each package's LICENSE file.
Reviews (0)
Sign in to leave a review.
Leave a reviewNo results found