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.

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

Connect your AI assistant to your own YOUB endurance training account. Read recorded activities with full analysis, planned sessions, race goals, wellness (HRV, sleep, resting HR) and your athletic profile. Create or mov
不止于 CSS

Model Context Protocol Servers
评论