Skip to main content
Glama

HANA Cloud MCP Server

by HatriGt

HANA 云 MCP 服务器

用于 SAP HANA Cloud DB 与 Cursor IDE 集成的模型上下文协议 (MCP) 服务器实现。

概述

该服务器实现了模型上下文协议 (MCP) 模式,用于通过 SAP HANA Cloud 进行机器学习操作。MCP 服务器提供了一个标准化接口,用于管理机器学习模型、执行上下文以及应用程序与 HANA Cloud 数据库之间的通信协议。

主要特点:

  • 模型注册表:模型元数据和版本控制的中央存储库
  • 上下文管理:为模型配置执行环境
  • 协议适配器:模型和应用程序之间的标准化通信
  • HANA 云集成:针对 SAP HANA 云数据库进行了优化
  • Cursor IDE 支持:与 Cursor IDE 无缝集成

建筑学

MCP 服务器采用三层架构构建:

  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 云数据库和 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