About 設定手順
設定手順 is a setup guide for a project tagged for MySQL and MCP. It describes creating and activating a Python virtual environment, installing dependencies, and adding an MCP server entry to an LLM application's configuration.
Key features
- 01Create a virtual environment with uv
- 02Install dependencies from requirements.txt
- 03Add an MCP server configuration
Use cases
- 01Prepare the Python development environment
- 02Configure an LLM application to start the MySQL MCP server
MCP support
The instructions show how to add a MySQL server entry under mcpServers in an LLM application's configuration. The README excerpt does not describe the server's tools or data.
Configuration
Local server config is the same for every client. Copy it into your client’s MCP config file.
We haven’t collected a package or remote endpoint for this server. Follow the instructions in the project README.
Tools
Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.
Details
From the project README設定手順
以下の手順で開発環境をセットアップできます。
① 仮想環境を作成
uv venv
このコマンドを実行すると、カレントディレクトリに .venv/ フォルダが作成されます。
② 仮想環境をアクティブにする
source .venv/bin/activate
③ 依存パッケージをインストールする
uv pip install -r requirements.txt
このコマンドで、プロジェクトに必要なPythonライブラリが一括でインストールされます。
④ LLMアプリの設定ファイルに下記を追記します。
{
"mcpServers": {
"mysql": {
"command": "uv",
"args": [
"--directory",
"/path/to/mcp-server-mysql",
"run",
"main.py"
],
"env": {
"MYSQL_HOST": "${db_host}",
"MYSQL_PORT": "${db_port}",
"MYSQL_USER": "${db_user}",
"MYSQL_PASSWORD": "${db_password}",
"MYSQL_DATABASE": "${db_name}"
}
}
}
⑤ LLMアプリを再起動
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.