mlgym-deploy
v3.3.44
Published
MCP server for MLGym - Complete deployment management: deploy, configure, monitor, and rollback applications
Maintainers
Readme
mlgym-deploy
MCP (Model Context Protocol) server for GitLab Backend - User creation and project deployment.
Installation
npm install -g mlgym-deployUsage
As MCP Server
Configure in your MCP client settings:
{
"mcpServers": {
"mlgym": {
"command": "npx",
"args": ["-y", "mlgym-deploy"]
}
}
}Available Tools
mlgym_user_create- Create a new user with GitLab, Coolify, and SSH key setupmlgym_project_init- Initialize a project with GitLab repository and Coolify deployment
Configuration
For Published Package (Production)
Set the backend URL via environment variable:
export MLGYM_BACKEND_URL=https://backend.eu.ezb.netFor Local Development
When developing locally, you'll need to configure the MCP server with absolute paths. Configuration files are user-specific and not tracked in git.
- Copy example files to create your local config:
cp cursor-config.json.example cursor-config.json
cp mcp.json.example mcp.json
cp claude-desktop-config.json.example claude-desktop-config.json
cp ADD_TO_CURSOR_SETTINGS.json.example ADD_TO_CURSOR_SETTINGS.json- Update the path in your config file with your absolute path:
{
"mcpServers": {
"gitlab-backend": {
"command": "node",
"args": ["/your/absolute/path/to/mcp-server/index.js"],
"env": {
"GITLAB_BACKEND_URL": "https://backend.eu.ezb.net",
"GITLAB_URL": "https://git.mlgym.io",
"COOLIFY_URL": "https://coolify.eu.ezb.net"
}
}
}
}Note: Absolute paths are required because the IDE launches the MCP server from its own working directory, not the project directory. Relative paths won't work.
License
MIT
