Skip to main content
Glama

mysql_mcp_server

by wenb1n-dev
Dockerfile817 B
# Generated by https://smithery.ai. See: https://smithery.ai/docs/config#dockerfile # Use the official Python image from the Docker Hub FROM python:3.11-slim # Set the working directory in the container WORKDIR /app # Copy the requirements file into the container COPY requirements.txt . # Install the dependencies specified in the requirements file RUN pip install --no-cache-dir -r requirements.txt # Copy the current directory contents into the container at /app COPY src/ /app/src # Set environment variables for MySQL (these can be overwritten with `docker run -e`) ENV MYSQL_HOST=localhost ENV MYSQL_PORT=3306 ENV MYSQL_USER=root ENV MYSQL_PASSWORD=123456 ENV MYSQL_DATABASE=a_llm ENV MYSQL_ROLE=admin ENV PYTHONPATH=/app/src # Command to run the server CMD ["python", "-m", "mysql_mcp_server_pro.server"]

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/wenb1n-dev/mysql_mcp_server_pro'

If you have feedback or need assistance with the MCP directory API, please join our Discord server