Zhwt/go-mcp-mysql
by Various
Zero burden, ready-to-use Model Context Protocol (MCP) server for interacting with MySQL and automation. No Node.js or Python environment needed.
MCP
Zhwt/go-mcp-mysql
Added 1 June 2026
Overview
Zhwt/go-mcp-mysql is a lightweight Model Context Protocol server written in Go for interacting with MySQL databases. It runs as a standalone binary without requiring Node.js or Python environments.
Best for
Best for
Developers who want a lightweight MCP server for MySQL without Node.js or Python overhead.
Use cases
- Executing SQL queries through LLM agents
- Automating database operations via MCP
- Integrating MySQL with MCP-compatible tools
How to use
Install
go install -v github.com/Zhwt/go-mcp-mysql@latest Tools exposed
list_databaselist_tablecreate_tablealter_tabledesc_tableread_querywrite_queryupdate_querydelete_query
Example client config
{\n "mcpServers": {\n "mysql": {\n "command": "go-mcp-mysql",\n "args": [\n "--host", "localhost",\n "--user", "root",\n "--pass", "password",\n "--port", "3306",\n "--db", "mydb"\n ]\n }\n }\n} Notes
Zhwt/go-mcp-mysql is a lightweight Model Context Protocol server written in Go for interacting with MySQL databases. It runs as a standalone binary without requiring Node.js or Python environments.
56 stars on GitHub. Last updated 2026-01-21. Licensed MIT.
Use cases
- Executing SQL queries through LLM agents
- Automating database operations via MCP
- Integrating MySQL with MCP-compatible tools
Pros
- Single binary deployment with no runtime dependencies
- Simple and minimal configuration
- Built in Go for performance
Cons
- Small community and fewer updates (56 stars)
- Limited to basic MCP features
- May lack advanced authentication or query filtering
Indexed from awesome-mcp-servers-punkpeye and enriched against its public facts.
Pros
- Single binary deployment with no runtime dependencies
- Simple and minimal configuration
- Built in Go for performance
Cons
- Small community and fewer updates (56 stars)
- Limited to basic MCP features
- May lack advanced authentication or query filtering
Pairs with
Other entries in the index that connect to this one. Click through to see the chain.
Get the free Developer’s Field Guide
A 27-page field guide to the AI coding workflow with Claude. Claude Code, MCP servers, the prompt patterns that work, and what to delegate. Free.
Enter your work email. We send it straight over, plus a few short notes worth knowing. Unsubscribe any time.