
jumenengels/sap_analytics_cloud_mcp
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
SAP Analytics Cloud 用の MCP (Model Context Protocol) サーバー。 Claude や Cursor などの LLM を SAC に接続し、データエクスポート、コンテンツ管理、スマート クエリーを実現します.
概要
MCP (Model Context Protocol) サーバは、任意の MCP 互換クライアント (カスタムエージェント、Claude デスクトップ、Claude コード、Cursor など) の 90 のツールとして SAP Analytics Cloud REST API を公開しています。 OAuth 2.0 Client Credentials を使用して SAC テナントに対してサーバー認証を行い、CSRF トークンとセッション Cookie を自動的に管理します。 その後、全SAC REST API 表面を、11 のサービス領域にグループ化されたディスクリート MCP ツールとして公開します。 ping接続チェックツール(90合計)とガイドワークフローのサポート - (ネイティブフェッチとHeaders.getSetCookieの必須) - - OAuthクライアントとSAP Analytics Cloudテナント(以下参照)。 1。 SACテナントを開き、行きます。 2. 目的を設定します。 3. 以下の4つの値に注意してください。 - -- https:// .sapanalytics.cloud - -- OAuthクライアントの詳細ページに表示されます - - サーバをローカルでテストする最も簡単な方法は、(上記のmcp setupを実行した後)含まれている.
概要(AI 翻訳)
MCP (Model Context Protocol) サーバは、任意の MCP 互換クライアント (カスタムエージェント、Claude デスクトップ、Claude コード、Cursor など) の 90 のツールとして SAP Analytics Cloud REST API を公開しています。
それが何をするか
OAuth 2.0 Client Credentials を使用して SAC テナントに対してサーバー認証を行い、CSRF トークンとセッション Cookie を自動的に管理します。 その後、全SAC REST API 表面を、11 のサービス領域にグループ化されたディスクリート MCP ツールとして公開します。
| モジュール | ツール | カバー | お問い合わせ | コンテンツ | 10 | ストーリー、リソース、ファイルリポジトリ、リポジトリ、ウィジェットのクエリ | | データエクスポート | 22 | ネームスペース、プロバイダ、サブスクリプション、ファクトデータ、マスターデータ、監査データ、集計、相違点、通貨/単位表、公共寸法 | | データのインポート | 24 | モデル, インポート ジョブのライフサイクル (create/upload/validate/run/status), ワンクリック インポート, 公共の寸法, 通貨の変換, ユニットの変換 | | マルチアクション | 2 | 実行・確認 | | カレンダー | 3 | 新着情報 | カレンダーイベント | | コンテンツ輸送 | 7 | 輸出入業務・パッケージ・許可 | | ユーザーマネジメント | 10 | SCIM v2 ご利用者様、チーム・グループ様、一括操作 |
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。
README
以下は原文 README の抜粋です。原文を見る。
SAP Analytics Cloud MCP Server
An MCP (Model Context Protocol) server that exposes the SAP Analytics Cloud REST API as 90 tools consumable by any MCP-compatible client (Custom Agent, Claude Desktop, Claude Code, Cursor, etc.).
What it does
The server authenticates against an SAC tenant using OAuth 2.0 Client Credentials and manages CSRF tokens and session cookies automatically. It then exposes the full SAC REST API surface as discrete MCP tools grouped into 11 service areas:
| Module | Tools | Covers |
|---|---|---|
| Content | 10 | Stories, Resources, File Repository, Repositories, Widget Query |
| Data Export | 22 | Namespaces, Providers, Subscriptions, FactData, MasterData, AuditData, Aggregation, Difference, Currency/Unit tables, Public Dimensions |
| Data Import | 24 | Models, Import Jobs lifecycle (create/upload/validate/run/status), One-click Import, Public Dimensions, Currency Conversions, Unit Conversions |
| Multi Actions | 2 | Execute and poll status |
| Calendar | 3 | Get, update, copy calendar events |
| Content Transport | 7 | Export/import jobs, packages, permissions |
| User Management | 10 | SCIM v2 Users, Teams/Groups, Bulk operations |
| Monitoring | 2 | Audit activity export, model monitoring |
| Schedule & Publication | 4 | Schedule CRUD |
| Translation | 4 | Artifact metadata, XLIFF download (single + bulk) |
| Smart Query | 1 | Intelligent routing (Relational vs Analytical) |
Plus a ping connectivity check tool (90 total), and Prompt support for guided workflows.
Prerequisites
- Node.js >= 18.0 (required for native
fetchandHeaders.getSetCookie) - npm
- An SAP Analytics Cloud tenant with an OAuth client (see below).
SAC Tenant Setup
- Open your SAC tenant and go to System > Administration > App Integration > Add a New OAuth Client.
- Set the purpose to Interactive Usage and API Access.
- Note down the following four values:
- Base URL –
https://..sapanalytics.cloud - Token URL – shown on the OAuth client detail page
- Client ID
- Client Secret
- Base URL –
Installation & Build
git clone https://github.com/JumenEngels/sap_analytics_cloud_mcp
cd sap_analytics_cloud_mcp
npm install
npm run build
Quick Start: Agent Client
The easiest way to test the server locally (after doing mcp setup above) is using the included Agent Client. It connects to the server and uses an LLM (SAP AI Core, Anthropic, OpenAI, etc.) to interact with your SAC tenant.
1. Setup Configuration
Navigate to the client directory and run the setup script:
cd AgentClient
npm install
npm run setup
This creates mcp_agentclient.json. Open this file and fill in your credentials:
- SAC Credentials: Fill in
sacsection with the values from “SAC Tenant Setup”.
インストール
docker run -e SAC_BASE_URL="..." ... sac-mcp-server