NodeJS ベースの MySQL 用 MCP サーバー
MySQLデータベースへの読み取り専用アクセスを提供するモデルコンテキストプロトコル(CMP)サーバー。このサーバーにより、LLMはデータベーススキーマを検査し、読み取り専用クエリを実行できます。
コンポーネント
ツール
- mysql_クエリ
- 接続されたデータベースに対して読み取り専用のSQLクエリを実行する
- 入力:
sql
(文字列): 実行するSQLクエリ - すべてのクエリは読み取り専用トランザクション内で実行されます
リソース
サーバーは、データベース内の各テーブルのスキーマ情報を提供します。
- テーブルスキーマ
- 各テーブルのJSONスキーマ情報
- 列名とデータ型が含まれます
- データベースのメタデータから自動的に検出
Claude Desktopでの使用
このサーバーを Claude Desktop アプリで使用するには、 claude_desktop_config.json
の「mcpServers」セクションに次の構成を追加します。
/db_name
をデータベース名に置き換えるか、空白のままにしてすべてのデータベースを取得します。
トラブルシューティング
「MCP サーバー mcp-server-mysql に接続できませんでした」というエラーが発生した場合は、以下の構成のように、必要なすべてのバイナリのパスを明示的に設定する必要がある場合があります。
ライセンス
このMCPサーバーはMITライセンスに基づいてライセンスされています。つまり、MITライセンスの条件に従って、ソフトウェアを自由に使用、改変、配布することができます。詳細については、プロジェクトリポジトリのLICENSEファイルをご覧ください。
This server cannot be installed
hybrid server
The server is able to function both locally and remotely, depending on the configuration or use case.
MySQL データベースへの読み取り専用アクセスを提供し、LLM がデータベース スキーマを検査し、読み取り専用クエリを実行できるようにするモデル コンテキスト プロトコル サーバー。
Related MCP Servers
- -securityAlicense-qualityEnables LLMs to interact with MySQL databases by inspecting schemas and executing safe, read-only queries within transactions.Last updated -6JavaScriptMIT License
- -securityAlicense-qualityA Model Context Protocol server that provides read-only access to MySQL databases, enabling LLMs to inspect database schemas and execute read-only queries.Last updated -5,426418TypeScriptMIT License
- -securityAlicense-qualityA Model Context Protocol server providing read-only access to MySQL databases, enabling LLMs to inspect database schemas and execute read-only queries.Last updated -5,426TypeScriptMIT License
- -security-license-qualityA Model Context Protocol server providing read-only access to MySQL databases, enabling LLMs to inspect database schemas and execute read-only queries.Last updated -1JavaScript