Skip to main content
Glama

HANA Cloud MCP Server

by HatriGt

HANAクラウドMCPサーバー

Cursor IDE と SAP HANA Cloud DB を統合するためのモデル コンテキスト プロトコル (MCP) サーバー実装。

概要

このサーバーは、SAP HANA Cloud における機械学習運用のためのモデルコンテキストプロトコル (MCP) パターンを実装しています。MCP サーバーは、機械学習モデル、実行コンテキスト、アプリケーションと HANA Cloud データベース間の通信プロトコルを管理するための標準化されたインターフェースを提供します。

主な機能:

  • モデルレジストリ: モデルメタデータとバージョン管理の中央リポジトリ
  • コンテキスト管理: モデルの実行環境を構成する
  • プロトコルアダプタ: モデルとアプリケーション間の標準化された通信
  • HANAクラウド統合:SAP HANAクラウドデータベース向けに最適化
  • カーソル IDE サポート: カーソル IDE とのシームレスな統合

建築

MCP サーバーは 3 層アーキテクチャに基づいて構築されています。

  1. モデルレイヤー: モデルの定義、バージョン、メタデータを管理します
  2. コンテキスト層: 実行環境とランタイムパラメータを構成する
  3. プロトコル層: アプリケーションとモデル間の通信を処理する
┌───────────────────────────────────────────────────────┐ │ CLIENT APPLICATIONS │ └───────────────────────────▲───────────────────────────┘ │ │ REST API │ ┌───────────────────────────▼───────────────────────────┐ │ MCP SERVER │ │ │ │ ┌─────────────┐ ┌─────────────┐ ┌─────────────┐ │ │ │ MODEL API │ │ CONTEXT API │ │PROTOCOL API │ │ │ └──────┬──────┘ └──────┬──────┘ └──────┬──────┘ │ │ │ │ │ │ │ ┌──────▼──────┐ ┌──────▼──────┐ ┌──────▼──────┐ │ │ │ MODEL │ │ CONTEXT │ │ PROTOCOL │ │ │ │ MANAGER │ │ MANAGER │ │ MANAGER │ │ │ └──────┬──────┘ └──────┬──────┘ └──────┬──────┘ │ │ │ │ │ │ └─────────┼──────────────────┼──────────────────┼────────┘ │ │ │ ┌─────────▼──────────────────▼──────────────────▼────────┐ │ HANA CLOUD DB │ └───────────────────────────────────────────────────────┘

前提条件

  • Python 3.8以上
  • SAP HANAクラウドデータベース
  • フラスコ
  • HDBCLI (Python 用 SAP HANA クライアント)
  • パンダ

インストール

  1. リポジトリをクローンします。
    git clone https://github.com/yourusername/hana-mcp-server.git cd hana-mcp-server
  2. 仮想環境を作成し、依存関係をインストールします。
    python -m venv venv source venv/bin/activate # On Windows: venv\Scripts\activate pip install -r requirements.txt
  3. セットアップ スクリプトを実行します。
    python setup.py
    指示に従って、HANA Cloud 接続とサーバー設定を構成します。

構成

サーバーは設定に環境変数を使用します。これらは.envファイルで設定できます。

# HANA Cloud Connection HANA_HOST=your-hana-host.hanacloud.ondemand.com HANA_PORT=443 HANA_USER=DBADMIN HANA_PASSWORD=
-
security - not tested
F
license - not found
-
quality - not tested

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

モデル コンテキスト プロトコルを介して SAP HANA Cloud Database と Cursor IDE 間の統合を可能にし、ML モデルと実行コンテキストを管理するための標準化されたインターフェイスを提供します。

  1. 概要
    1. 建築
      1. 前提条件
        1. インストール
          1. 構成

            Related MCP Servers

            • A
              security
              A
              license
              A
              quality
              A simple template for creating custom tools for Cursor IDE using Model Context Protocol, deployable via Heroku, Docker, or directly within Cursor IDE.
              Last updated -
              2
              Python
              MIT License
            • A
              security
              A
              license
              A
              quality
              A template for creating custom tools for Cursor IDE using Model Context Protocol that allows users to deploy their own MCP server to Heroku and connect it to Cursor IDE.
              Last updated -
              2
              1
              Python
              MIT License
              • Linux
              • Apple
            • A
              security
              A
              license
              A
              quality
              A template for creating custom tools for Cursor IDE using Model Context Protocol (MCP), allowing developers to extend Cursor's functionality with their own server-based tools.
              Last updated -
              11
              2
              Python
              MIT License
              • Apple
              • Linux

            View all related MCP servers

            MCP directory API

            We provide all the information about MCP servers via our MCP API.

            curl -X GET 'https://glama.ai/api/mcp/v1/servers/HatriGt/hana-mcp-server'

            If you have feedback or need assistance with the MCP directory API, please join our Discord server