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.0.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.0-py3-none-any.whl (5.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: simple_mysql_mcp_server-0.1.0.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.0.tar.gz
Algorithm Hash digest
SHA256 cca82be9d0b77ff138f060ee13a34d1eb85c82ec81bf25c3a00a660ff6a150cf
MD5 74d7fe9e923964a847b6bbc096f20448
BLAKE2b-256 e9b2977866c55283cca770c589ac2c73b421b521ce686d7c7d1c3e02b962d242

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for simple_mysql_mcp_server-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9fc6e8771b908e6e5eba4203a42c43109318a06aa34b722db113f1cfef5402f4
MD5 9535d4f0894c311eaef4ebc8b2501af2
BLAKE2b-256 a6d9b87b81ab9727836773246ba1c8e50cb3e88d0263cc9db605db596b9b184a

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