Логотип MCP server for SAP Cloud Integration

MCP server for SAP Cloud Integration

Спільнота
vadimklimov

MCP server for SAP Cloud Integration

Видавецьvadimklimov
Репозиторійcpi-mcp-server
МоваGo
Форки
12
Зірки
26
Доступні інструменти
0
Тип транспортуstdio
Категорії
ЛіцензіяMIT
Посилання
  • Підключайте інструменти до робочих процесів із ШІ

    MCP server for SAP Cloud Integration надає можливості MCP, які можуть використовувати сумісні клієнтські ШІ-застосунки та агенти.

  • Доступні інструменти: 0

    Нижче ви можете переглянути дії, які можна викликати, а також їхні назви й описи, якщо сервер їх надає.

  • Готова конфігурація для копіювання

    Скористайтеся прикладами конфігурації, щоб налаштувати цей сервер у вибраному клієнті MCP.

  • Показники інтересу до проєкту з відкритим кодом

    У пов’язаному репозиторії: зірки — 26, форки — 12.

MCP server for SAP Cloud Integration

The MCP server for SAP Cloud Integration provides AI-powered applications with access to integration packages and integration artifacts within an SAP Cloud Integration (a part of SAP Integration Suite) tenant.

Tools

The MCP server exposes the following tools:

ToolDescription
get_integration_packagesGet all integration packages
search_integration_packagesSearch integration packages by ID, version, name, vendor or mode
get_integration_flowsGet all integration flows
search_integration_flowsSearch integration flows by ID, version or name
get_value_mappingsGet all value mappings
search_value_mappingsSearch value mappings by ID, version or name
get_message_mappingsGet all message mappings
search_message_mappingsSearch message mappings by ID, version or name
get_script_collectionsGet all script collections
search_script_collectionsSearch script collections by ID, version or name
get_integration_runtime_artifactsGet all integration runtime artifacts
search_integration_runtime_artifactsSearch integration runtime artifacts by ID, version, name, type or status

Installation

The MCP server can be installed as a standalone binary or run inside a Docker container.

Standalone binary

Option 1: Download binary

Download a binary compatible with your operating system / architecture from the Releases page.

Option 2: Install from source

Use the go install command to compile and install the MCP server:

bash
go install github.com/vadimklimov/cpi-mcp-server@latest

Option 3: Build from source

  1. Clone the repository and navigate into the created directory:
bash
git clone https://github.com/vadimklimov/cpi-mcp-server.git
cd cpi-mcp-server
  1. Optionally, download dependencies (otherwise, dependencies will be downloaded automatically during the next step, build):
bash
go mod download
go mod tidy
  1. Use the go build command to compile the MCP server.

Example of basic build:

bash
go build

Example of build with version information:

bash
go build \
  -ldflags "-s -w -X github.com/vadimklimov/cpi-mcp-server/internal/appinfo.version=1.2.3" \
  -o cpi-mcp-server \
  .

Alternatively, use GoReleaser to build the MCP server using the provided GoReleaser configuration file.

Docker container

Option 1: Pull Docker image

  1. Use the docker image pull command (or docker pull shorthand) to pull the MCP server image:
bash
docker pull vadimklimov/cpi-mcp-server

Option 2: Build Docker image

  1. Clone the repository and navigate into the created directory:
bash
git clone https://github.com/vadimklimov/cpi-mcp-server.git
cd cpi-mcp-server
  1. Use the docker build command to build the Docker image using the provided Dockerfile.

The following build arguments are supported:

ArgumentDescription
VERSIONMCP server version

Example of basic build:

bash
docker build .

Example of build with version information:

bash
docker build \
  --tag vadimklimov/cpi-mcp-server:1.2.3 \
  --build-arg VERSION=1.2.3 \
  .

Alternatively, use the docker bake command (a part of Docker Buildx) to build the Docker image using the provided Bake definition file.

The Bake definition file includes the following build targets:

