mlgym-deploy 2.3.0 → 2.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/index.js +6 -6
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -17,7 +17,7 @@ import crypto from 'crypto';
17
17
  const execAsync = promisify(exec);
18
18
 
19
19
  // Current version of this MCP server
20
- const CURRENT_VERSION = '2.3.0';
20
+ const CURRENT_VERSION = '2.3.1';
21
21
  const PACKAGE_NAME = 'mlgym-deploy';
22
22
 
23
23
  // Version check state
@@ -402,18 +402,18 @@ const TOOLS = [
402
402
  },
403
403
  {
404
404
  name: 'mlgym_auth_check',
405
- description: 'Check if a user account exists and whether SSH keys are configured. Use this BEFORE creating a new account to avoid duplicates.',
405
+ description: '🚨 ALWAYS USE THIS FIRST when deploying! Check if user account exists BEFORE asking for other details. Start by ONLY asking for email.',
406
406
  inputSchema: {
407
407
  type: 'object',
408
408
  properties: {
409
409
  email: {
410
410
  type: 'string',
411
- description: 'Email address to check',
411
+ description: 'Email address to check (ask for this FIRST)',
412
412
  pattern: '^[^@]+@[^@]+\\.[^@]+$'
413
413
  },
414
414
  password: {
415
415
  type: 'string',
416
- description: 'Password (optional - only needed if account exists)',
416
+ description: 'Password (ONLY ask if account exists)',
417
417
  minLength: 8
418
418
  }
419
419
  },
@@ -422,7 +422,7 @@ const TOOLS = [
422
422
  },
423
423
  {
424
424
  name: 'mlgym_user_create',
425
- description: 'Create a new user OR setup SSH keys for existing user. First use mlgym_auth_check to verify if account exists.',
425
+ description: 'Create new user or setup SSH. ⚠️ NEVER use this first! Always check with mlgym_auth_check before asking for full details.',
426
426
  inputSchema: {
427
427
  type: 'object',
428
428
  properties: {
@@ -456,7 +456,7 @@ const TOOLS = [
456
456
  },
457
457
  {
458
458
  name: 'mlgym_project_init',
459
- description: 'Initialize and deploy a project with GitLab repository and Coolify deployment. IMPORTANT: You must explicitly ask the user for project name, description, and deployment URL if deployment is enabled.',
459
+ description: 'Initialize project deployment. ⚠️ ONLY use AFTER authentication! Ask for project details AFTER user is logged in, not before.',
460
460
  inputSchema: {
461
461
  type: 'object',
462
462
  properties: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mlgym-deploy",
3
- "version": "2.3.0",
3
+ "version": "2.3.1",
4
4
  "description": "MCP server for GitLab Backend - User creation and project deployment",
5
5
  "main": "index.js",
6
6
  "type": "module",