mcpField
M
Mcp Sap Trading Partner Management

Mcp Sap Trading Partner Management

Local
github.com/1nbucFinance3Updated 69w ago

About Mcp Sap Trading Partner Management

An experimental MCP server for SAP Integration Suite Trading Partner Management. It is intended for managing trading partners, agreements, message and mapping guidelines, and monitoring integration messages.

Key features

  1. 01Manage trading partners and systems
  2. 02Create and update B2B agreements
  3. 03Manage MIGs and mapping guidelines
  4. 04Test mappings with messages
  5. 05Search interchanges and inspect payloads
  6. 06Retrieve type-system and business metadata

Use cases

  1. 01Create partner systems and communication channels
  2. 02Draft or update B2B agreements
  3. 03Review and adjust MIG fields
  4. 04Investigate interchange errors and payloads

MCP support

Exposes SAP Integration Suite Trading Partner Management operations as MCP tools, including partner, agreement, MIG, MAG, and monitoring functions. The README marks the server as experimental.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

No install method listed yet

We haven’t collected a package or remote endpoint for this server. Follow the instructions in the project README.

Repository

Tools

No tool list yet

Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.

Details

From the project README

DISCLAIMER: This server is still experimental. Use at your own risk!

MCP Trading Partner Management

A ModelContextProtocol (MCP) Server for SAP Integration Suite Trading Partner Management I highly recommend using this Server along with https://github.com/1nbuc/mcp-integration-suite which provides tools for general CPI Functions

Requirements

Java and Gradle (Java > 17, Gradle > 8)

Installation

git clone https://github.com/1nbuc/mcp-is-tpm.git
cd mcp-is-tpm
./gradlew build

Add this to your AI Clients MCP Config. This code snippets shows how to use it together with the MCP Integration suite server, which is optional.

If your S or P user is associated with a Universal ID, you have to provide details as below. Please also use your Universal ID Password.

If you have a standalone S-User, delete the CPI_UNIVERSAL_MAIL variable

{
  "mcpServers": {
    "mcp-is": {
      "command": "node",
      "args": [
        "<project path of mcp-integration-suite>/dist/index.js"
      ],
      "autoApprove": []
    },
    "mcp-is-tpm": {
      "command": "java",
      "args": [
        "-Dlogging.pattern.console=", 
        "-Dspring.main.web-application-type=none",
        "-Dspring.ai.mcp.server.stdio=true",
        "-jar",
        "<project path of mcp-is-tpm>/app/build/libs/app-0.0.1-SNAPSHOT.jar"
      ],
      "autoApprove": [],
      "env": {
        "CPI_URL": "https://https://your.cpi.url.hana.ondemand.com",
        "CPI_USER": "S001234567",
        "CPI_PASSWORD": "myPass123",
        "CPI_UNIVERSAL_MAIL": "[email protected]"
      }
    }
  }
}

Custom prompt

I highly recommend starting each chat with a custom prompt. You can find a recommended custom prompt here

Available Tools

  • get-partner-metadata: Get metadata for all trading partners.
  • get-partner: Get partner details by partner id.
  • create-trading-partner: Create a new trading partner.
  • get-systems-of-partner: Returns all systems of a trading partner by its ID.
  • create-system: Create a system for a trading partner.
  • get-system-types: Get available system types.
  • create-identifier: Create a partner Identifier.
  • get-qualifiers-codelist: Get codelist of a qualifier.
  • create-communication: Create a communication channel for a system of a trading partner.
  • get-sender-adapters: Get all sender adapters of trading partner systems.
  • get-receiver-adapters: Get all receiver adapters of trading partner systems.
  • create-signature-verify-config: Create Signature Verification configuration for a partner.
  • activate-signature-verify-config: Activate Signature Verification configuration for a partner.
  • get-all-company-profile-metadata: Get metadata for all company profiles.
Agreement Management
  • get-all-agreement-metadata: Get metadata for all agreements.
  • get-all-agreement-template-metadata: Get metadata for all agreement templates.
  • get-agreement-template: Get all details for an agreement template.
  • create-agreement-with-bound-template: Create a new B2B agreement which is bound to a template.
  • get-agreement-b2b-scenario: Get the technical B2B scenario of an agreement.
  • update-b2b-scenario: Update an Agreement's B2B Scenario.
  • trigger-agreement-activate-or-update-deployment: Update or deploy an agreement.
Message Implementation Guideline (MIG) Management
  • get-all-mig-latest-metadata: Get the latest metadata for all Message Implementation Guidelines (MIGs).
  • get-mig-raw-by-id: Get raw MIG content by its version ID.
  • get-mig-nodes-xpath: Get the Nodes of a MIG for a specified XPath.
  • get-all-mig-fields: Get a List of all fields of a MIG.
  • get-mig-documentation-entry: Get the documentation text for a id of a documentation within a mig.
  • get-mig-proposal: Get Proposal for a MIG.
  • apply-mig-proposal: Select fields based on MIG proposal.
  • create-mig-draft-all-segments-selected: Creates a draft MIG from a source version, with all segments and fields pre-selected.
  • create-mig: Create Message implementation guideline based on a type.
  • change-mig-field-selection: Change the selection of MIG fields.
Mapping Guideline (MAG) Management
  • get-all-mags-metadata: Get an overview of available Mapping guidelines.
  • create-mapping-guidelines: Create a new mapping guidelines.
  • test-mag-with-message: Send a message against a mapping guideline and get the result.
Monitoring
  • search-interchanges: Search for interchanges/TPM message monitoring based on filter criteria.
  • get-interchange-payloads: Get payload data list for a specific interchange.
  • download-interchange-payload: Download a specific payload by its ID.
  • get-interchange-last-error: Get last error details for a specific message/business document.
Other
  • get-type-systems: Get available type systems.
  • get-type-system-messages: Get messages of a type system.
  • get-type-system-message-full: Get a message from a type system with all details including versions and revisions.
  • create-custom-message: Create a custom message in typesystem Customer_TS based on XSD.
  • get-type-system-identifier-schemes: Get the possible scheme for identifiers in a type system.
  • get-all-business-process-roles: Get all business process roles.
  • get-all-business-processes: Get all business processes.
  • get-all-industry-classifications: Get all industry classifications.
  • get-all-product-classifications: Get all product classifications.
  • get-all-products: Get all available products/types for a system e.g. SAP SuccessFactors etc.
  • get-all-contries-or-regions: Get all countries or regions.

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.