TargetDescriptionDefaultMulti-platform buildImage tag
devDevelopment buildyesnodev
snapshotSnapshot buildnoyes{VERSION}-snapshot
releaseRelease buildnoyes{VERSION}, latest

The following Bake variables are supported:

VariableDescriptionDefault valueUsed by target
VERSIONMCP server versiondevdev, snapshot, release
COMMIT_SHABuild revision (commit hash for build)unknownsnapshot, release

[!NOTE] For snapshot and release builds, using Docker Bake is the recommended approach. The Bake definition file provides sensible defaults and adds additional image metadata.

[!WARNING] Before running snapshot or release builds, ensure that multi-platform build support is enabled in the Docker environment.

[!WARNING] The release target automatically pushes the built image to the registry.

Example of basic build (uses the dev target by default):

bash
docker bake

Example of build with version information:

bash
export VERSION=1.2.3
docker bake

or

bash
docker bake \
  --set dev.tags=vadimklimov/cpi-mcp-server:1.2.3 \
  --set dev.args.VERSION=1.2.3

[!TIP] Given that the project is managed with Git, it is recommended to use the current commit hash (an SHA-1 hash) as the build revision.

To retrieve the long (full) form of the current commit hash, run the git rev-parse HEAD command.

To retrieve the short form of the current commit hash, run the git rev-parse --short HEAD command.

[!TIP] Since the project already uses Git tags for MCP server release versioning, it is recommended to use Git tags for build versioning as well.

To retrieve the most recent tag, run the git describe --tags $(git rev-list --tags --max-count=1) command.

Configuration

For the MCP server to function correctly, configuration must be provided in environment variables.

Environment variables

The following environment variables are supported:

Environment variableDescriptionRequiredValid valuesDefault value
MCP_CPI_BASE_URLBase URLyes
MCP_CPI_TOKEN_URLToken URLyes
MCP_CPI_CLIENT_IDClient IDyes
MCP_CPI_CLIENT_SECRETClient secretyes
MCP_CPI_TRANSPORTMCP transportnostdio, httpstdio
MCP_CPI_PORTPort to use for HTTP transportnovalue in range 1024-655358080
MCP_CPI_LOG_LEVELLog levelnonone, error, warn, info, debugnone
MCP_CPI_LOG_FILEPath to log fileno/path/to/log/file.log/var/log/cpi-mcp-server.log
MCP_CPI_MAX_CONCURRENCYMaximum concurrencynoNumber of logical CPUs
MCP_CPI_TIMEOUTTimeout (in seconds)no60

Access to SAP Cloud Integration APIs

The MCP server uses the public APIs of SAP Cloud Integration to retrieve the required information. These APIs are OAuth-protected and support the client credentials flow. This authentication mechanism is employed by the MCP server to authenticate and authorize API calls made to the SAP Cloud Integration tenant.

To enable the MCP server to access the necessary APIs of the SAP Cloud Integration tenant, an OAuth client for it must be created in the SAP Business Technology Platform subaccount where the corresponding subscription for SAP Integration Suite has been created.

In a Cloud Foundry environment, a service instance represents an OAuth client - hence, a service instance and a service key for it must be created.

Step 1: Create a service instance

Create a service instance with the following configuration:

  • Service: SAP Process Integration Runtime
  • Plan: api
  • Grant type: Client Credentials

The following roles are required by the corresponding MCP server tools:

ToolRole
get_integration_packagesWorkspacePackagesRead
search_integration_packagesWorkspacePackagesRead
get_integration_flowsWorkspacePackagesRead
search_integration_flowsWorkspacePackagesRead
get_value_mappingsWorkspacePackagesRead
search_value_mappingsWorkspacePackagesRead
get_message_mappingsWorkspacePackagesRead
search_message_mappingsWorkspacePackagesRead
get_script_collectionsWorkspacePackagesRead
search_script_collectionsWorkspacePackagesRead
get_integration_runtime_artifactsMonitoringDataRead
search_integration_runtime_artifactsMonitoringDataRead

Step 2: Create a service key

Create a service key with the following configuration for the service instance created in the previous step:

  • Key type: ClientId/Secret

