What tools does polardbx-mcp provide?
It provides three tools: `query` to run SQL, `inspect database status` to check database state, and `show all commands` to list all PolarDB-X SQL commands.
@aliyun
Basic information
A Model Context Protocol (MCP) server which provides tools and resources, allowing AI agent to interact with Alibaba cloud PolarDB-X databases.
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"polardbx-mcp": {
"command": "npx",
"args": [
"polardbx-mcp"
],
"env": {
"POLARDB_X_HOST": "your_database_host",
"POLARDB_X_PORT": "your_database_port",
"POLARDB_X_USER": "your_database_user",
"POLARDB_X_PASSWORD": "your_database_password",
"POLARDB_X_DATABASE": "your_database_name"
}
}
}
}Run a SQL query on PolarDB-X
polardbx-mcp is a Model Context Protocol (MCP) server that provides tools and resources, allowing AI agents to interact with Alibaba Cloud PolarDB-X databases.
Install globally via npm (npm install -g polardbx-mcp) or build from source. Configure database connection using environment variables POLARDB_X_HOST, POLARDB_X_PORT, POLARDB_X_USER, POLARDB_X_PASSWORD, and POLARDB_X_DATABASE. Then start the server and configure your MCP client (e.g., Cline) to use the server with the same environment variables.
It provides three tools: `query` to run SQL, `inspect database status` to check database state, and `show all commands` to list all PolarDB-X SQL commands.
It exposes table schemas as resources in the format `polardbx://<database_name>/<table_name>`, providing JSON schema information including column names and data types.
polardbx-mcp requires Node.js and npm. For source builds, you also need to install dependencies (`npm install`) and build the project (`npm run build`).
Connection is configured via environment variables: `POLARDB_X_HOST`, `POLARDB_X_PORT`, `POLARDB_X_USER`, `POLARDB_X_PASSWORD`, and `POLARDB_X_DATABASE`. These can be set in a `.env` file or passed directly to the MCP client configuration.
Yes, authentication is handled via the `POLARDB_X_USER` and `POLARDB_X_PASSWORD` environment variables. The server uses these credentials to connect to PolarDB-X. No other authentication methods (e.g., OAuth) are mentioned.
A curated list of references for MLOps
MCP Toolbox for Databases is an open source MCP server for databases.

Health by Dr Brad works out a health plan from your own results: which screening is due at your age, and evidence-based suggestions, each with the reason and the published guideline or study behind it. Your record is one
Senso MCP turns a Joomla 5 or 6 site into a remote MCP server. It runs inside Joomla itself (no extra server, no Node.js bridge) and is secured with OAuth 2.1 and Joomla's own ACL. The free pack lets an AI assistant crea

See and control a real Windows PC you own — from any MCP client, locally or remotely. Observe (UIA + screenshots), click/type/drag/scroll, launch apps, owner Live View. BYOH: your machine, your key.
Comments