sap-pi-mcp-server
The only entry pointed at SAP PI and PO rather than at Cloud Integration — monitoring and Integration Directory metadata from the middleware that came before.
Every other integration entry in the corpus assumes the Integration Suite. A great many landscapes still run Process Integration or Process Orchestration, and this reads their monitoring and their Integration Directory metadata over a local server configured from environment variables. Small, and the only thing here that speaks to the older estate at all.
Facts
Where it sits
Who is behind it
In the atlas: maintains 1, contributes to 1@lopezmasmaintainer
Before choosing this
Conditions
PracticalFunctional boundary
Inspection only, and it takes a host, a user and a password from the environment rather than a managed credential. PI and PO are also on their own end-of-maintenance path, which is the context any investment here sits in.
PolicySAP API Policy 4.2026a§ 1.1, 1.2, 2.2.2from Agent access to your systemsAn MCP server uses SAP APIs to supply tools, resources or data to an agent.
- § 1.1 Published APIs. Published APIs are made available for the documented purposes identified by SAP, including integration, extensions and data exchange.
- § 1.2 Non-Published APIs. Customer and third-party applications must not access non-published APIs except where documentation permits it or SAP otherwise authorizes it.
- § 2.2.2 AI call sequences and data extraction. Outside SAP-endorsed architectures, data services or expressly identified pathways, the policy prohibits specified agentic API use and systematic or large-scale extraction.
MCP does not replace the API's documented-use boundary. Check that every endpoint is published for the intended use and whether the policy's AI-call or extraction provisions apply to the design.
SAP API Policy 4.2026a →What it declares
Every artifact
- Type
- MCP server
- Origin
- Independently maintained
Connections
Giving an AI agent access to the systems you run over MCP
Download
README
quoted from lopezmas/sap-pi-mcp-server under MIT, readSAP PI MCP Server
Local MCP server for inspecting SAP PI / PO monitoring and Integration Directory metadata.
Configuration
The server reads SAP PI connection details from environment variables:
SAP_PI_HOST=your-pi-host:50000
SAP_PI_SCHEME=https
SAP_PI_USER=your-user
SAP_PI_PASSWORD=your-password
The MCP server itself does not choose an environment. The MCP client injects the environment variables when it starts the server. SAP_PI_SCHEME defaults to http for older PI/PO systems, but https is preferred where available. You can also set SAP_PI_HOST to a full https://... URL. Do not commit real connection values or credentials.
Codex MCP Config
Add one server per environment to C:\Users\<you>\.codex\config.toml:
[mcp_servers.sap-pi-dev]
command = "python"
args = ["C:\\path\\to\\sap-pi-mcp-server\\get_pi_channel_status.py"]
[mcp_servers.sap-pi-dev.env]
SAP_PI_HOST = "dev-pi-host:50000"
SAP_PI_SCHEME = "https"
SAP_PI_USER = "dev-user"
SAP_PI_PASSWORD = "dev-password"
[mcp_servers.sap-pi-test]
command = "python"
args = ["C:\\path\\to\\sap-pi-mcp-server\\get_pi_channel_status.py"]
[mcp_servers.sap-pi-test.env]
SAP_PI_HOST = "test-pi-host:50000"
SAP_PI_SCHEME = "https"
SAP_PI_USER = "test-user"
SAP_PI_PASSWORD = "test-password"
[mcp_servers.sap-pi-prod]
command = "python"
args = ["C:\\path\\to\\sap-pi-mcp-server\\get_pi_channel_status.py"]
[mcp_servers.sap-pi-prod.env]
SAP_PI_HOST = "prod-pi-host:50000"
SAP_PI_SCHEME = "https"
SAP_PI_USER = "prod-user"
SAP_PI_PASSWORD = "prod-password"
Restart Codex after changing the MCP config.
Security Notes
- Configure credentials through environment variables or your MCP client's private config only.
- Keep
.env, generated CSV/Markdown exports, logs, and local cache files out of git. - The exposed MCP tools are intended for read-only discovery, monitoring, export, and validation. They do not expose create, change, delete, open-for-edit, or revert operations.
- Use least-privilege SAP PI/PO accounts. Prefer HTTPS SAP endpoints where your PI/PO system supports them.
Run Locally
python get_pi_channel_status.py
The server runs over MCP stdio.
Agent Skill
Consumer guidance for AI agents is available in skills/sap-pi-mcp/SKILL.md. Use it to teach clients how to retrieve ICO Operation Mappings, transformations, and routing conditions safely.
Example Prompts
Use prompts like these with an agent that has this MCP server configured:
Generate an SAP PI/PO interface inventory report with sender, receiver, interface ID, namespace, channels, routing, and Operation Mapping details.
Export the SAP PI/PO Value Mappings for this group as CSV so I can review them for SAP CPI migration.
Review this Message Mapping and explain its source fields, target fields, functions, dependencies, and value-mapping usage.
Describe how this interface works end-to-end, from ICO routing through Operation Mapping, Message Mapping, and communication channels.
Find failed messages for this sender component and interface in the last 4 hours.
Validate this communication channel and summarize any SAP PI/PO check messages.
Tools
The MCP server intentionally exposes read-only discovery and validation tools for PI-to-CPI migration analysis.
get_pi_channel_statussearch_failed_messagessearch_processed_messagessearch_messages_by_sender_componentsearch_messages_by_interfacesearch_messages_by_interface_and_senderget_service_interface_detailsget_integrated_configuration_detailslist_integrated_configurationslist_integrated_configurations_750get_integrated_configuration_750_detailscheck_integrated_configuration_750get_operation_mapping_detailsget_ico_operation_mapping_transformationslist_message_mappingsget_message_mapping_definitionget_message_mapping_sourceget_message_mapping_dependenciesanalyze_message_mappingget_ico_message_mapping_definitionslist_message_mappings_using_value_mappinglist_communication_channelsget_communication_channel_detailscheck_communication_channellist_value_mappingsget_value_mapping_detailsexport_value_mappings_csvcheck_value_mappinglist_configuration_scenariosget_configuration_scenario_detailscheck_configuration_scenario
The server does not expose mutating Directory API operations such as create, change, delete, open-for-edit, or revert.
Message Mapping Definitions
The PI/PO SOAP BASIS APIs do not expose a MessageMappingInService read service. The MCP server reads Message Mapping definitions through ESR SimpleQuery plus the ESR read endpoint linked by SimpleQuery:
/rep/support/SimpleQuery
/rep/read/ext?method=PLAIN&TYPE=XI_TRAFO&...
Use these read-only tools:
list_message_mappingsdiscoversXI_TRAFOobjects and their ESR read paths.get_message_mapping_definitiondecodes anXI_TRAFOobject's embedded metadata/source blobs.get_message_mapping_sourcereturns decoded metadata, generated Java, text, or all source entries.get_message_mapping_dependenciesreturns ESR link dependencies such as source/target messages, function libraries, imported archives, templates, IDocs, RFCs, and external definitions.analyze_message_mappingcombines definition, dependencies, field path extraction, value-mapping usage, function libraries, and imported archives.get_ico_message_mapping_definitionsstarts from an ICO and analyzes all assigned Message Mappings.list_message_mappings_using_value_mappingscans decoded mapping definitions for value-mapping API/function calls.
Export Value Mappings to CSV
The export_value_mappings_csv MCP tool exports SAP PI/PO Value Mappings in a normalized CSV shape with one row per representation.
You can also run the standalone CLI:
python export_value_mappings_csv.py value_mappings.csv
python export_value_mappings_csv.py value_mappings.csv --group-name "Example Codes"
python export_value_mappings_csv.py value_mappings.csv --scheme-id SAP --scheme-agency-id ERP
License
This project is licensed under the MIT License. See LICENSE for details.
History
Other 4
Notes
Initial stable open-source release.
Highlights:
- Read-only SAP PI/PO MCP tools for monitoring and Integration Directory metadata.
- Interface inventory, ICO, communication channel, Operation Mapping, Message Mapping, and Value Mapping discovery.
- Value Mapping CSV export support for SAP Integration Suite / SAP CPI migration work.
- Security documentation and environment-based SAP PI/PO connection configuration.
Others providing
Compare all 28 on the Agent access to your systems page →- mcp-integration-suitemcp-integration-suiteAn experimental Node MCP server covering the general CPI functions of the Integration Suite, which its author recommends running alongside the TPM server for Trading Partner Management.independent, btpMCP server for the general Integration Suite functions
- mcp-is-tpmmcp-is-tpmA Java MCP server for Trading Partner Management in the Integration Suite, where trading partners, their agreements and their B2B configuration live, paired by its author with the general server.independent, btpJava MCP server for Integration Suite Trading Partner Management
- calmcpcalmcpAn MCP server in front of the SAP Cloud ALM APIs: four read tools over tasks, projects, features, documents, tests and analytics, run over stdio locally or Streamable HTTP on Cloud Foundry.independent, btpMCP server with read tools over the SAP Cloud ALM APIs
- CostingGeek/sap-mcpCostingGeek/sap-mcpA Python server that fetches sales orders from SAP's business data graph and hands them to Claude Desktop — the only entry here pointed at that API rather than at one system's own services.independent, btpPython MCP server fetching sales orders from SAP's business data graph
- mcp-sap-focusedrunmcp-sap-focusedrunSAP Focused Run's Landscape Management Database as MCP tools — hosts, systems, databases, cloud tenants, technical instances, ABAP clients, software components and product versions.independent, btpMCP tools over SAP Focused Run's Landscape Management Database
- cloud-alm-itsm-mcpcloud-alm-itsm-mcpQueries installations through SAP Cloud ALM's ITSM API — filtered by system type or customer number, with OAuth token handling and caching done for you.independent, btpMCP server querying installations via the SAP Cloud ALM ITSM API
- hana-mcp-serverhana-mcp-serverSchema discovery and guard-railed SQL against SAP HANA and HANA Cloud, with an optional layer of business metadata so an agent reads a coded column the way the business does.independent, btpMCP server for schema discovery and guarded SQL on SAP HANA
- sap_analytics_cloud_mcpsap_analytics_cloud_mcpThe SAP Analytics Cloud REST API as ninety tools across eleven service areas — content, data import and export, user management, transport, scheduling and translation.independent, btpMCP server for the SAP Analytics Cloud REST API
- mcp-sap-cpimcp-sap-cpiThe runtime half of Cloud Integration: failed messages with their full processing logs and traces, artifact deployment, security material, and a health summary.independent, btpMCP server for Cloud Integration runtime: messages, logs, deployment
- AI Core MCP ServerAI Core MCP ServerAn MCP server that exposes SAP AI Core's APIs as tools, defined entirely in one JSON config file for a proxy, so deployments, configurations and scenarios are managed through an assistant.independent, btpSAP AI Core APIs as MCP tools from one JSON config file
- BTP CF MCP ServerBTP CF MCP ServerThe Cloud Foundry V3 API on SAP BTP as MCP tools — apps, orgs, spaces, services, routes and quotas — declared in one JSON config file and run by odata-mcp-proxy.independent, btpCloud Foundry V3 API on SAP BTP as MCP tools
- BTP MCP ServerBTP MCP ServerBTP Core Services as MCP tools, and the only server in this corner that renders dashboards inside the chat — a subaccount overview with drill-down, a geomap of data-centre locations, consumption and users.independent, btpBTP Core Services as MCP tools with in-chat dashboards
- btp-sap-odata-to-mcp-serverbtp-sap-odata-to-mcp-serverExposes every OData service on an S/4HANA or ECC system as MCP tools, in three discovery levels so a large catalogue does not have to be loaded at once.independent, btpExposes S/4HANA or ECC OData services as MCP tools
- CI MCP ServerCI MCP ServerAn MCP server that exposes SAP Cloud Integration's OData APIs as tools, defined entirely in one JSON config file, so an assistant works integration content, logs and configurations in natural language.independent, btpSAP Cloud Integration OData APIs as MCP tools
- odata-mcp-proxyodata-mcp-proxyA config-driven proxy that turns OData and REST endpoints into MCP tools from a JSON file — no code — and runs on BTP Cloud Foundry against BTP Destinations.independent, btpConfig-driven proxy turning OData and REST endpoints into MCP tools
- sap-bdc-mcp-serversap-bdc-mcp-serverAn MCP server over SAP's BDC Connect SDK that creates, validates, publishes and deletes Databricks Delta shares as data products in SAP Business Data Cloud.independent, btpMCP server managing Delta shares in SAP Business Data Cloud
- @mariodefe/sap-datasphere-mcp@mariodefe/sap-datasphere-mcpForty-five tools across a Datasphere tenant — discovery, metadata, analytics, ETL extraction, database users, lineage and column profiling — with config-driven PII masking applied before anything reaches the model.independent, btpMCP server with forty-five tools across a Datasphere tenant
- midasol/sap-mcp-servermidasol/sap-mcp-serverA Python MCP server for SAP Gateway with four read-only tools that authenticate, query, fetch one entity and list services, and one of the few here that publishes its test results.independent, btpPython MCP server for SAP Gateway OData operations
- odata_mcp_goodata_mcp_goA Go binary that bridges any OData v2 or v4 service to MCP — and can collapse the whole service into one tool when the generated tool list is too large to be usable.independent, btpGo binary bridging any OData v2 or v4 service to MCP
- odata_mcpodata_mcpThe Python original: reads an OData v2 service's metadata and generates MCP tools from it, with the SAP-specific conversions the raw protocol leaves to you.independent, btpPython bridge generating MCP tools from OData v2 metadata
- sap-bdc-mcpsap-bdc-mcpDiscovery and contract tooling for SAP Business Data Cloud — ORD discovery, CSN contract checks and non-executing share planning — behind redaction, policy gates and bounded output.independent, btpMCP tooling for SAP Business Data Cloud discovery and contracts
- mcp-sap-datasphere-servermcp-sap-datasphere-serverThe read-only Datasphere server: explore spaces, list assets, preview rows, profile columns and summarise analytical models — and nothing that changes anything, by design.independent, btpRead-only MCP server for exploring SAP Datasphere
- MCP Server for SAP BTP AdministrationMCP Server for SAP BTP AdministrationSAP-hosted MCP endpoint that exposes BTP account administration — accounts, security, services and connectivity — as tools an AI client discovers and calls on your behalf.sap official, btpSAP-hosted MCP endpoint for BTP account administration
- SAP LeanIX MCP ServerSAP LeanIX MCP ServerHosted MCP endpoint onto an SAP LeanIX instance, exposing selected enterprise-architecture APIs as tools — fact sheets, applications, completeness and custom reports.sap official, btpHosted MCP endpoint onto an SAP LeanIX instance
- SAP-samples/hana-cli-claude-pluginSAP-samples/hana-cli-claude-pluginA Claude Code plugin that registers the MCP server of hana-cli, so Claude Code can work on SAP HANA Cloud and on-premise SAP HANA databases.sap official, btpClaude Code plugin registering hana-cli's MCP server
- SAP-samples/hana-developer-cli-tool-exampleSAP-samples/hana-developer-cli-tool-exampleA developer-centric command line for SAP HANA, built for local development outside SAP tooling and connecting to a local, cloud or remote HANA instance the same way.sap official, btpDeveloper-centric command line for SAP HANA
- cpi-mcp-servercpi-mcp-serverA Go server over Cloud Integration's design-time content — integration packages and integration flows, listed and searched by id, version, name, vendor or mode.independent, btpGo MCP server over Cloud Integration packages and integration flows
Details
Sources
Sources are graph entities: the same page may back several entries, and an unreachable source flags every row that rests on it.
Compatibility and provenance
History in the atlas
- The concern it answers is reaching into an SAP system from outside, split out of MCP servers on this day; the sentence on the edge is unchanged.
- Triaged out of data/crawled/mcp-candidates.json, the sap-ai-mcp-servers sweep. Written from the repository's own README. Filed on the BTP door: the Integration Suite is BTP services, which is the reasoning the door list has carried since it was written.
- First seen.
For your agent
- Ref
artifact:lopezmas-sap-pi-mcp-server- JSON
- /artifacts/lopezmas-sap-pi-mcp-server.json
- MCP
- Connecting an agent