VC

vadimklimov/cpi-mcp-server

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

28 stars 13 forks 质量 77 趋势 4MIT

用于 SAP 云集成的 MCP 服务器

概览

SAP Cloud Integration 的 MCP 服务器为 AI 驱动的应用程序提供访问 SAP Cloud Integration(SAP 集成套件一部分)租户内的集成包和集成工件。 MCP服务器提供以下工具: MCP 服务器可以作为独立二进制安装,也可以运行在 Docker 容器中。 从发布页面下载与你操作系统/架构兼容的二进制文件。 使用go install命令编译并安装MCP服务器: 1. 克隆仓库并进入已创建的目录: 2. 可选地下载依赖(否则,依赖将在下一步构建时自动下载): 3. 使用go build命令编译MCP服务器。

概述(AI 翻译)

SAP Cloud Integration 的 MCP 服务器为 AI 驱动的应用程序提供访问 SAP Cloud Integration(SAP 集成套件一部分)租户内的集成包和集成工件。

工具

MCP服务器提供以下工具:

工具 描述
get_integration_packages 获取所有集成包
search_integration_packages 按 ID、版本、名称、供应商或模式搜索集成包
get_integration_flows 获取所有积分流程
search_integration_flows 按ID、版本或名称进行搜索集成流程
get_value_mappings 获取所有值映射
search_value_mappings 按 ID、版本或名称搜索值映射
get_message_mappings 获取所有消息映射
search_message_mappings 按ID、版本或名称搜索消息映射
get_script_collections 获取所有剧本收藏
search_script_collections 按ID、版本或名称搜索脚本集合
get_integration_runtime_artifacts 获取所有集成运行时的工件

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

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:

Tool Description
get_integration_packages Get all integration packages
search_integration_packages Search integration packages by ID, version, name, vendor or mode
get_integration_flows Get all integration flows
search_integration_flows Search integration flows by ID, version or name
get_value_mappings Get all value mappings
search_value_mappings Search value mappings by ID, version or name
get_message_mappings Get all message mappings
search_message_mappings Search message mappings by ID, version or name
get_script_collections Get all script collections
search_script_collections Search script collections by ID, version or name
get_integration_runtime_artifacts Get all integration runtime artifacts
search_integration_runtime_artifacts Search 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:

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

Option 3: Build from source

  1. Clone the repository and navigate into the created directory:
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):
go mod download
go mod tidy
  1. Use the go build command to compile the MCP server.

Example of basic build:

go build

Example of build with version information:

go build \
在 GitHub 查看完整 README

安装

docker run -i --rm --env-file /Users/demo/.config/mcp/cpi-mcp-server.env vadimklimov/cpi-mcp-server
新手?先看 mcpskill.org 教程 →

配置

{ "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" } } } }