MS

mariodefelipe/sap-datasphere-mcp

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

51 stars 17 forks 品質 86 トレンド 14MIT

mariodefelipe/sap-datasphere-mcp は [https://github.com/mariodefelipe/sap-datasphere-mcp.] からインポートされた MCP サーバーの候補です

概要

mariodefelipe/sap-datasphere-mcp は [https://github.com/mariodefelipe/sap-datasphere-mcp.] からインポートされた MCP サーバーの候補です

概要(AI 翻訳)

AIアシスタントがSAP Datasphere環境とシームレスにやりとりし、実際のテナントデータ検出、メタデータ抽出、分析操作、ETLデータ抽出、データベースユーザー管理、データライン解析、およびカラムレベルのデータプロファイリングをシームレスに活用できる、生産性向上型モデルコンテキストプロトコル(MCP)サーバー(MCP)サーバー。 組み込みのコンフィギュレーション型PIIマスキングにより、LLMが到達しません。

どのバージョンをインストールしますか?

| パッケージ | MCP Python SDK | ステータス | お問い合わせ |2.x** (current) | mcp>=2.0, =1.28, =2.0, ] の要素ではなく、レガシー[sap:*の属性。 メタデータ ツールは、フォームを両方読み、以前空 [label]、[dimensions]]、get_relational_metadata]/[get_analytical_metadata]/ [[get_analytical_model]]]]]]) に読みます。 V2属性パスは、古いソースのフォールバックとして保持されます。 [CHANGELOG_v1.5.0.mdを参照してください。

v1.4.0 の新機能

🔏 Config-driven PII / Sensitive-Field Masking — MCP 応答パイプライン内でフェイルクローズドマスクレイヤーが実行されます。 センシティブカラムは赤字化、下落、ハッシュ化、またはトークン化されます。ただし、管理する YAML/JSON ポリシーファイルに基づいて、LLM* に到達することになります。 プロンプトはそれをバイパスできません.

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。

🚀 SAP Datasphere MCP Server

Production-ready Model Context Protocol (MCP) server that enables AI assistants to seamlessly interact with SAP Datasphere environments for real tenant data discovery, metadata exploration, analytics operations, ETL data extraction, database user management, data lineage analysis, and column-level data profiling — with built-in config-driven PII masking so sensitive fields never reach the LLM.

📦 Which version do I install?

Package MCP Python SDK Status
2.x (current) mcp>=2.0,<3 Active development. Implements the 2026-07-28 stateless spec.
1.x mcp>=1.28,<2 Maintenance only — security and critical fixes.

pip install sap-datasphere-mcp gives you 2.x. The 2.x server is dual-era: it answers both the modern server/discover handshake and the legacy initialize one, so 2025-era clients keep working without changes.

Stay on 1.x only if your environment cannot install SDK 2.x:

pip install 'sap-datasphere-mcp<2'

🆕 What’s New (v2.0.1 — MCP SDK v2 / stateless spec)

  • Ported to MCP Python SDK 2.0.0 and the 2026-07-28 stateless specification. Handlers moved from the removed decorator API to Server(on_*=…) constructor kwargs. The dependency floor is now mcp>=2.0,<3 — this is why the package major changed.
  • Dual-era by default — modern and legacy clients are both served from the same process; no configuration needed.
  • Response cache hints (ttlMs / cacheScope, SEP-2549) on tools/list, prompts/list and resources/list, sourced from CacheManager so the protocol hint and the internal cache cannot drift. Hints are sent to modern clients only, as the spec requires. tools/list is deterministically ordered.
  • Per-asset capability discovery — Datasphere capability varies per asset, not per tenant. $count is now decided by reading the asset’s own Capabilities.CountRestrictions annotation rather than a blanket rule, and a lineage-gated filter verdict is remembered per asset instead of being rediscovered on every call.
GitHub で README 全文を見る

インストール

npx @mariodefe/sap-datasphere-mcp
MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

{ "mcpServers": { "sap-datasphere": { "command": "npx", "args": ["@mariodefe/sap-datasphere-mcp"], "env": { "DATASPHERE_BASE_URL": "https://your-tenant.eu20.hcs.cloud.sap", "DATASPHERE_CLIENT_ID": "your-client-id", "DATASPHERE_CLIENT_SECRET": "your-client-secret", "DATASPHERE_TOKEN_URL": "https://your-tenant.authentication.eu20.hana.ondemand.com/oauth/token" } } } }