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.
openGauss connection parameters are loaded from .env, for example:
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:
Usage with CherryStudio
CherryStudio supports all three transporting modes: Stdio, SSE and Streamable-Http
Stdio:
Arguments:
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 :
Then configure CherryStudio to connect to sse mcp server:

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:
Then configure CherryStudio to connect to streamable-http mcp server:
