MySQL Schema MCP Server
JSON →A server for retrieving MySQL database schema information using the FastMCP framework.
Install
pip install uv Tools · 5
- databases List all databases
- tables List all tables in a database
- schema Get the schema (columns, indexes, and foreign keys) for one or more tables.
- indexes Get the indexes for a specific table
- foreign_keys Get the foreign keys for a specific table
Environment variables
MYSQL_HOSTMYSQL_PORT