設定手順
@nsh58
关于 設定手順
暂无概览
基本信息
配置
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"mysql": {
"command": "uv",
"args": [
"--directory",
"/path/to/mcp-server-mysql",
"run",
"main.py"
],
"env": {
"MYSQL_HOST": "",
"MYSQL_PORT": "",
"MYSQL_USER": "",
"MYSQL_PASSWORD": "",
"MYSQL_DATABASE": ""
}
}
}
}工具
未检测到工具
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
概览
What is 設定手順?
設定手順 provides step‑by‑step instructions for setting up a development environment for an MCP server that connects to a MySQL database. The configuration snippet shows how to register the server in an LLM application’s settings, using environment variables for database credentials.
How to use 設定手順?
Follow the five steps: (1) create a virtual environment with uv venv, (2) activate it with source .venv/bin/activate, (3) install dependencies with uv pip install -r requirements.txt, (4) add the mysql MCP server configuration to the LLM app’s settings file, (5) the server is then ready to be used by the LLM application.
Key features of 設定手順
- Step‑by‑step environment setup using
uv - Automatically installs required Python dependencies
- Includes a ready‑to‑use MCP server configuration for MySQL
- Uses environment variables for database connection details
Use cases of 設定手順
—
FAQ from 設定手順
What does 設定手順 do?
It describes how to prepare a development environment for an MCP server that interacts with MySQL, including dependency installation and configuring the server for an LLM app.
What dependencies does it require?
The README mentions a requirements.txt file that lists required Python libraries, but the exact contents are not specified.
Where is the data stored?
The server connects to a MySQL database; connection parameters are provided via environment variables (MYSQL_HOST, MYSQL_PORT, etc.).
What transport or authentication does it use?
The README does not specify the transport protocol or authentication mechanism. The configuration only shows environment‑variable‑based credentials for MySQL.
Is there any runtime requirement?
Python and the uv tool are needed. The README assumes uv is installed and uses it for virtual environment and package management.
数据库 分类下的更多 MCP 服务器
MCP Server for Milvus
zilliztechModel Context Protocol Servers for Milvus

Redis
modelcontextprotocolModel Context Protocol Servers
Postgres Mcp
crystaldbaPostgres MCP Pro provides configurable read/write access and performance analysis for you and your AI agents.
MCP Alchemy
runekaagaardA MCP (model context protocol) server that gives the LLM access to and knowledge about relational databases like SQLite, Postgresql, MySQL & MariaDB, Oracle, and MS-SQL.
ClickHouse MCP Server
ClickHouseConnect ClickHouse to your AI assistants.
评论