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.1.tar.gz (4.0 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.1-py3-none-any.whl (5.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: simple_mysql_mcp_server-0.1.1.tar.gz
  • Upload date:
  • Size: 4.0 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.1.tar.gz
Algorithm Hash digest
SHA256 2b9386ae6c99bbdcfd169b9f7d388b1aef6027618b537031d4de540ab3ec85ef
MD5 cf4ca80c76a2cb6df637f497a3788ab4
BLAKE2b-256 15c03f2e698538bc3b73b97ec5a2df21b96fd82f4b4e90d1b6cb3e3c26482653

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for simple_mysql_mcp_server-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 02b46fcad322f94052caf2bc767c6f3bead6b0c3951948e800fa075e8561b9e3
MD5 9c4ae6ea5280d55c556dc079c8ad9ec4
BLAKE2b-256 e57fa29e2906ef0a7e223f86f17f902d6660bc47b3859df02b0a4fef39b51585

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