MCP Server for SAP S/4HANA

AI meets SAP.
190+ tools. Zero middleware.

ZMCP connects AI assistants directly to your SAP system over HTTPS. Deep Basis diagnostics, ABAP development, code quality assessment, business data access, and system monitoring — all through natural language from Claude Code, ChatGPT, Gemini, or the built-in Chat UI.

190+SAP Tools
460HANA SQL Scripts
0Dependencies
<3sResponse Time

Tested daily on production S/4HANA 2022 SP1 & 2025 SP1

How it works

ZMCP installs as pure ABAP on your SAP system. No proxies, no cloud services, no Node.js required for the base install.

1

Install via abapGit

Import the ZMCP package into your S/4HANA system using abapGit. Takes 15 minutes. Works on S/4HANA 2021+ (tested on 2022 SP1 and 2025 SP1).

2

Activate & License

Run the license activation report in SE38. Online or offline mode — works even when SAP has no internet access. Load the 460 HANA diagnostic scripts.

3

Connect your AI

One command connects Claude Code directly to SAP over HTTPS. Or use Cursor, VS Code, Claude Desktop — any MCP-compatible client.

What you get

System Monitoring

Syslog (SM21), short dumps (ST22), work processes (SM50), active users (AL08), lock entries (SM12), update errors (SM13).

HANA Diagnostics

460 curated SQL scripts from SAP Note 1969700. Read-only HANA SQL with column auto-discovery on errors. Expensive statement analysis.

Performance Analysis

Workload overview (ST03/STAD), CPU monitoring (ST06), buffer statistics, OS process analysis via sapcontrol.

SAP Notes & Security

Search and analyze SAP Notes. Check missing security notes. Implement note recommendations with AI guidance.

Transport Management

View transport requests, import queues, transport logs. Cross-system comparison across your landscape.

ABAP Development & Refactoring

Read and write ABAP source, search objects, activate, debug. AI-assisted refactoring with clean code assessment. Run ATC checks before and after changes to ensure quality.

Table Exploration

Read any table, explore foreign key relationships with ER diagrams, check table dependencies. DD03L access for field discovery.

Multi-System Landscape

Connect multiple SAP systems from a single AI session. Compare configurations, monitor across DEV/QAS/PRD. Strict system isolation.

Built-in Chat UI

Browser-based chat interface inside SAP Fiori. No client installation for end users. Five themes including SAP Fiori and ZMCP. Supports multiple LLM providers (Claude, Deepseek, OpenAI, Gemini).

Flat-Rate AI via CLI Bridge

Run the Chat UI on your existing Claude Code, ChatGPT (Codex CLI), or Google Gemini CLI subscription instead of pay-per-token APIs. The CLI bridge polls Chat UI requests and routes them through whichever AI CLI you have authenticated. Predictable monthly cost — no surprise bills.

Data Masking

Optional PII masking for untrusted API providers. Per-key configuration — trusted enterprise AI skips masking. 326 ABAP data element rules.

Guardrails & Authorization

ZMCP_USER service account with configurable authorization profile. Dangerous tools blocked by default. Dev mode toggle for admins.

Business Data (BAPI)

33 read-only BAPI tools across SAP functional areas: Sales Orders, Purchase Orders, Materials, Vendors, Customers, Finance (GL accounts, cost centers), Plant Maintenance, and Quality Management.

Extended Warehouse (EWM)

11 tools for SAP Extended Warehouse Management: warehouse orders, handling units, stock overview, bin status, delivery documents, and warehouse task monitoring.

Code Quality & ATC

AI-driven clean code assessment and refactoring. Run ATC checks, analyze findings, and let the AI propose fixes. Compare code quality before and after changes.

Zero Dependencies

Pure ABAP — no Node.js, no cloud services, no middleware for the base install. Direct HTTPS from any MCP client to SAP.

Two ways to run ZMCP

Same 190+ tools either way. Pick the one that matches your landscape.

1. ZMCP-only mode

Single SAP system

One ABAP MCP server installed inside one SAP system. Any MCP-compatible client — the built-in Chat UI in your browser, Claude Code, Cursor, VS Code, or Claude Desktop — connects directly over HTTPS. No middleware, no extra hosts.

Best for: Teams managing a single SAP system that want the simplest possible install.

https://sap:44300/sap/bc/zmcp_jit

2. Orchestration mode

Multi-system landscape

A CLI bridge connects several ZMCP-equipped SAP systems behind a single AI session. One prompt can read from DEV, compare against QAS, and verify in PRD — in one turn. The bridge runs on your Linux host and routes through your existing AI CLI subscription:

  • Claude Code CLI (Anthropic)
  • Codex CLI (OpenAI / ChatGPT)
  • Gemini CLI (Google)

Best for: MSPs, multi-tenant SAP estates, and anyone who needs cross-landscape analysis from a single chat. Flat-rate AI cost via your CLI subscription — no per-token surprises.

node cli_bridge.js --config landscape.json

Compatibility

SAP Systems

  • S/4HANA 2021 and higher
  • Tested on 2022 SP1 & 2025 SP1
  • SAP HANA database required
  • ABAP Platform 7.57+

MCP Clients

  • Claude Code (CLI & Desktop)
  • Built-in Chat UI (browser)
  • Any MCP Streamable HTTP client

LLM Providers (Chat UI)

  • Claude (Anthropic)
  • Deepseek
  • OpenAI / ChatGPT
  • Google Gemini
  • SAP BTP AI Core

Built for SAP API Policy v.4.2026a

ZMCP runs as customer-installed ABAP in your own private cloud or on-premise SAP system — the deployment shape SAP explicitly carved out in §1.2 of the latest API Policy. Read the full posture document for a clause-by-clause mapping.

Read the Compliance Posture

Ready to transform your SAP operations?

Start with a single system. Scale to your entire landscape.

View Pricing