OAuth client credentials and endpoints can be found in the oauth section of the service key:

Configuration parameterService key attribute
Base URLurl
Token URLtokenurl
Client IDclientid
Client secretclientsecret

Examples

Minimum configuration (required environment variables only):

env
MCP_CPI_BASE_URL=https://{subdomain}.it-cpi{xxxxx}.cfapps.{region}.hana.ondemand.com/api/v1
MCP_CPI_TOKEN_URL=https://{subdomain}.authentication.{region}.hana.ondemand.com/oauth/token
MCP_CPI_CLIENT_ID=xxxxxxxxxx
MCP_CPI_CLIENT_SECRET=xxxxxxxxxx

Full configuration (all supported environment variables):

env
MCP_CPI_BASE_URL=https://{subdomain}.it-cpi{xxxxx}.cfapps.{region}.hana.ondemand.com/api/v1
MCP_CPI_TOKEN_URL=https://{subdomain}.authentication.{region}.hana.ondemand.com/oauth/token
MCP_CPI_CLIENT_ID=xxxxxxxxxx
MCP_CPI_CLIENT_SECRET=xxxxxxxxxx
MCP_CPI_MAX_CONCURRENCY=3
MCP_CPI_TIMEOUT=120
MCP_CPI_TRANSPORT=http
MCP_CPI_PORT=8080
MCP_CPI_LOG_LEVEL=debug
MCP_CPI_LOG_FILE=/var/log/cpi-mcp-server.log

Agentic tools configuration

Refer to the documentation of the IDE, code editor, AI assistant or other agentic tool you use that supports MCP for configuration details.

Local MCP server

The examples below illustrate the configuration required to add a local MCP server to the Claude Desktop. Refer to the documentation of the agentic tool relevant to your setup to adapt these examples.

Option 1: Standalone binary

Assuming the cpi-mcp-server binary is located in the /Users/demo/go/bin directory, add the following configuration to the claude_desktop_config.json file:

json
{
  "mcpServers": {
    "cpi": {
      "command": "/Users/demo/go/bin/cpi-mcp-server",
      "env": {
        "MCP_CPI_BASE_URL": "https://{subdomain}.it-cpi{xxxxx}.cfapps.{region}.hana.ondemand.com/api/v1",
        "MCP_CPI_TOKEN_URL": "https://{subdomain}.authentication.{region}.hana.ondemand.com/oauth/token",
        "MCP_CPI_CLIENT_ID": "xxxxxxxxxx",
        "MCP_CPI_CLIENT_SECRET": "xxxxxxxxxx"
      }
    }
  }
}

Option 2: Docker container

Assuming the MCP server configuration (see Configuration) is defined in the cpi-mcp-server.env located in the /Users/demo/.config/mcp directory, add the following configuration to the claude_desktop_config.json file:

json
{
  "mcpServers": {
    "cpi": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "--env-file",
        "/Users/demo/.config/mcp/cpi-mcp-server.env",
        "vadimklimov/cpi-mcp-server"
      ]
    }
  }
}

Remote MCP server

The examples below illustrate the configuration required to add a remote MCP server to the Claude Code. Refer to the documentation of the agentic tool relevant to your setup to adapt these examples.

Step 1: Start the MCP server

Option 1: Standalone binary

Assuming the cpi-mcp-server binary is located in the /Users/demo/go/bin directory, use the following command to start the MCP server:

bash
export MCP_CPI_BASE_URL=https://{subdomain}.it-cpi{xxxxx}.cfapps.{region}.hana.ondemand.com/api/v1
export MCP_CPI_TOKEN_URL=https://{subdomain}.authentication.{region}.hana.ondemand.com/oauth/token
export MCP_CPI_CLIENT_ID=xxxxxxxxxx
export MCP_CPI_CLIENT_SECRET=xxxxxxxxxx
export MCP_CPI_TRANSPORT=http
/Users/demo/go/bin/cpi-mcp-server

Option 2: Docker container

