About designcomputer/mysql_mcp_server
designcomputer/mysql_mcp_server is an MCP server published by designcomputer in the Data category: a Model Context Protocol (MCP) server that enables secure interaction with MySQL databases. Conduid read 3 tools from its source: execute_sql, get_schema_info and get_table_sample. It is published to PyPI as mysql_mcp_server and runs with uvx.
The repository has 1.4K stars and 259 forks, is licensed MIT, and its last commit was on 28 Oct 2026. The latest release is v0.4.5 (28 Oct 2026): Reflected Identifier in Errors: validate_identifier no longer echoes a rejected table or database name in its error, which get_schema_info and get_table_sample returned… It follows v0.4.4 (30 Jul 2026), and the 5 most recent releases go back to v0.4.1 (8 Jun 2026). It passes 5 of the 6 static checks Conduid ran on the repository; it does not pass Scoped permissions. Its topics include data and mysql.
Install
claude mcp add mysql-mcp-server-designco -- uvx --from mysql-mcp-server mysql_mcp_serveruvx --from mysql-mcp-server mysql_mcp_serveruvx mysql_mcp_serverpip install mysql_mcp_servergit clone https://github.com/designcomputer/mysql_mcp_serverTools (3)
execute_sqlExecute a SQL statement against the MySQL server. Use for SELECT, DML (INSERT/UPDATE/DELETE), SHOW, DESCRIBE, and ad-hoc queries. Supports cross-database queries using database.table notation. Single statements only — use fully qualified names instead of USE statements.| Parameter | Type | Description |
|---|---|---|
| query * | string | The SQL statement to execute. Single statements only. |
get_schema_infoGet column metadata for a table or all tables in the configured database: column names, data types, nullability, default values, and comments. Call this before querying an unfamiliar table. Omit table_name to see all tables at once. Accepts bare table names (uses MYSQL_DATABASE) or database.table for cross-database lookups.| Parameter | Type | Description |
|---|---|---|
| table_name | string | Optional: bare table name, or database.table for a cross-database lookup. |
get_table_sampleFetch a small sample of rows from a table to understand its data format and content. Use alongside get_schema_info before writing complex queries. Accepts bare table names (uses MYSQL_DATABASE) or database.table for cross-database lookups.| Parameter | Type | Description |
|---|---|---|
| limit | integer | Number of rows to return (default 5, max 20). |
| table_name * | string | Table to sample. Use database.table notation for cross-database queries. |
Security checks
Static checks derived from the repository 4 days ago. Heuristics on the source, not an audit.
- ✓README presentThe repository's README runs to about 1.5K words.
- ✓License declaredThe repository declares the MIT license.
- ✓Tests presentA test suite exists in the repository.
- ✓Dependencies pinnedDependency versions are pinned by uv.lock.
- ✓No dynamic code executionScanned 3 source files and found no eval, dynamic Function or shell execution.
- !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.
What the source scan found
- Transport
- stdio and HTTP with SSEsrc/mysql_mcp_server/server.py:568, src/mysql_mcp_server/server.py:587
- Starts other programs
- 1 callsrc/mysql_mcp_server/server.py:96
- Outbound network calls
- No outbound network calls
- Writes or deletes files
- No file writes or deletes
- Lockfile
- uv.lock
Pattern matches on the source text of 3 files: places to read, not proof of what the code does at run time.
Releases
README
The repository's README runs to about 1.5K words, fetched 4 days ago. The original in the repository is authoritative.
Read full README