alibabacloud-polardb
MCP Servers to access PolarDB.
claude mcp add --transport stdio aliyun-alibabacloud-polardb-mcp-server docker run -i aliyun/alibabacloud-polardb-mcp-server:latest
How to use
This MCP server provides access to Alibaba Cloud PolarDB clusters through the PolarDB MCP ecosystem. It supports multiple PolarDB-related endpoints and capabilities, including MySQL-compatible PolarDB (polardb-mysql-mcp-server), PostgreSQL-compatible PolarDB (polardb-postgresql-mcp-server), and PolarDB OpenAPI interactions (polardb-openapi-mcp-server). Once running, you can connect your database tooling and orchestration pipelines to the MCP interface to discover, connect to, and manage your PolarDB clusters, execute queries, and monitor performance metrics. The server exposes MCP endpoints that normalize access to PolarDB resources and enable automated workflows for cluster provisioning, querying, and API interactions. To begin, ensure your environment can reach the running MCP server and you have the necessary PolarDB credentials and endpoints.
How to install
Prerequisites:
- Docker installed and running on the host
- Access to Alibaba Cloud PolarDB credentials and cluster endpoints
Installation steps (Docker-based):
-
Pull and run the MCP server image: docker pull aliyun/alibabacloud-polardb-mcp-server:latest docker run -d --name alibabacloud-polardb-mcp -p 8080:8080 aliyun/alibabacloud-polardb-mcp-server:latest
-
Configure environment variables as needed (examples):
- POLARDB_API_KEY
- POLARDB_API_SECRET
- POLARDB_ENDPOINT
-
Verify the server is running: curl http://localhost:8080/v1/status
-
Connect your MCP clients or tooling to the running endpoint (for example, via the MCP discovery or direct connect to the configured port).
Optional: If you prefer a Node.js or Python deployment, consult the repository's alternative deployment options (if provided) and adapt the docker-based steps accordingly.
Additional notes
Tips and common issues:
- Ensure network access from your deployment to the PolarDB clusters and the MCP server endpoint.
- Store API credentials securely (use environment variables or a secret management tool).
- If using the OpenAPI endpoints, keep track of API version compatibility with your PolarDB clusters.
- For MySQL- and PostgreSQL-compatible PolarDB, verify compatibility with your application drivers and connection strings.
- Check logs for authentication or connection errors and confirm that the PolarDB clusters allow access from the MCP server's network range.
- When updating the MCP image, review breaking changes or parameter changes in the release notes and adjust environment configurations accordingly.
Related MCP Servers
mcp-vegalite
MCP server from isaacwasserman/mcp-vegalite-server
github-chat
A Model Context Protocol (MCP) for analyzing and querying GitHub repositories using the GitHub Chat API.
nautex
MCP server for guiding Coding Agents via end-to-end requirements to implementation plan pipeline
pagerduty
PagerDuty's official local MCP (Model Context Protocol) server which provides tools to interact with your PagerDuty account directly from your MCP-enabled client.
futu-stock
mcp server for futuniuniu stock
mcp -boilerplate
Boilerplate using one of the 'better' ways to build MCP Servers. Written using FastMCP