Assuming the MCP server configuration (see Configuration) is defined in the cpi-mcp-server.env located in the /Users/demo/.config/mcp directory, use the docker container run command (or docker run shorthand) to start the MCP server:

bash
docker run \
  --detach \
  --name cpi-mcp-server \
  --publish 8080:8080 \
  --env-file /Users/demo/.config/mcp/cpi-mcp-server.env \
  vadimklimov/cpi-mcp-server

[!TIP] When using the HTTP transport in the MCP server, the container listens on port 8080. The -p (--publish) option of the docker run command can be used to publish the container's port 8080 to a different host port (for example, -p 8888:8080).

Step 2: Add a remote MCP server to Claude Code

Option 1: Use Claude Code CLI

Use the claude mcp add command to add the remote MCP server:

bash
claude mcp add --transport http cpi http://localhost:8080/mcp

Option 2: Manually edit configuration file

Add the following configuration to the .mcp.json file:

json
{
  "mcpServers": {
    "cpi": {
      "type": "http",
      "url": "http://localhost:8080/mcp"
    }
  }
}

[!NOTE] When running the MCP server on a remote host, ensure that the host name is set appropriately when adding it to the agentic tool.

[!WARNING] MCP servers operating in remote mode must be configured to use HTTPS (encrypted transport protocol) to ensure secure communication between the client and the server. Use of HTTP is strongly discouraged, as it does not provide transport-level security.

[!WARNING] The current implementation of the MCP server does not provide authorization capabilities. When operating the server in remote mode, appropriate access restriction mechanisms must be implemented to prevent unauthorized access to the server.

Встановлення

TypingMind
Передумови:

Node.js 18+

{
  "mcpServers": {
    "vadimklimov-cpi-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "cpi-mcp-server"
      ]
    }
  }
}

Використовуйте MCP MCP server for SAP Cloud Integration з різними моделями ШІ

TypingMind підключає інструменти MCP на рівні робочого простору, тож після підключення MCP server for SAP Cloud Integration ви можете використовувати це підключення з різними моделями ШІ в TypingMind, не налаштовуючи його окремо для кожної моделі. Ця інтеграція MCP працює локально через конектор MCP TypingMind на вашому пристрої.

Інструкція з налаштування локального конектора

Виберіть цей варіант, якщо серверу MCP потрібен доступ до локальних файлів, програм або приватних ресурсів на вашому комп’ютері.

1

Відкрийте налаштування MCP

У TypingMind перейдіть до розділу «Налаштування», відкрийте «Розширені налаштування», потім «Протокол контексту моделі» й виберіть «Налаштувати конектор».

  1. Відкрийте TypingMind у браузері.
  2. Натисніть значок налаштувань.
  3. Перейдіть до розділу «Розширені налаштування».
  4. Відкрийте розділ «Протокол контексту моделі».
  5. Натисніть «Налаштувати конектор» і виберіть «Цей пристрій».
Екран налаштування конектора MCP у TypingMind з вибраним варіантом «Цей пристрій»
2

Виконайте команду конектора

Виберіть «Цей пристрій», скопіюйте команду з TypingMind і виконайте її в терміналі. Не зупиняйте процес, поки користуєтеся MCP.

  1. Скопіюйте команду налаштування, показану в TypingMind.
  2. Відкрийте «Термінал» у macOS або Windows Terminal у Windows.
  3. Вставте й виконайте команду.
  4. Підтвердьте встановлення пакета, якщо в терміналі з’явиться запит на підтвердження.
  5. Не закривайте вікно термінала й не зупиняйте процес, поки користуєтеся інструментами MCP.
3

Додайте MCP server for SAP Cloud Integration як сервер

Коли статус конектора зміниться на «Готово», натисніть «Редагувати сервери» та вставте конфігурацію сервера MCP.

  1. Зачекайте, доки статус конектора зміниться на «Готово».
  2. Натисніть «Редагувати сервери».
  3. Вставте конфігурацію сервера MCP MCP server for SAP Cloud Integration.
  4. Збережіть список серверів.
  5. Якщо хочете переконатися, що конектор досі готовий до роботи, оновіть дані.
