Skip to main content
Glama

MySQL MCP Server

Dockerfile436 B
FROM python:3.12-slim RUN apt-get update && \ rm -rf /var/lib/apt/lists/* WORKDIR /app # 复制本地代码到镜像 COPY . . # 自动生成 .env(如不存在则复制 example.env) RUN [ -f .env ] || cp example.env .env # 安装依赖 RUN pip install --no-cache-dir -r requirements.txt # 暴露端口(如需) EXPOSE 3000 # 支持环境变量覆盖 ENV HOST=0.0.0.0 \ PORT=3000 CMD ["python", "-m", "src.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/mangooer/mysql-mcp-server-sse'

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