Skip to main content
Glama

Hologres MCP Server

Official
by aliyun

홀로그레스 MCP 서버

Hologres MCP 서버는 AI 에이전트와 Hologres 데이터베이스 간의 범용 인터페이스 역할을 합니다. AI 에이전트와 Hologres 간의 원활한 통신을 지원하여 AI 에이전트가 Hologres 데이터베이스 메타데이터를 검색하고 SQL 작업을 실행할 수 있도록 지원합니다.

구성

모드 1: 로컬 파일 사용

다운로드

Github에서 다운로드

지엑스피1

MCP 통합

MCP 클라이언트 구성 파일에 다음 구성을 추가합니다.

"mcpServers": { "hologres-mcp-server": { "command": "uv", "args": [ "--directory", "/path/to/alibabacloud-hologres-mcp-server", "run", "hologres-mcp-server" ], "env": { "HOLOGRES_HOST": "host", "HOLOGRES_PORT": "port", "HOLOGRES_USER": "access_id", "HOLOGRES_PASSWORD": "access_key", "HOLOGRES_DATABASE": "database" } } }

모드 2: PIP 모드 사용

설치

다음 패키지를 사용하여 MCP 서버를 설치하세요.

pip install hologres-mcp-server
MCP 통합

MCP 클라이언트 구성 파일에 다음 구성을 추가합니다.

"mcpServers": { "hologres-mcp-server": { "command": "uv", "args": [ "run", "--with", "hologres-mcp-server", "hologres-mcp-server" ], "env": { "HOLOGRES_HOST": "host", "HOLOGRES_PORT": "port", "HOLOGRES_USER": "access_id", "HOLOGRES_PASSWORD": "access_key", "HOLOGRES_DATABASE": "database" } } }

구성 요소

도구

  • execute_select_sql : Hologres 서버에서 SELECT SQL 쿼리를 실행합니다.
  • execute_dml_sql : Hologres 서버에서 DML(INSERT, UPDATE, DELETE) SQL 쿼리를 실행합니다.
  • execute_ddl_sql : Hologres 서버에서 DDL(CREATE, ALTER, DROP) SQL 쿼리를 실행합니다.
  • gather_table_statistics : 테이블 통계 수집
  • get_query_plan : 쿼리 계획 가져오기
  • get_execution_plan : 실행 계획을 가져옵니다

자원

내장 리소스
  • hologres:///schemas : 데이터베이스의 모든 스키마를 가져옵니다.
리소스 템플릿
  • hologres:///{schema}/tables : 스키마의 모든 테이블을 나열합니다.
  • hologres:///{schema}/{table}/partitions : 파티션된 테이블의 모든 파티션을 나열합니다.
  • hologres:///{schema}/{table}/ddl : 테이블 DDL 가져오기
  • hologres:///{schema}/{table}/statistic : 수집된 테이블 통계 표시
  • system:///{+system_path} : 시스템 경로는 다음과 같습니다.
    • missing_stats_tables - 통계가 누락된 테이블을 보여줍니다.
    • stat_activity - 현재 실행 중인 쿼리에 대한 정보를 보여줍니다.
    • query_log/latest/<row_limits> - 지정된 행 수를 포함하는 최근 쿼리 로그 기록을 가져옵니다.
    • query_log/user/<user_name>/<row_limits> - 행 제한이 있는 특정 사용자에 대한 쿼리 로그 기록을 가져옵니다.
    • query_log/application/<application_name>/<row_limits> - 행 제한이 있는 특정 애플리케이션에 대한 쿼리 로그 기록을 가져옵니다.
    • query_log/failed/<간격>/<행_한도> - 지정된 간격과 행 수를 포함하여 실패한 쿼리 로그 기록을 가져옵니다.

프롬프트

지금은 없음

Install Server
A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

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.

AI 에이전트가 Hologres 데이터베이스와 통신하여 데이터베이스 메타데이터를 검색하고 SQL 작업을 실행할 수 있도록 하는 범용 인터페이스입니다.

  1. 구성
    1. 모드 1: 로컬 파일 사용
    2. 모드 2: PIP 모드 사용
  2. 구성 요소
    1. 도구
    2. 자원
    3. 프롬프트

Related MCP Servers

  • -
    security
    F
    license
    -
    quality
    A server that allows AI models to interact with PostgreSQL databases through a standardized protocol, providing database schema information and SQL query execution capabilities.
    Last updated -
    1
    JavaScript
  • A
    security
    A
    license
    A
    quality
    Enables AI models to interact with PostgreSQL databases through a standardized interface, supporting operations like queries, table manipulation, and schema inspection.
    Last updated -
    5
    477
    5
    JavaScript
    MIT License
  • -
    security
    F
    license
    -
    quality
    A powerful server that enables AI agents to interact with MySQL databases, execute SQL queries, and manage database content through a simple interface.
    Last updated -
    22
    5
    JavaScript
    • Apple
  • -
    security
    A
    license
    -
    quality
    Enables AI agents to interact with PostgreSQL databases through the Model Context Protocol, providing database schema exploration, table structure inspection, and SQL query execution capabilities.
    Last updated -
    13
    Python
    MIT License
    • Linux
    • Apple

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/aliyun/alibabacloud-hologres-mcp-server'

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