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

An MCP server that provides an interface to interact with MySQL databases, including listing tables, reading data, and executing SQL queries.
MySQL MCP Server is cataloged as an MCP server attributed to ota-eita. An MCP server that provides an interface to interact with MySQL databases, including listing tables, reading data, and executing SQL queries. 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.
Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.
Catalog license label: Not specified. Check the source repository's current license and terms before using, modifying or distributing this software.
能力定义尚未审核。未核验的采集内容不会作为可信接口展示。
暂无可展示的已审核记录。这不表示上游不支持此能力。
暂无可展示的已审核记录。这不表示上游不支持此能力。
暂无可展示的已审核记录。这不表示上游不支持此能力。
Email delivery is not connected. This page does not collect email addresses or create subscriptions.
Browse the registry for current listings instead.
Reviews for MySQL MCP Server 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.
The server uses MYSQL_HOST, MYSQL_PORT, MYSQL_USER, MYSQL_PASSWORD, and MYSQL_DATABASE environment variables.
The server can be run directly, as a module, or in a Docker container.
README.md · 2e146b229ec7 · 采集于 2026-11-13 13:25:17 UTC
保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。
当前显示最后一次成功采集的文档快照,请以来源页面为准。
このプロジェクトは、MCP (Model Context Protocol) を使用してMySQLデータベースとやり取りするためのサーバーを提供します。WSL環境でMySQLデータベースにアクセスするためのインターフェースを提供します。
src/mysql_mcp_server/
├── __init__.py # パッケージ初期化
├── config/ # 設定関連モジュール
│ ├── __init__.py
│ └── settings.py # データベース設定
├── database/ # データベース操作モジュール
│ ├── __init__.py
│ ├── connection.py # DB接続処理
│ └── errors.py # エラークラス
├── tools/ # ツールモジュール
│ ├── __init__.py
│ └── sql_tools.py # SQL実行ツール
└── server.py # MCPサーバーメイン
リポジトリをクローン:
git clone <repository-url>
cd mysql_mcp_server
仮想環境を作成し、アクティベート:
python -m venv .venv
source .venv/bin/activate # Linuxの場合
依存関係をインストール:
pip install -r requirements.txt .
セットアップスクリプトを実行して、実行スクリプトに実行権限を付与:
chmod +x setup.sh
./setup.sh
以下のいずれかの方法でサーバーを実行できます:
./run_direct.sh
./run_module.sh
# Dockerイメージをビルド
docker build -t mysql-mcp-server:latest .
# コンテナを実行
./run_docker.sh
サーバーは以下の環境変数を使用してMySQLに接続します:
MYSQL_HOST: MySQLサーバーのホスト(デフォルト: host.docker.internal)MYSQL_PORT: MySQLサーバーのポート(デフォルト: 13306)MYSQL_USER: MySQLユーザー名MYSQL_PASSWORD: MySQLパスワードMYSQL_DATABASE: 使用するデータベース名このサーバーはMCP(Model Control Protocol)を実装しており、以下のエンドポイントを提供します:
list_resources: データベース内のテーブル一覧を取得read_resource: 特定のテーブルからデータを読み取りlist_tools: 利用可能なツール(SQLクエリの実行)を一覧表示call_tool: SQLクエリを実行WSL(Windows Subsystem for Linux)環境内のMySQLサーバーに接続する場合:
/etc/mysql/mysql.conf.d/mysqld.cnfファイルでbind-addressを0.0.0.0に変更このプロジェクトは、テスト、フォーマット、リントのためのNoxセッションを提供しています。
Noxをインストール:
pip install nox
全てのテストを実行:
nox -s test
コードをフォーマット:
nox -s format
リントチェックを実行:
nox -s lint
pytest tests/
pytest --cov=src.mysql_mcp_server tests/
このプロジェクトはMITライセンスの下で公開されています。
Claim this server with your GitHub account to request manual ownership verification.
Link to the catalog listing for MySQL MCP Server from your README. This badge does not certify ownership, compatibility or security.
[](https://awesome-mcp.com/servers/mysql_mcp_servers)Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.
来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。
尚无已审核的包 / 镜像标识,暂不展示下载统计。
Alternative and complementary servers in the same category

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

A Model Context Protocol server that lets AI assistants run SQL queries against AWS Athena databases and retrieve results.

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