MySQL
A server for managing MySQL databases.
MCPs
MySQL Managing MCP
How to use this MCP:
- Import imagem in the docker-compose with how to docker-compose.yml
version: '3.8'
services: mcp-mysql: image: lclpedro/mcp-mysql:latest container_name: mcp-mysql ports: - "3002:3002" environment: - MYSQL_DATABASE_HOST=mysql-db - MYSQL_DATABASE_PORT=3306 - MYSQL_DATABASE_USER=test - MYSQL_DATABASE_PASSWORD=root - MYSQL_DATABASE_NAME=testdb depends_on: - testdb volumes: - poetry-cache:/root/.cache/pypoetry
your-database-mysql: image: mysql:8.0 environment: - MYSQL_DATABASE=couponsdbx - MYSQL_USER=test - MYSQL_PASSWORD=root - MYSQL_ROOT_PASSWORD=root ports: - "3306:3306" volumes: - mysql_data:/var/lib/mysql
volumes: your-database-mysql:
- Run docker-compose up -d
- Configure MCP Server in this IDE:
{ "mcpServers": { "mysqlManaging":{ "serverUrl": "http://localhost:3002/sse" } } }
- Load MCPs in IDE.
Others Executions
If your running only MCP server, you can run it with:
git clone https://github.com/lclpedro/mcp-mysql.git cd mcp-mysql cp .env.example .env poetry install poetry run python main.py
Tools available:
- health_check
- list_tables
- get_table_schema
- execute_query
- show_indexes_table
- show_explain_query
Contributing with this MCP
- Fork it
- Create your feature branch (git checkout -b feature/AmazingFeature)
- Commit your changes (git commit -m 'Add some AmazingFeature')
- Push to the branch (git push origin feature/AmazingFeature)
- Open a Pull Request
Servidores relacionados
Ashare-MCP
A stock market data service for querying A-share market data from Sina and Tencent Finance.
ODBC MCP Server
Enables LLM tools to query databases using ODBC connections.
CData AlloyDB MCP Server
A read-only MCP server for AlloyDB, enabling LLMs to query live data directly from AlloyDB databases.
Flexpa FHIR
An MCP server for interacting with FHIR (Fast Healthcare Interoperability Resources) servers, enabling access and search of healthcare data.
MariaDB / MySQL
Provides access to MariaDB and MySQL databases for querying and data manipulation.
Hive MCP Server
Enables AI assistants to interact with the Hive blockchain through the Model Context Protocol.
Legifrance
Query French legal databases using the Legifrance API.
Airtable
Access and manage Airtable bases, tables, and records using the Airtable Web API.
Directus MCP Server
An MCP server for Directus CMS, enabling AI clients to interact with the Directus API.
SolanaBot
Interact with the Solana blockchain to check balances, send SOL, and airdrop SOL.