trackmcp
Back to directory
HowardQin

fastmcp-opengauss

View on GitHub

openGauss MCP server programmed using FastMCP

1 stars PythonOthers Updated May 14, 2026

Documentation

Model Context Protocol Server for openGauss

Features

  • Build with FastMCP 2.0 .
  • Support Stdio, SSE and Streamable-Http transporting method.
  • MCP server transporting method, listerning port, host and path are Configurable via command-line argument.
  • openGauss connection parameters are configurable via environment variables or .env files.

Deployment

Note: uv and python >= 3.12 is required.

shell
git clone https://github.com/HowardQin/fastmcp-opengauss.git
cd fastmcp-opengauss
cp .env.example .env
uv sync

openGauss connection parameters are loaded from .env, for example:

shell
OPENGAUSS_HOST=172.32.148.228
OPENGAUSS_PORT=31001
OPENGAUSS_USER=app
OPENGAUSS_PASSWORD=Postgres1234
OPENGAUSS_DBNAME=app

These parameters can be overwriten if identical environment variables are set.

Usage with Claude Desktop

Claude Desktop only supports Stdio mode, so we add the Stdio starting command in claude_desktop_config.json:

json
{
    "mcpServers": {
        "openGauss": {
            "command": "uv",
            "args": [
                "--directory",
                "C:\\Users\\qinh\\fastmcp-opengauss",
                "run",
                "server.py",
                "--transport",
                "stdio"
            ]
        }
    }
}

Usage with CherryStudio

CherryStudio supports all three transporting modes: Stdio, SSE and Streamable-Http

Stdio:

CherryStudio with stdio fastmcp-opengauss

Arguments:

shell
--directory
C:\Users\qinh\fastmcp-opengauss
run
server.py
--transport=stdio

SSE:

For SSE transport mode, we need to start a standalone mcp server, run following command in project root directory, or in any directory with --directory specifing project root dir :

shell
uv --directory C:\Users\qinh\fastmcp-opengauss run .\server.py --transport=sse --port=8000 --path=/sse --host=0.0.0.0

Then configure CherryStudio to connect to sse mcp server:

CherryStudio with sse fastmcp-opengauss

Streamable-Http:

For Streamable-Http, we need to start a standalone mcp server, run following command in project root directory, or in any directory with --directory specifing project root dir:

shell
uv --directory C:\Users\qinh\fastmcp-opengauss run .\server.py --transport=streamable-http --port=8000 --path=/mcp --host=0.0.0.0

Then configure CherryStudio to connect to streamable-http mcp server:

CherryStudio with sse fastmcp-opengauss

Frequently asked questions

What is fastmcp-opengauss?

fastmcp-opengauss is openGauss MCP server programmed using FastMCP

How do I install fastmcp-opengauss?

Open the GitHub repository and follow its README. Most MCP servers are added to your client's MCP config, then called by your agent.

Is fastmcp-opengauss open source?

Yes — it is hosted on GitHub at https://github.com/HowardQin/fastmcp-opengauss and has 1 stars.

Related MCP tools

Run your own MCP server? See who uses it and what to fix.

Measure it with TrackMCP