FastMCP MySQL Server for Python

FastMCP MySQL Server for Python

mcp-mysql-py•bymartyr2

A basic MCP server implementation built with FastMCP for Python that connects to a local MySQL database.

License: Not specified•Runtime: Awaiting documentation review•Category: databases storage

WHAT IT DOES

  • •Implements an MCP server for MySQL using FastMCP in Python.
  • •Uses database credentials configured in a .env file to connect.
  • •Can be run directly with Python or via the MCP inspector dev server.

BEST FOR

  • •Developers who want a starting point to copy, run, and extend an MCP server for MySQL.
  • •Connecting a MySQL tool into Claude Code by launching the MCP server process.

ABOUT MCP-MYSQL-PY

FastMCP MySQL Server for Python is cataloged as an MCP server attributed to martyr2. A basic MCP server implementation built with FastMCP for Python that connects to a local MySQL database. It is categorized under databases storage. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: Not specified. Check the source repository's current license and terms before using, modifying or distributing this software.

Capability inspector

Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.

Tools (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Resources (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Prompts (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for FastMCP MySQL Server for Python are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

What is the intended use of this project?

It is a bare bones starting implementation of an MCP server meant to be copied, run, and extended as needed.

How is the server launched for the inspector?

It can be run with the inspector using the mcp dev server command form.

Upstream README

View this exact version on GitHub

README.md · 36716384ff30 · Fetched 2026-11-13 11:21:24 UTC

Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.

Showing the last retrieved documentation snapshot; check the source for current changes.

Model Context Protocol (MCP) Server for Local MySQL

Purpose

This is a bare bones basic implementation of an MCP server using FastMCP for Python. I am providing this for anyone who wants to quickly copy, paste run and connect to their tool of choice. Then extend it as they see fit.

How To Get Started

  1. Copy the files into a fresh project with a virtual environment set up.
  2. Type: pip install -r requirements.txt (to install the packages into the virutal environment)
  3. Rename the .env.sample file to be just .env
  4. Set your database credentials in the .env file
  5. Run the project using: python server.py or for the inspector mcp dev server.py

Incorporate it into Claude Code

Claude Code can run these MCP servers by launching a process. Simply add the MCP to the Claude MCP server list (check out the /mcp command for details) and once connected, you can type in a query that would use the tool.

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for FastMCP MySQL Server for Python from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/mcp-mysql-py)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

Downloads and pulls

Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.

No reviewed package or image identity; download statistics are not listed yet.

Related databases storage MCP Servers

Alternative and complementary servers in the same category

View all in databases storage →
AIStor MCP server
mcp-server-aistor•minio

This is a Model Context Protocol (MCP) server for interacting with AIStor object stores.

Repository stats unavailable
Databases & Storage
InfluxDB v2 MCP Server
influxdb-mcp-server•idoru

A Model Context Protocol (MCP) server that exposes access to an InfluxDB v2 instance using the InfluxDB OSS API v2.

Repository stats unavailable
Databases & Storage