mcp-mysql-server

mcp-mysql-server

3.2

If you are the rightful owner of mcp-mysql-server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

A simple Python script for interacting with a local MySQL database via standard input/output (stdio), based on FastMCP.

test_connection

Tests the connection to the database and returns server information.

list_tables

Lists all tables in the current database.

read_table

Reads and returns all data from a specified table.

write_table

Inserts a new row of data into a specified table.

get_table_schema

Returns the schema (column definitions) for a specified table.

execute_sql

Executes a custom SQL query and returns the results.