Cover image
Try Now
2025-03-08

镜像://github.com/hatrigt/hana-mcp-server

3 years

Works with Finder

0

Github Watches

1

Github Forks

0

Github Stars

HANA Cloud MCP Server

A Model Context Protocol (MCP) server implementation for SAP HANA Cloud DB integration with Cursor IDE.

Overview

This server implements the Model Context Protocol (MCP) pattern for machine learning operations with SAP HANA Cloud. The MCP server provides a standardized interface for managing ML models, execution contexts, and communication protocols between applications and the HANA Cloud database.

Key features:

  • Model Registry: Central repository for model metadata and versioning
  • Context Management: Configure execution environments for models
  • Protocol Adapters: Standardized communication between models and applications
  • HANA Cloud Integration: Optimized for SAP HANA Cloud Database
  • Cursor IDE Support: Seamless integration with Cursor IDE

Architecture

The MCP server is built on a three-layer architecture:

  1. Model Layer: Manages model definitions, versions, and metadata
  2. Context Layer: Configures execution environments and runtime parameters
  3. Protocol Layer: Handles communication between applications and models
┌───────────────────────────────────────────────────────┐
│                   CLIENT APPLICATIONS                  │
└───────────────────────────▲───────────────────────────┘
                            │
                            │ REST API
                            │
┌───────────────────────────▼───────────────────────────┐
│                       MCP SERVER                       │
│                                                       │
│  ┌─────────────┐    ┌─────────────┐    ┌─────────────┐ │
│  │  MODEL API  │    │ CONTEXT API │    │PROTOCOL API │ │
│  └──────┬──────┘    └──────┬──────┘    └──────┬──────┘ │
│         │                  │                  │        │
│  ┌──────▼──────┐    ┌──────▼──────┐    ┌──────▼──────┐ │
│  │    MODEL    │    │   CONTEXT   │    │  PROTOCOL   │ │
│  │   MANAGER   │    │   MANAGER   │    │   MANAGER   │ │
│  └──────┬──────┘    └──────┬──────┘    └──────┬──────┘ │
│         │                  │                  │        │
└─────────┼──────────────────┼──────────────────┼────────┘
          │                  │                  │
┌─────────▼──────────────────▼──────────────────▼────────┐
│                     HANA CLOUD DB                       │
└───────────────────────────────────────────────────────┘

Prerequisites

  • Python 3.8+
  • SAP HANA Cloud Database
  • Flask
  • HDBCLI (SAP HANA Client for Python)
  • Pandas

Installation

  1. Clone the repository:

    git clone https://github.com/yourusername/hana-mcp-server.git
    cd hana-mcp-server
    
  2. Create a virtual environment and install dependencies:

    python -m venv venv
    source venv/bin/activate  # On Windows: venv\Scripts\activate
    pip install -r requirements.txt
    
  3. Run the setup script:

    python setup.py
    

    Follow the prompts to configure your HANA Cloud connection and server settings.

Configuration

The server uses environment variables for configuration. These can be set in a .env file:

# HANA Cloud Connection
HANA_HOST=your-hana-host.hanacloud.ondemand.com
HANA_PORT=443
HANA_USER=DBADMIN
HANA_PASSWORD=

相关推荐

  • NiKole Maxwell
  • I craft unique cereal names, stories, and ridiculously cute Cereal Baby images.

  • Bora Yalcin
  • Evaluator for marketplace product descriptions, checks for relevancy and keyword stuffing.

  • Joshua Armstrong
  • Confidential guide on numerology and astrology, based of GG33 Public information

  • https://suefel.com
  • Latest advice and best practices for custom GPT development.

  • Alexandru Strujac
  • Efficient thumbnail creator for YouTube videos

  • Emmet Halm
  • Converts Figma frames into front-end code for various mobile frameworks.

  • Elijah Ng Shi Yi
  • Advanced software engineer GPT that excels through nailing the basics.

  • Beniyam Berhanu
  • Therapist adept at identifying core issues and offering practical advice with images.

  • https://maiplestudio.com
  • Find Exhibitors, Speakers and more

  • Lists Tailwind CSS classes in monospaced font

  • lumpenspace
  • Take an adjectivised noun, and create images making it progressively more adjective!

  • apappascs
  • 发现市场上最全面,最新的MCP服务器集合。该存储库充当集中式枢纽,提供了广泛的开源和专有MCP服务器目录,并提供功能,文档链接和贡献者。

  • ShrimpingIt
  • MCP系列GPIO Expander的基于Micropython I2C的操作,源自ADAFRUIT_MCP230XX

  • huahuayu
  • 统一的API网关,用于将多个Etherscan样区块链Explorer API与对AI助手的模型上下文协议(MCP)支持。

  • deemkeen
  • 用电源组合控制您的MBOT2:MQTT+MCP+LLM

  • jae-jae
  • MCP服务器使用剧作《无头浏览器》获取网页内容。

    Reviews

    5 (1)
    Avatar
    user_QhjWXUw0
    2025-04-16

    As a devoted user of the HatriGt_hana-mcp-server developed by MCP-Mirror, I can confidently say this product has exceeded my expectations. The seamless integration and performance boost are remarkable. The GitHub page provides clear installation instructions and regular updates. Truly a game-changer for MCP applications! Check it out [here](https://github.com/MCP-Mirror/HatriGt_hana-mcp-server).