Skip to main content

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

Metadata

Release files for simple-mysql-mcp-server 0.1.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for simple-mysql-mcp-server 0.1.4
File Size Uploaded Provenance
simple_mysql_mcp_server-0.1.4.tar.gz 4.1 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for simple-mysql-mcp-server 0.1.4
File Interpreter ABI Platform
simple_mysql_mcp_server-0.1.4-py3-none-any.whl Python 3 none any Details

Total release size: 9.1 kB

Release files / simple_mysql_mcp_server-0.1.4.tar.gz

Download URL simple_mysql_mcp_server-0.1.4.tar.gz
Size 4.1 kB
Tags Source
SHA-256 checksum
How to use checksums
7f1c290bfc085db199ea5960a854229b9ece889469ef32d0c1db9547a4b34a9f
BLAKE2b-256 checksum
How to use checksums
b12cdf8d543f78d6e39a0dc2b7425e9c27cce57955c1984eec27922b2527d917
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.6

Release files / simple_mysql_mcp_server-0.1.4-py3-none-any.whl

Download URL simple_mysql_mcp_server-0.1.4-py3-none-any.whl
Size 5.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e1037caa77e54e9ebabc0e14e67dac0b88163c0ca37385982014c989c2d0cddf
BLAKE2b-256 checksum
How to use checksums
4ece2b291faff1c46c30bdeeebe88c17bc97682550c2b3e6662a93edd5f5f45a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.6

Security for simple-mysql-mcp-server 0.1.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page