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
基本情報
A Model Context Protocol (MCP) server which provides tools and resources, allowing AI agent to interact with Alibaba cloud PolarDB-X databases.
以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。
{
"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.

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.
A one-of-a-kind resume builder that keeps your privacy in mind. Completely secure, customizable, portable, open-source and free forever. Try it out today!
Free moving quotes for AI agents from Next Generation Movers, a licensed interstate mover (USDOT 3764697). US long-distance nationwide and local DC/MD/VA. Indicative ballpark price and booking options; optional $0.01 x40

A good sequence diagram can solve almost any communication problem in engineering. Volley lets your agent write them as plain text, with the real request and response payloads on every arrow. It checks its own syntax wi
AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents
コメント