Skip to main content
Glama

stop_project

Halt the execution of the currently active Godot project using this tool, ensuring controlled project management within the Godot MCP server environment.

Instructions

Stop the currently running Godot project

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The handler function that executes the stop_project tool. It terminates the active Godot process by calling kill() on it, captures the output and errors, clears the activeProcess state, and returns a success message with the final logs.
    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 ), }, ], }; }
  • src/index.ts:710-717 (registration)
    Tool registration in the listTools handler, defining the name, description, and input schema (no parameters required).
    { name: 'stop_project', description: 'Stop the currently running Godot project', inputSchema: { type: 'object', properties: {}, required: [], },
  • src/index.ts:940-941 (registration)
    Dispatch in the CallToolRequestSchema handler that routes calls to the stop_project tool to its handler function.
    case 'stop_project': return await this.handleStopProject();

Other Tools

Related Tools

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