sapbuddy-mcp
Provides 41 SAP/ABAP tools via SAP ADT for object search, source reading, where-used analysis, ATC and unit tests, SQL queries, DDIC metadata, text elements, function module interfaces, transport requests, activation and syntax diagnostics, ST22/ST05 analysis, version history, and related development tasks. Read-only by default, with opt-in write tools guarded by development-client checks and audit logging.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
sapbuddy-mcp
把 SapBuddy 的 41 个 SAP / ABAP 工具以 MCP(Model Context Protocol)stdio 服务器的形式提供给任意 MCP 客户端, 例如 WorkBuddy、Antigravity、Claude Desktop、Cline 等。
面向:SAP ABAP 开发顾问、业务顾问
运行时:Node.js >= 20
传输:stdio(本地进程,无需公网暴露)
安装与配置
客户端配置示例:
{
"mcpServers": {
"sapbuddy": {
"command": "npx",
"args": ["-y", "sapbuddy-mcp@latest"],
"env": {
"SAP_URL": "https://sap-dev.example.com:44300",
"SAP_CLIENT": "100",
"SAP_USERNAME": "DEVELOPER",
"SAP_PASSWORD": "******",
"SAP_TIMEZONE_OFFSET": "+08:00"
}
}
}
}SAP 侧需要:/sap/bc/adt 已在 SICF 中激活,账号具备对应 ADT 与对象权限。
Related MCP server: moltline-mcp
环境变量
变量 | 必填 | 说明 |
| 是 | SAP 系统 HTTPS 地址(端口 = 443 + 实例号,实例 00 即 |
| 是 | 客户端号,1–3 位数字,如 |
| 是 | 登录用户 |
| 是 | 登录密码 |
| 否 | 登录语言,默认 |
| 否 | SAP 系统时区偏移(如 |
| 否 | 设为 |
| 否 | 自建 CA / 证书 PEM 的绝对路径,保留完整校验,优先于上一项 |
| 否 | 设为 |
| 否 | 设为 |
| 否 | 逗号分隔的工具白名单,用于裁剪暴露面 |
凭据只保存在客户端本地并注入到本进程,不写入磁盘。调用 SAP 时以 Basic Auth 随请求发往你配置的那台 SAP 系统,不经过任何云端服务。
未检测到 SAP_URL 时,服务以「未配置」状态运行:不会读取本机任何凭证文件
(包括 DeepSeek Harness 的 ~/.dsh/.agent-presets/sapbuddy/connections.json),
所有工具调用直接返回未配置错误。
安全模型
默认只读:未设置
SAPBUDDY_ENABLE_WRITE=1时,写工具根本不会出现在工具列表里。开发客户端守卫:开启写能力后,写操作前会读取
T000.CCCATEGORY,仅C(定制/开发) 客户端允许修改;测试/生产/演示/培训/参考客户端一律拒绝,读取失败时也拒绝。审计:写操作的成功与失败都会追加到审计日志。
确认责任在客户端:MCP 协议没有服务端发起的人工确认机制,写操作前必须由客户端 (或其 Skill/提示词)把改动内容展示给用户确认。
工具清单
41 个工具覆盖:对象搜索、读源码、where-used、ATC、单元测试、SQL 查询、DDIC(域/数据元素/
结构/表/表类型)、文本池与文本元素、屏幕文字、消息类、函数模块接口、传输请求、激活与语法诊断、
ST22(优先 SNAP 直查列表 + ADT 标准详情)/ ST05 分析、版本历史、Mermaid 校验等。
只读 29 个,混合型 2 个(manage_transport_requests 的查询 action、manage_text_elements
的 read action,默认即可用),纯写 10 个(需 SAPBUDDY_ENABLE_WRITE=1)。
写操作按单次调用的 action 判定,而不是按工具一刀切:查询传输请求、读文本元素不会被 误判为写操作,也不会触发开发客户端守卫。
与其它 SapBuddy 产物
包 | 形态 |
| CLI + Web 完整产品(自带 agent) |
| DeepSeek Harness 插件 |
| MCP 工具层,供外部 agent 调用 |
本包的工具实现同步自 sapbuddy-dsh 的 dist/sap-tools,构建时打包进 lib/,不重复实现。
开发
npm install
npm run build # 从 ../SapBuddy-dsh/packages/sapbuddy-dsh/dist/sap-tools 生成 lib/tools.bundle.mjs
npm test可通过 SAPBUDDY_DSH_DIR 覆盖上游 sapbuddy-dsh 目录路径。
许可证
MIT
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
One MCP server for all your MCP servers: code mode, per-tool permissions, approvals and audit.
Query SEC EDGAR filings, XBRL financials, and company data via MCP. STDIO or Streamable HTTP.
mtdt.io MCP: Salesforce DevOps platform connector (metadata deployments, backups and more)
Single-connection MCP gateway discovering and executing 490+ verified MCP & A2A tools.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceExposes Language Server Protocol (LSP) tools such as diagnostics, goto definition, find references, symbols, and rename as a stdio MCP server.9MIT
- AlicenseAqualityBmaintenanceZero-dependency stdio bridge to Moltline Studio's fleet of 14 hosted MCP servers covering code review, time operations, data transforms, business ops, education, research, outreach and more. Free tier requires no registration; premium tools unlock with a license. Independently audited, MCPize Verified A.10MIT
- AlicenseNot gradedqualityDmaintenanceProvides a deterministic set of 40 cross-platform command tools as an MCP server, replacing unsafe raw shell calls with structured JSON inputs and outputs for file system, process, network, and git operations.Apache 2.0
- AlicenseBqualityCmaintenanceEnables MCP clients to inspect and operate SQLite, PostgreSQL, MySQL/MariaDB, Oracle, SQL Server and MongoDB through 16 tools covering schema discovery, parameterized SQL reads and transactions, MongoDB document operations, and concurrent hybrid SQL/MongoDB queries. Runs locally over stdio or loopback HTTP with pooled connections, bounded concurrency, row and response limits, and read-only defaults.16MIT