
用于 SAP MCP 服务器(API Hub、RoadMap Explorer、SAP Notes)的 Monorepo 及其共享的 SAP 认证模块——npm 工作区。
概览
用于 SAP 服务器和它们基于的共享 SAP 认证模块使用 Monorepo。用 . 这些服务器让AI代理能够从官方SAP来源——业务加速器中心、路线图浏览器和SAP笔记——通过SAP登录收集证据。它们支持SAP API策略证据技能,但可独立使用任何MCP客户端(Claude代码、光标、Codex等)。 每个包——单仓库是用于开发的。消费者仍然安装单一服务器(npx、-y、sap-api-hub-mcp 等)。 NPM 安装会创建一个单一的根锁文件,挂载共享依赖,并通过 packages/auth 向每台服务器设置 @marianfoo/sap-mcp-auth 符号链接——这样你可以更改认证模块并重建,而无需发布它。 每台服务器都是stdio/HTTP MCP服务器。请参阅每个包的README以了解其工具和环境: - packages/api-hub/README.md - packages/roadmap/README.md - packages/notes/README。
概述(AI 翻译)
用于SAP 模型上下文协议(MCP)服务器及共享SAP认证的Monorepo 它们基于模块构建。用npm工作区来管理。
这些服务器让人工智能代理能够从官方SAP来源——业务加速器——收集证据 Hub、路线图资源管理器和SAP Notes——来自SAP登录后面。它们为 SAP API 策略的证据技能,但仍然可用 可与任何MCP客户端(如Claude代码、光标、Codex等)单独运行。
包裹
| 包裹(npm) | 董事 | 角色 |
|---|---|---|
@marianfoo/sap-mcp-auth |
packages/auth |
共享 SAP IAS/SSO 浏览器登录 + 会话模块(Playwright)。由以下三台服务器使用。 |
sap-api-hub-mcp |
packages/api-hub |
SAP 业务加速器中心的 MCP 服务器 — 已发布的 API 状态、规格、文档。 |
sap-roadmap-mcp |
packages/roadmap |
SAP RoadMap Explorer 的 MCP 服务器 — 未来/计划功能(仅限规划)。 |
sap-note-search-mcp |
packages/notes |
用于搜索SAP Notes / KBA的MCP服务器。 |
每个包都以自身名称独立发布给 npm——monorepo 是
开发。消费者仍然安装单一服务器(npx -y sap-api-hub-mcp等)。
快速开始
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
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 and MFA, 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.- For browser sign-in, use
HEADFUL=true. Notes and Roadmap can shareSAP_SSO_STORAGE_STATE. Roadmap must visit its own app to obtain service cookies. API Hub signs in directly in a fresh browser context and reuses its own validated token cache.
安装
This server does not publish a one-line install command.
Open the repository installation guide 新手?先看 mcpskill.org 教程 →