Feedback

AnalyticDB PostgreSQL MCP Server

@aliyun Claim

Basic information

Runtime
python
Category
License
Apache-2.0
Transports
stdio
Author
aliyun
Submitted by
Community
Quality
25
Stars
14

About AnalyticDB PostgreSQL MCP Server

# AnalyticDB PostgreSQL MCP Server

AnalyticDB PostgreSQL MCP Server is a MCP server in the Databases category listed in the AddMCP.net directory, published by aliyun. Supported transport: stdio. Runtime: python. License: Apache-2.0. The repository has 14 GitHub stars. Source code is hosted on github.com.

Setup

{
    "mcpServers": {
        "alibabacloud-adbpg-mcp-server": {
            "command": "uv",
            "args": [
                "venv",
                ".venv"
            ]
        }
    }
}

AnalyticDB PostgreSQL MCP Server config

Add this server to your MCP-compatible client using the configuration below.

{
    "mcpServers": {
        "alibabacloud-adbpg-mcp-server": {
            "command": "uv",
            "args": [
                "venv",
                ".venv"
            ]
        }
    }
}

AnalyticDB PostgreSQL MCP Server tools

Tool list not available yet

This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.

We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.

Overview

What is AnalyticDB PostgreSQL MCP Server?

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.

How to use AnalyticDB PostgreSQL MCP Server?

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.

Key features of AnalyticDB PostgreSQL MCP Server

  • Execute SELECT, DML, and DDL SQL queries
  • Analyze table statistics and explain query plans
  • Upload and query graphRAG knowledge graphs
  • Manage decision trees (upload, append, delete)
  • Store, search, and delete LLM long-term memory
  • Retrieve schemas, tables, DDL, and statistics via resources

Use cases of AnalyticDB PostgreSQL MCP Server

  • AI agents querying database metadata and running SQL operations
  • Building conversational agents that interact with AnalyticDB PostgreSQL
  • Enabling GraphRAG-based knowledge graph insights with database context
  • Integrating LLM memory persistence for personalized AI interactions
  • Automated database schema exploration and performance analysis

Frequently asked questions

1 What are the runtime dependencies?

Python 3.11 or higher and the uv package manager for environment and package management.

2 What transport modes are supported?

Stdio (default) for standard MCP client integration, and Streamable‑HTTP for REST‑based access, testing, or debugging.

3 How do I authenticate HTTP endpoints?

Set the MCP_AUTH_TOKEN environment variable or use the --auth-token CLI argument. Clients must include the Authorization: Bearer <token> header.

4 What tools does the server provide?

SQL execution tools (SELECT, DML, DDL), table analysis, query explain, graphRAG upload/query, decision tree management, and LLM memory add/search/delete.

5 Where is the data stored?

All data resides in the connected AnalyticDB PostgreSQL instance. GraphRAG and LLM memory data are stored within the same database.

Comments

No comments yet

Be the first to share feedback about this listing. Sign in to leave a comment.

Sign In

Feedback 💬