Zum Inhalt springen
Kitbay
Einreichen
MCP-Server

mysql-mcp-server

Läuft lokalMITAktualisiert am 28. Okt. 20261.415GitHub-SterneKann Daten ändernBraucht einen API-Key

A Python MCP server for MySQL, installed from PyPI as mysql-mcp-server. It lists tables as resources, reads their contents, samples data, reports schema details and runs SQL statements one at a time.

Was er kann

A Python MCP server for MySQL, installed from PyPI as mysql-mcp-server. It lists tables as resources, reads their contents, samples data, reports schema details and runs SQL statements one at a time. When no default database is set it works across all user databases with fully qualified table names. Connection details, TLS mode and an optional SSH tunnel are set through environment variables or a .env file. It runs locally over stdio, for example through uvx from Claude Code, or as an SSE server for self-hosted setups; the README also mentions a third-party hosted option.

Funktionen

  • List MySQL tables and read their contents
  • Run SQL statements
  • Show schema details and sample table data
  • Work across several databases
  • Connect through an SSH tunnel