#!/usr/bin/env node /** * Godot MCP Server * * An MCP server that provides Godot game engine tools to AI assistants. * Works with Claude Desktop, Cursor, Codex, or any MCP-compatible client. * * Architecture (connect-or-spawn): * When started, the server probes for an existing primary instance. * - If found → enters PROXY mode (forwards tool calls via HTTP) * - If absent → enters PRIMARY mode (owns Godot bridge + HTTP API) * * Primary mode: * - WebSocket server on port 6505 for Godot plugin communication * - HTTP server on port 6506 for proxy instances * - MCP protocol via stdio for the launching AI client * * Proxy mode: * - MCP protocol via stdio for the launching AI client * - Forwards tool calls to the primary via HTTP */ export {}; //# sourceMappingURL=index.d.ts.map