An MCP server for MySQL databases using stdio
Project description
stdio-mysql-mcp
A Model Context Protocol (MCP) server that allows AI assistants like Claude Desktop and GitHub Copilot to connect to and query MySQL databases locally using standard input/output (stdio).
Usage with Claude Desktop / GitHub Copilot
Add this to your MCP configuration file (claude_desktop_config.json or your custom settings):
{
"mcpServers": {
"mysql-server": {
"command": "uvx",
"args": ["stdio-mysql-mcp"],
"env": {
"MYSQL_URL": "mysql://user:password@localhost:3306"
}
}
}
}
Available Tools
get_databases: List all databasesget_tables_in_db: List tables in a specific databaseget_records: Get all rows from a tableget_specific_column_records: Get specific columns from a tablecustom_sql_query: Run custom SQL queries
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file stdio_mysql_mcp-0.1.0.tar.gz.
File metadata
- Download URL: stdio_mysql_mcp-0.1.0.tar.gz
- Upload date:
- Size: 2.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2fb4153005ade6f30421bc45639cbf38bee68200f7447948a9aaf6850058787e
|
|
| MD5 |
5f4f9d0a8eceef7f8cb6c59e241ab37d
|
|
| BLAKE2b-256 |
0129a411c2d5fe0b89a248a93abdd77af250bf35caaa6f2dbb3d9dd5c21774bc
|
File details
Details for the file stdio_mysql_mcp-0.1.0-py3-none-any.whl.
File metadata
- Download URL: stdio_mysql_mcp-0.1.0-py3-none-any.whl
- Upload date:
- Size: 3.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7216e4059e774b4d7d0995e61874ab51c99301ab410e41bcbbf6ab02d213999c
|
|
| MD5 |
ad7af0572ee6d91a72b2553d273ef9e2
|
|
| BLAKE2b-256 |
1f75d32fee7863ba3d181699429c8c36a5d8dd16818bcaf8a27f17746f255ee7
|