Skip to main content
Glama

warden_start_svc

Start Warden system services for Magento 2 development environments by providing the project directory path to manage local development workflows.

Instructions

Start Warden system services

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
project_pathYesPath to the project directory

Implementation Reference

  • The main handler function for the 'warden_start_svc' tool. It extracts the project_path from arguments and executes 'warden svc up' command in the project directory using the shared executeWardenCommand helper.
    async startSvc(args) { const { project_path } = args; return await this.executeWardenCommand( project_path, ["svc", "up"], "Starting Warden system services", ); }
  • Input schema definition for the 'warden_start_svc' tool, specifying that project_path is a required string parameter.
    { name: "warden_start_svc", description: "Start Warden system services", inputSchema: { type: "object", properties: { project_path: { type: "string", description: "Path to the project directory", }, }, required: ["project_path"], }, },
  • server.js:327-328 (registration)
    Registration/dispatch in the CallToolRequestSchema handler switch statement, routing calls to the startSvc method.
    case "warden_start_svc": return await this.startSvc(request.params.arguments);

Latest Blog Posts

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/run-as-root/warden-mcp-server'

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