simple-mysql-mcp-server

simple-mysql-mcp-server

0

This project is a minimal FastAPI-based server designed for securely querying MySQL databases using GitHub Copilot or other MCP-compatible tools. It prioritizes speed and security by blocking destructive SQL commands and logging query times, supporting MySQL instances running locally or in Docker.

Simple MySQL MCP Server

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

Features

  • Connects to any MySQL instance (such as XAMPP, Docker, Linux-native)
  • Fast and lightweight, built with FastAPI
  • Automatically blocks destructive SQL commands like DROP and DELETE
  • Logs queries with timings
  • Compatible with MCP.so