MCP.so
ログイン

MySQL MCP Server

@kerongon

基本情報

カテゴリ

データベース

トランスポート

stdio

作者

kerongon

MySQL MCP Server について

概要はまだありません

MySQL MCP Server の設定

標準の設定はありません

このサーバーの README には解析可能な MCP 設定ブロックが含まれていません。インストール手順はリポジトリをご確認ください。

リポジトリ

MySQL MCP Server のツール

ツール一覧はまだありません

この掲載には表示できるツール一覧がまだありません。サーバーにツールがないという意味ではありません。対応機能はプロジェクトのドキュメントをご確認ください。

ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。

概要

What is MySQL MCP Server?

The MySQL MCP Server is a Model Context Protocol (MCP) server that provides MySQL database access, allowing LLMs and MCP-compatible systems to interact with a MySQL database through read-only queries and schema inspection.

How to use MySQL MCP Server?

Clone the repository, install dependencies with npm install, build the project with npm run build, and configure required environment variables (MYSQL_HOST, MYSQL_PORT, MYSQL_USER, MYSQL_PASS, MYSQL_DB). Optionally set MYSQL_SOCKET for socket connections and MYSQL_POOL_LIMIT to control the connection pool size. The server starts automatically when initialized by the MCP system.

Key features of MySQL MCP Server

  • List database tables and their schemas
  • Execute read-only SQL queries
  • Secure connection handling with connection pooling

Use cases of MySQL MCP Server

  • Let an LLM browse and understand your database schema
  • Enable AI agents to perform read-only data analysis on MySQL databases
  • Provide safe, sandboxed MySQL access to MCP clients for reporting or exploration

よくある質問

1

Is the server read-only?

Yes, the README explicitly states it supports executing read-only SQL queries.

2

What environment variables are required to configure it?

You must set `MYSQL_HOST`, `MYSQL_PORT`, `MYSQL_USER`, `MYSQL_PASS`, and `MYSQL_DB`. Alternatively, you can use `MYSQL_SOCKET` instead of host and port.

3

How do I install and run the server?

Clone the repo, run `npm install` and `npm run build`, then set the required environment variables. The MCP system will start the server automatically.

4

Does it support connection pooling?

Yes, it uses connection pooling with a configurable limit via the `MYSQL_POOL_LIMIT` environment variable (default is 10).

コメント

「データベース」の他のコンテンツ