HANA Cloud MCP Server

by MCP-Mirror

315 downloads
Not rated
GitHub

About

The HANA Cloud MCP Server is a Model Context Protocol (MCP) server implementation for SAP HANA Cloud database integration. It provides a standardized interface for managing machine learning models, execution contexts, and communication protocols, and is designed for use with…

Details

Author
MCP-Mirror
Downloads
315
Categories
Other, Cloud Service, AI

- Model Registry for model metadata and versioning
- Context Management for execution environment configuration
- Protocol Adapters for standardized model-application communication
- Optimized integration with SAP HANA Cloud Database
- Seamless integration with Cursor IDE

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name HANA Cloud MCP Server
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

Install prerequisites (Python 3.8+, SAP HANA Cloud Database, Flask, HDBCLI, Pandas), then clone the repository, create a virtual environment, install dependencies with pip install -r requirements.txt, and run python setup.py to configure the connection. Configure connection details via environment variables in a .env file (HANA_HOST, HANA_PORT, HANA_USER, HANA_PASSWORD) and start the server.

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "hana cloud mcp server": {
            "HatriGt_hana-mcp-server": {
                "command": "python",
                "args": [
                    "-m",
                    "venv",
                    "venv"
                ]
            }
        }
    }
}

McpServers

{
    "HatriGt_hana-mcp-server": {
        "command": "python",
        "args": [
            "-m",
            "venv",
            "venv"
        ]
    }
}

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:

```

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.