Skip to main content

A MySQL-compatible MCP server for GitHub Copilot and LLMs.

Project description

Simple MySQL MCP Server

A minimal FastAPI-based MCP server that lets GitHub Copilot or other MCP-compatible tools securely query your local or Dockerized MySQL database.


⚡ Features

  • 🔌 Connects to any MySQL instance (XAMPP, Docker, Linux-native, etc.)
  • 🚀 Fast and lightweight (built with FastAPI)
  • 🛡️ Auto-blocks destructive SQL (DROP, DELETE, etc.)
  • 📊 Logs queries with timing
  • 🧩 MCP.so-compatible (mcp.json included)

🛠 Installation (Python)

git clone https://github.com/your-username/simple-mysql-mcp-server.git
cd simple-mysql-mcp-server
cp config.sample.json config.json
pip install -r requirements.txt
uvicorn main:app --host 0.0.0.0 --port 8081

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

simple_mysql_mcp_server-0.1.4.tar.gz (4.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

simple_mysql_mcp_server-0.1.4-py3-none-any.whl (5.1 kB view details)

Uploaded Python 3

File details

Details for the file simple_mysql_mcp_server-0.1.4.tar.gz.

File metadata

  • Download URL: simple_mysql_mcp_server-0.1.4.tar.gz
  • Upload date:
  • Size: 4.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.6

File hashes

Hashes for simple_mysql_mcp_server-0.1.4.tar.gz
Algorithm Hash digest
SHA256 7f1c290bfc085db199ea5960a854229b9ece889469ef32d0c1db9547a4b34a9f
MD5 e634def11956d673c3c95f824e2811b5
BLAKE2b-256 b12cdf8d543f78d6e39a0dc2b7425e9c27cce57955c1984eec27922b2527d917

See more details on using hashes here.

File details

Details for the file simple_mysql_mcp_server-0.1.4-py3-none-any.whl.

File metadata

File hashes

Hashes for simple_mysql_mcp_server-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 e1037caa77e54e9ebabc0e14e67dac0b88163c0ca37385982014c989c2d0cddf
MD5 d21c3048ac2c19bfcd34818ebd9c0ef5
BLAKE2b-256 4ece2b291faff1c46c30bdeeebe88c17bc97682550c2b3e6662a93edd5f5f45a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page