Skip to main content
Glama

stop_project

Stop the currently running Godot project to halt execution and free system resources.

Instructions

Stop the currently running Godot project

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The main handler function for the 'stop_project' tool. It checks if there is an active Godot process, kills it if present, clears the active process reference, and returns the captured output and errors.
    private async handleStopProject() { if (!this.activeProcess) { return this.createErrorResponse( 'No active Godot process to stop.', [ 'Use run_project to start a Godot project first', 'The process may have already terminated', ] ); } this.logDebug('Stopping active Godot process'); this.activeProcess.process.kill(); const output = this.activeProcess.output; const errors = this.activeProcess.errors; this.activeProcess = null; return { content: [ { type: 'text', text: JSON.stringify( { message: 'Godot project stopped', finalOutput: output, finalErrors: errors, }, null, 2 ), }, ], }; }
  • The tool definition including name, description, and empty input schema (no parameters required) for the 'stop_project' tool, registered in the ListToolsRequestSchema handler.
    name: 'stop_project', description: 'Stop the currently running Godot project', inputSchema: { type: 'object', properties: {}, required: [], },
  • src/index.ts:940-941 (registration)
    The dispatch registration in the CallToolRequestSchema switch statement that routes calls to the 'stop_project' tool to the handleStopProject method.
    case 'stop_project': return await this.handleStopProject();

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/Coding-Solo/godot-mcp'

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