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 39 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 functionsfrom BTP/BAIP
- 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 Managementfrom BTP/BAIP
- @abap2ui5/mcp-server@abap2ui5/mcp-serverAn MCP server that puts the abap2UI5 development loop on the machine an agent runs on: check the view the ABAP builds, photograph it, deploy the class into a sandbox, boot the app headless and read the errors.community org, abapMCP server for the abap2UI5 check, deploy and run loopfrom ABAP
- abap2UI5 for VS Codeabap2UI5 for VS CodeA VS Code extension for abap2UI5 apps: F9 starts the app class in a preview beside the source, Ctrl+F3 activates the class and reloads it, and the abap2UI5 linter runs in the editor while you type.community org, abapVS Code extension to preview, activate and lint abap2UI5 appsfrom ABAP
- SF-MCPSF-MCPSixty-two purpose-built tools over SAP SuccessFactors' OData APIs — employee data, permissions, compliance reports and HR administration, asked for in plain language.independent, successfactorsMCP server with 62 tools over SAP SuccessFactors OData APIsfrom SAP SuccessFactors
- hybris-mcp-litehybris-mcp-liteA read-only MCP server that answers questions about a local SAP Commerce Cloud instance by calling HAC, so types, beans, configuration, cronjobs, logs and FlexibleSearch come back in the editor.independent, commerceRead-only MCP server over a local SAP Commerce Cloud's HACfrom SAP Commerce
- 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 APIsfrom BTP/BAIP
- 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 graphfrom BTP/BAIP
- 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 Databasefrom BTP/BAIP
- abapsmithabapsmithAn MCP server that lets an LLM develop in ABAP on a live system over ADT, with writes off by default and every mutation recorded in a local journal that can undo it.independent, abapABAP MCP server over ADT with a local journal that can undo writesfrom ABAP
- 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 APIfrom BTP/BAIP
- 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 HANAfrom BTP/BAIP
- 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 APIfrom BTP/BAIP
- 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, deploymentfrom BTP/BAIP
- 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 filefrom BTP/BAIP
- 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 toolsfrom BTP/BAIP
- 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 dashboardsfrom BTP/BAIP
- 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 toolsfrom BTP/BAIP
- 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 toolsfrom BTP/BAIP
- 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 toolsfrom BTP/BAIP
- 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 Cloudfrom BTP/BAIP
- @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 tenantfrom BTP/BAIP
- 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 operationsfrom BTP/BAIP
- 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 MCPfrom BTP/BAIP
- 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 metadatafrom BTP/BAIP
- 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 contractsfrom BTP/BAIP
- 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 Dataspherefrom BTP/BAIP
- sap-mcp-serversap-mcp-serverReads SAP ECC and S/4HANA for an agent over Gateway OData and RFC, with a Node bridge that speaks the RFC protocol without the proprietary SAP NetWeaver RFC SDK.independent, abapReads SAP ECC and S/4HANA for an agent over Gateway OData and RFC, with a Node bridge that speaks the RFC protocol without the proprietary SAP NetWeaver RFC SDK.from ABAP
- cap-mcp-bridgecap-mcp-bridgePoints at a running CAP or OData V4 service, reads its $metadata, and turns what it finds into MCP tools — list, describe, query with validated filters, expand, and invoke functions and actions.independent, capMCP server generating tools from a CAP or OData V4 service's metadatafrom CAP
- 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 administrationfrom BTP/BAIP
- 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 instancefrom BTP/BAIP
- 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 serverfrom BTP/BAIP
- 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 HANAfrom BTP/BAIP
- Skybuffer AI MCP serverSkybuffer AI MCP serverAn ABAP add-on that serves SAP business data, transactions and development context as MCP tools from an ICF node inside SAP ECC and S/4HANA, each call running as the signed-in user under PFCG authorization checks.independent, abapABAP add-on serving business data and transactions as MCP toolsfrom ABAP
- sap-security-mcpsap-security-mcpAn entirely read-only security analysis surface: nineteen tools, five resources and eight prompts for audits, SOX and segregation-of-duties review, behind OAuth 2.0 with PKCE. The vendor hosts an endpoint, and the README documents running it yourself.independent, abapRead-only security analysis MCP server for SAP audits and SoD reviewfrom ABAP
- 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 flowsfrom BTP/BAIP
- KlystronKlystronAn MCP server written in ABAP that runs inside the application server behind an ICF service and exposes typed tools for ABAP development, quality, transports, customizing, roles, Basis operations and integration, with a client-side plugin of SAP skills.independent, abapMCP server in ABAP inside the application server, with agent skillsfrom ABAP
- pyrfc-mcppyrfc-mcpAn MCP server for calling an SAP system's RFC-enabled function modules from an agent, built so that discovering a function does not authorise calling it: a read or a write is denied unless the function name matches an allowlist the server is configured with.independent, abapMCP server calling RFC-enabled function modules behind an allowlistfrom ABAP
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