数据库 · 开发者工具

Alibabacloud Hologres MCP Server logo

Alibabacloud Hologres MCP Server

aliyun/alibabacloud-hologres-mcp-server

Hologres MCP Server是AI代理与Hologres数据库之间的通用接口,支持元数据查询和SQL操作。

安装

uvx hologres-mcp-server

客户端配置

{
  "mcpServers": {
    "hologres-mcp-server": {
      "command": "uvx",
      "args": [
        "hologres-mcp-server"
      ],
      "env": {
        "HOLOGRES_HOST": "<HOLOGRES_HOST>",
        "HOLOGRES_PORT": "<HOLOGRES_PORT>",
        "HOLOGRES_USER": "<HOLOGRES_USER>",
        "HOLOGRES_PASSWORD": "<HOLOGRES_PASSWORD>",
        "HOLOGRES_DATABASE": "<HOLOGRES_DATABASE>"
      }
    }
  }
}

环境变量

HOLOGRES_HOSTHOLOGRES_PORTHOLOGRES_USERHOLOGRES_PASSWORDHOLOGRES_DATABASE
GitHub 星标
18
作者
@aliyun
分类
数据库, 开发者工具
更新于
2026年10月6日

工具(32)

  • execute_hg_select_sql

    Execute a SELECT SQL query in Hologres database

  • execute_hg_select_sql_with_serverless

    Execute a SELECT SQL query in Hologres database with serverless computing

  • execute_hg_dml_sql

    Execute a DML (INSERT, UPDATE, DELETE) SQL query in Hologres database

  • execute_hg_ddl_sql

    Execute a DDL (CREATE, ALTER, DROP, COMMENT ON) SQL query in Hologres database

  • gather_hg_table_statistics

    Collect table statistics in Hologres database

  • get_hg_query_plan

    Get query plan in Hologres database

  • get_hg_execution_plan

    Get execution plan in Hologres database

  • call_hg_procedure

    Invoke a procedure in Hologres database

  • create_hg_maxcompute_foreign_table

    Create MaxCompute foreign tables in Hologres database.

  • list_hg_schemas

    Lists all schemas in the current Hologres database, excluding system schemas.

  • list_hg_tables_in_a_schema

    Lists all tables in a specific schema, including their types (table, view, external table, partitioned table).

  • show_hg_table_ddl

    Show the DDL script of a table, view, or external table in the Hologres database.

  • query_and_plotly_chart

    Execute a SELECT SQL query and generate a chart (bar, line, scatter, pie, histogram, area).

  • analyze_hg_query_by_id

    Analyze a specific query's performance profile by its query_id from hg_query_log.

  • get_hg_slow_queries

    Get slow queries from hg_query_log ordered by duration.

  • get_hg_dynamic_table_refresh_history

    Get refresh history for a specific Dynamic Table, including duration, status, and latency.

  • restore_hg_table_from_recyclebin

    Restore a dropped table from the Hologres recycle bin.

  • switch_hg_warehouse

    Switch the current session's computing resource to a specified warehouse.

  • get_hg_table_storage_size

    Get storage size details of a table, including total, data, index, and metadata breakdown.

  • cancel_hg_query

    Cancel or terminate a running query by its process ID.

  • get_hg_table_properties

    Get table properties including distribution_key, clustering_key, segment_key, bitmap_columns, binlog settings, etc.

  • get_hg_table_shard_info

    Get table's Table Group and shard count info for diagnosing data skew.

  • get_hg_lock_diagnostics

    Diagnose lock contention by showing blocking and waiting queries.

  • get_hg_table_info_trend

    Get table storage trend from hg_table_info, showing daily storage size, file count, and row count changes.

  • manage_hg_query_queue

    Create, drop, or clear a Query Queue.

  • manage_hg_classifier

    Create or drop a classifier for a Query Queue.

  • set_hg_query_queue_property

    Set or remove properties on a Query Queue or classifier.

  • manage_hg_warehouse

    Manage a computing group: suspend, resume, restart, rename, or resize.

  • get_hg_warehouse_status

    Get detailed running status and scaling progress of a computing group.

  • rebalance_hg_warehouse

    Trigger shard rebalancing for a computing group to eliminate data skew.

  • query_hg_external_files

    Query files directly from OSS using EXTERNAL_FILES function without creating foreign tables.

  • get_hg_guc_config

    Get the current value of a GUC (Grand Unified Configuration) parameter.

本页信息摘自该项目的 README。 查看 README

相关 MCP 服务器

更多服务器
Supabase MCP logo

Supabase MCP

supabase-community/supabase-mcp

1.3k

Supabase MCP Server是一个连接Supabase项目与AI助手的工具,通过Model Context Protocol(MCP)标准化大型语言模型(LLMs)与外部服务的交互,实现数据库管理、配置获取和数据查询等功能。

数据库
Genai Toolbox logo

Genai Toolbox

googleapis/genai-toolbox

769

MCP Toolbox for Databases是一个开源数据库MCP服务器,专注于企业级和生产质量,简化工具开发,提供连接池、认证等复杂功能。

数据库
Supabase MCP Server logo

Supabase MCP Server

alexander-zuev/supabase-mcp-server

677

Supabase MCP服务器是一个开源工具,允许IDE安全执行SQL、管理模式变更、调用Supabase管理API和使用Auth Admin SDK,内置安全控制。

数据库
Awesome MCP List logo

Awesome MCP List

MobinX/awesome-mcp-list

645

这是一个持续更新的MCP服务器精选列表,涵盖了浏览器控制、艺术与文化、云平台、命令行、通信、客户数据平台、数据库、开发者工具、数据科学工具、文件系统、金融与金融科技、游戏、知识与记忆、位置服务、营销、监控、搜索和实用工具等多个类别。每个项目都附带了GitHub链接和星标数量,方便用户快速了解和使用。

数据库
PostgreSQL Model Context Protocol (PG MCP) Server logo

PostgreSQL Model Context Protocol (PG MCP) Server

stuzero/pg-mcp-server

440

PG-MCP是一个为PostgreSQL数据库设计的模型上下文协议服务器,提供AI代理发现、连接、查询和理解数据库的API,支持多数据库连接、丰富的目录信息和查询解释功能。

数据库
dbhub logo

dbhub

bytebase/dbhub

332

DBHub是一个实现模型上下文协议(MCP)的通用数据库网关,支持多种数据库连接和操作。

数据库