Adb MySQL MCP Server
OfficialMySQL MCP 서버용 AnalyticDB
AnalyticDB for MySQL MCP 서버는 AI Agent와 AnalyticDB for MySQL 데이터베이스 간의 범용 인터페이스 역할을 합니다. AI Agent와 AnalyticDB for MySQL 간의 원활한 통신을 지원하여 AI Agent가 AnalyticDB for MySQL 데이터베이스 메타데이터를 검색하고 SQL 작업을 실행할 수 있도록 지원합니다.
1. MCP 클라이언트 구성
모드 1: 로컬 파일 사용
GitHub 저장소를 다운로드하세요
지엑스피1
MCP 통합
MCP 클라이언트 구성 파일에 다음 구성을 추가합니다.
{
"mcpServers": {
"adb-mysql-mcp-server": {
"command": "uv",
"args": [
"--directory",
"/path/to/alibabacloud-adb-mysql-mcp-server",
"run",
"adb-mysql-mcp-server"
],
"env": {
"ADB_MYSQL_HOST": "host",
"ADB_MYSQL_PORT": "port",
"ADB_MYSQL_USER": "database_user",
"ADB_MYSQL_PASSWORD": "database_password",
"ADB_MYSQL_DATABASE": "database"
}
}
}
}모드 2: PIP 모드 사용
설치
다음 패키지를 사용하여 MCP 서버를 설치하세요.
pip install adb-mysql-mcp-serverMCP 통합
MCP 클라이언트 구성 파일에 다음 구성을 추가합니다.
{
"mcpServers": {
"adb-mysql-mcp-server": {
"command": "uv",
"args": [
"run",
"--with",
"adb-mysql-mcp-server",
"adb-mysql-mcp-server"
],
"env": {
"ADB_MYSQL_HOST": "host",
"ADB_MYSQL_PORT": "port",
"ADB_MYSQL_USER": "database_user",
"ADB_MYSQL_PASSWORD": "database_password",
"ADB_MYSQL_DATABASE": "database"
}
}
}
}Related MCP server: Hologres MCP Server
2. MySQL MCP 서버용 AnalyticDB를 직접 개발하세요
MySQL MCP 서버용 AnalyticDB를 직접 개발하려면 다음 명령을 사용하여 Python 종속성 패키지를 설치할 수 있습니다.
GitHub에서 소스 코드를 다운로드하세요.
uv 패키지 관리자를 설치합니다.
npx라는 이름의 노드 패키지 도구를 제공하는 Node.js를 설치합니다.다음 명령을 사용하여 프로젝트의 루트 디렉토리에 Python 종속성을 설치합니다.
uv pip install -r pyproject.toml 로컬에서 mcp 서버를 디버깅하려면 다음 명령을 사용하여 MCP Inspector를 시작할 수 있습니다.
npx @modelcontextprotocol/inspector \
-e ADB_MYSQL_HOST=your_host \
-e ADB_MYSQL_PORT=your_port \
-e ADB_MYSQL_USER=your_username \
-e ADB_MYSQL_PASSWORD=your_password \
-e ADB_MYSQL_DATABASE=your_database \
uv --directory /path/to/alibabacloud-adb-mysql-mcp-server run adb-mysql-mcp-server 3. MySQL MCP 서버용 AnalyticDB 구성 요소 소개
도구
execute_sql: MySQL 클러스터용 AnalyticDB에서 SQL 쿼리를 실행합니다.get_query_plan: SQL 쿼리에 대한 쿼리 계획을 가져옵니다.get_execution_plan: SQL 쿼리에 대한 런타임 통계를 포함한 실제 실행 계획을 가져옵니다.
자원
내장 리소스
adbmysql:///databases: MySQL 클러스터의 분석에 있는 모든 데이터베이스를 가져옵니다.
리소스 템플릿
adbmysql:///{schema}/tables: 특정 데이터베이스의 모든 테이블을 가져옵니다.adbmysql:///{database}/{table}/ddl: 특정 데이터베이스의 테이블에 대한 DDL 스크립트를 가져옵니다.adbmysql:///{config}/{key}/value: 클러스터의 구성 키 값을 가져옵니다.
프롬프트
현재 제공되지 않습니다.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseBqualityDmaintenanceEnables AI models to perform MySQL database operations through a standardized interface, supporting secure connections, query execution, and comprehensive schema management.76133MIT

Hologres MCP Serverofficial
AlicenseAqualityCmaintenanceA universal interface that enables AI Agents to communicate with Hologres databases, allowing them to retrieve database metadata and execute SQL operations.1234Apache 2.0
AnalyticDB PostgreSQL MCPofficial
AlicenseNot gradedqualityCmaintenanceServes as a universal interface between AI Agents and AnalyticDB PostgreSQL databases, enabling metadata retrieval and SQL execution, with additional capabilities for knowledge graph and LLM memory management.16Apache 2.0- FlicenseNot gradedqualityDmaintenanceEnables AI agents to interact with a MySQL database using natural language, automating SQL tasks like querying, inserting, updating, and deleting data.1
Related MCP Connectors
Analytical memory for AI agents: a real Postgres queried in plain English over MCP. One command.
Universal memory for AI agents and tools. Save, organize and search context anywhere.
GibsonAI MCP server: manage your databases with natural language
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/aliyun/alibabacloud-adb-mysql-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server