Налаштування MCP у TypingMind з активним сервером і кнопкою «Редагувати сервери»
{
  "mcpServers": {
    "vadimklimov-cpi-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "cpi-mcp-server"
      ]
    }
  }
}
4

Використовуйте підключення з різними моделями

Збережіть список серверів, відкрийте «Плагіни», увімкніть інструменти MCP для MCP server for SAP Cloud Integration, а потім виберіть будь-яку підтримувану модель ШІ в TypingMind і використовуйте інструменти в чаті або призначте їх агенту ШІ.

  1. Відкрийте сторінку «Плагіни» в TypingMind.
  2. Увімкніть інструменти MCP для MCP server for SAP Cloud Integration.
  3. Почніть чат і виберіть модель ШІ, яку хочете використовувати.
  4. Використовуйте інструменти MCP у чаті або призначте їх агенту ШІ.
  5. За потреби перемикайтеся на іншу модель ШІ без повторного підключення MCP.
Чат TypingMind із використанням увімкнених інструментів MCP і вибраної моделі ШІ
Допоможете з цим завданням через MCP server for SAP Cloud Integration?
MCP server for SAP Cloud Integration
Звісно. Я це прочитав.
Ось що я знайшов за допомогою MCP server for SAP Cloud Integration.

Поширені запитання

Для чого використовується сервер MCP MCP server for SAP Cloud Integration?

MCP server for SAP Cloud Integration — це сервер MCP, який дає змогу сумісним клієнтам ШІ отримувати доступ до зовнішніх інструментів і контексту. У TypingMind ви можете додати цей сервер MCP один раз і зробити його інструменти доступними у своєму робочому просторі ШІ.

Чи можу я використовувати сервер MCP MCP server for SAP Cloud Integration з кількома моделями ШІ в TypingMind?

Так. TypingMind підключає інструменти MCP на рівні робочого простору, тому ви можете використовувати MCP server for SAP Cloud Integration з різними моделями ШІ, як-от Claude, ChatGPT, Gemini або іншими моделями, які ви налаштували в TypingMind, без окремого налаштування сервера MCP для кожної моделі.

Навіщо використовувати сервер MCP MCP server for SAP Cloud Integration із TypingMind?

TypingMind — один із найкращих інтерфейсів для чату з великими мовними моделями, адже він об’єднує різні моделі ШІ, промпти, плагіни, агентів ШІ, ключі API та інструменти MCP в одному робочому просторі. Підключивши MCP server for SAP Cloud Integration, ви зможете використовувати його інструменти MCP з вибраними моделями та впорядковано працювати з чатами в TypingMind.

Як підключити сервер MCP MCP server for SAP Cloud Integration до TypingMind?

MCP server for SAP Cloud Integration працює через локальний конектор MCP TypingMind. Це найкращий варіант, коли серверу MCP потрібен доступ до локальних файлів, настільних застосунків, інструментів командного рядка або приватних ресурсів на вашому комп’ютері.

Які інструменти надає сервер MCP MCP server for SAP Cloud Integration у TypingMind?

MCP server for SAP Cloud Integration надає можливості MCP, які можна ввімкнути на сторінці «Плагіни» в TypingMind і використовувати в чаті або призначати агентам ШІ.

Чи потрібно ділитися своїми ключами API з TypingMind, щоб використовувати сервер MCP MCP server for SAP Cloud Integration?

Ні. TypingMind орієнтований насамперед на локальну роботу й дає вам змогу самостійно обирати постачальників моделей і керувати ключами API, промптами та конфігурацією MCP. Якщо MCP server for SAP Cloud Integration потребує автентифікації, під час створення підключення додайте потрібні заголовки, налаштування OAuth або локальну конфігурацію для цього сервера MCP.

Схожі сервери MCP

Усі

Створіть власний робочий простір зі ШІ вже зараз

Підпишіться на нашу розсилку, щоб дізнаватися про нові функції та майбутні розіграші 👇