MCP.so
登录

設定手順 MCP Server

@nsh58

基本信息

分类

数据库

传输方式

stdio

作者

nsh58

关于 設定手順 MCP Server

暂无概览

設定手順 MCP Server 配置

使用下面的配置,将此服务器添加到你的 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": ""
      }
    }
  }
}

設定手順 MCP Server 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

工具是从 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 設定手順

—

常见问题

1

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.

2

What dependencies does it require?

The README mentions a `requirements.txt` file that lists required Python libraries, but the exact contents are not specified.

3

Where is the data stored?

The server connects to a MySQL database; connection parameters are provided via environment variables (`MYSQL_HOST`, `MYSQL_PORT`, etc.).

4

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.

5

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 服务器