What are the runtime dependencies?
Python 3.11 or higher and the `uv` package manager for environment and package management.
@aliyun
Basic information
No overview available yet
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"alibabacloud-adbpg-mcp-server": {
"command": "uv",
"args": [
"venv",
".venv"
]
}
}
}Execute SELECT SQL queries on the AnalyticDB PostgreSQL server
Execute DML (INSERT, UPDATE, DELETE) SQL queries on the AnalyticDB PostgreSQL server
Execute DDL (CREATE, ALTER, DROP) SQL queries on the AnalyticDB PostgreSQL server
Collect table statistics
Get query execution plan
** Upload a text file (with its name) and file content to graphrag to generate a knowledge graph.
** Query the graphrag using the specified query string and mode。
** Add LLM long memory.
** Retrieves all memory records associated with a specific user, run or agent.
** Retrieves memories relevant to the given query for a specific user, run, or agent.
AnalyticDB PostgreSQL MCP Server is a universal interface between AI Agents and AnalyticDB PostgreSQL databases. It enables seamless communication for AI Agents to retrieve database metadata and execute SQL operations.
Install via PyPI (pip install adbpg-mcp-server) or from source. Run in stdio (default) or HTTP transport mode, configured via environment variables for database connection and optional graphRAG/LLM memory services. Integrate with MCP clients by adding the server configuration to the client's config file.
Python 3.11 or higher and the `uv` package manager for environment and package management.
Stdio (default) for standard MCP client integration, and Streamable‑HTTP for REST‑based access, testing, or debugging.
Set the `MCP_AUTH_TOKEN` environment variable or use the `--auth-token` CLI argument. Clients must include the `Authorization: Bearer <token>` header.
SQL execution tools (SELECT, DML, DDL), table analysis, query explain, graphRAG upload/query, decision tree management, and LLM memory add/search/delete.
All data resides in the connected AnalyticDB PostgreSQL instance. GraphRAG and LLM memory data are stored within the same database.

Fund Momentum MCP Server — VC intelligence for AI assistants. 1000+ active VC funds, live investor signals, AI-powered startup matching.
EnvKit — free local development environment for Windows & macOS: nginx/Apache, multiple PHP versions, MySQL/MariaDB, PostgreSQL, Redis, MongoDB, Mailpit, Node.js, trusted .test HTTPS, and a built-in MCP server for AI-assistant control. A Laragon/XAMPP/Herd alternative.
MCP server for interacting with Neon Management API and databases
Postgres MCP Pro provides configurable read/write access and performance analysis for you and your AI agents.
The Xata MCP server lets AI assistants and agents interact with your Xata organizations, projects, and Postgres database branches.
Comments