Skip to main content
Glama

MySQL MCP Server

by w2pwinlinux
Dockerfile.windows1.13 kB
# Imagen base de Windows Server Core (ajusta la versión según tu host) FROM mcr.microsoft.com/windows/servercore:ltsc2022 # Variables de entorno para Python ENV PYTHON_VERSION=3.12.3 ENV PYTHON_HOME=C:\Python ENV PATH=%PYTHON_HOME%;%PYTHON_HOME%\Scripts;%PATH% WORKDIR /app COPY . /app # Descarga e instala Python RUN powershell -Command "\ $ErrorActionPreference = 'Stop'; \ Invoke-WebRequest -Uri ('https://www.python.org/ftp/python/' + $env:PYTHON_VERSION + '/python-' + $env:PYTHON_VERSION + '-amd64.exe') -OutFile 'python-installer.exe'; \ Start-Process -Wait -FilePath 'python-installer.exe' -ArgumentList '/quiet InstallAllUsers=1 PrependPath=1 TargetDir=C:\\Python'; \ Remove-Item python-installer.exe; \ " # Instala pip y dependencias RUN python -m ensurepip && \ pip install --upgrade pip && \ pip install setuptools pyarmor==9.1.7 nuitka # Ofusca el script RUN pyarmor gen -O dist mysql_mcp_server_v2.py # Compila el script ofuscado a .exe RUN python -m nuitka --onefile --windows-disable-console --output-filename=mysql_mcp_server_v2.exe dist/mysql_mcp_server_v2.py CMD ["cmd"]

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/w2pwinlinux/mcp_server_instalador'

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