openGauss MCP server for executing SQL against an openGauss database

openGauss MCP server for executing SQL against an openGauss database

mcp-opengauss•byvincentsunx

An MCP server that connects to an openGauss database and lets MCP-capable clients run SQL queries against it.

License: Not specified•Runtime: Awaiting documentation review•Category: databases storage

WHAT IT DOES

  • •Provides an MCP server (openGauss_mcp_server) for openGauss.
  • •Exposes an MCP tool that executes SQL through the openGauss server.
  • •Connects to openGauss using host, port, user, password, and database name settings.

BEST FOR

  • •Answering questions over an openGauss database from Claude Desktop.
  • •Building AI Agent applications combining openGauss, MCP, and an LLM.

ABOUT MCP-OPENGAUSS

openGauss MCP server for executing SQL against an openGauss database is cataloged as an MCP server attributed to vincentsunx. An MCP server that connects to an openGauss database and lets MCP-capable clients run SQL queries against it. It is categorized under databases storage. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: Not specified. Check the source repository's current license and terms before using, modifying or distributing this software.

能力检查器

能力定义尚未审核。未核验的采集内容不会作为可信接口展示。

Tools (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Resources (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Prompts (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for openGauss MCP server for executing SQL against an openGauss database are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

Which client is used in the README demonstration?

The README demonstrates configuring and querying through Claude Desktop.

上游原版 README

在 GitHub 查看同一版本原文

README.md · f482146c8565 · 采集于 2026-11-13 10:39:31 UTC

保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。

当前显示最后一次成功采集的文档快照,请以来源页面为准。

MCP + openGauss

随着AI从静态推理向动态交互演进,智能体(Agent)逐渐成为焦点。Agent不仅能够调用LLM进行推理,还能访问数据库、调用API、执行任务。然而,当前LLM和Agent之间缺乏标准化交互协议, 每个新数据源都需要自定义实现,使得真正互联的系统难以扩展。MCP(Model Context Protocol, 模型上下文协议)解决了这一挑战,MCP是为LLM和Agent系统设计的标准化交互框架,使LLM可以与外部数据库、API和工具进行高效交互。

openGauss + MCP + LLM 架构

图 1 openGauss + MCP + LLM 架构

快速搭建openGauss + MCP + LLM的AI Agent应用

环境准备

  • 安装python3环境,安装uv。
  • 通过容器部署并启动openGauss数据库。(openGauss官网:学习->文档->最新开发版本->安装指南->容器镜像安装)
  • 下载Claude Desktop配合MCP协议进行问答操作。

获取openGauss_mcp_server源码

访问链接, 获取openGauss_mcp_server源码,当前版本为(0.1.0)。

配置参数

  • 打开Claude Desktop设置,编辑配置文件。

图 2 Claude Desktop配置页面

  • 通过Edit Config增加配置
{
    "mcpServers": {
        "openGauss": {
            "command": "uv",
            "args": [
            "--directory",
            "path/to/openGauss_mcp_server",
            "run",
            "server.py"
            ],
            "env": {
                "OPENGAUSS_HOST": "localhost",
                "OPENGAUSS_PORT": "8888",
                "OPENGAUSS_USER": "your_username",
                "OPENGAUSS_PASSWORD": "your_password",
                "OPENGAUSS_DBNAME": "your_database"
            }
        }
    }
}

AI服务集成

重新启动Claude Desktop

可以看到可用MCP Tool, 执行sql通过openGauss server

图 3 Claude Desktop可用MCP Tool

使用Cluade Desktop通过openGauss进行问答

图 4 Claude Desktop问答演示

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for openGauss MCP server for executing SQL against an openGauss database from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/mcp-opengauss)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

下载与拉取统计

来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。

尚无已审核的包 / 镜像标识,暂不展示下载统计。

Related databases storage MCP Servers

Alternative and complementary servers in the same category

View all in databases storage →
AIStor MCP server
mcp-server-aistor•minio

This is a Model Context Protocol (MCP) server for interacting with AIStor object stores.

Repository stats unavailable
Databases & Storage
InfluxDB v2 MCP Server
influxdb-mcp-server•idoru

A Model Context Protocol (MCP) server that exposes access to an InfluxDB v2 instance using the InfluxDB OSS API v2.

Repository stats unavailable
Databases & Storage