MCPcopy Create free account

hub / github.com/Coding-Solo/godot-mcp / functions

Functions34 in github.com/Coding-Solo/godot-mcp

↓ 70 callersMethodcreateErrorResponse
* Create a standardized error response with possible solutions
src/index.ts:177
↓ 40 callersMethodlogDebug
* Log debug messages if debug mode is enabled * Using stderr instead of stdout to avoid interfering with JSON-RPC communication
src/index.ts:168
↓ 22 callersMethodvalidatePath
* Validate a path to prevent path traversal attacks
src/index.ts:207
↓ 11 callersMethodnormalizeParameters
* Normalize parameters to camelCase format * @param params Object with either snake_case or camelCase keys * @returns Object with all keys in ca
src/index.ts:424
↓ 7 callersMethoddetectGodotPath
* Detect the Godot executable path based on the operating system
src/index.ts:280
↓ 7 callersMethodexecuteOperation
* Execute a Godot operation using the operations script * @param operation The operation to execute * @param params The parameters for the opera
src/index.ts:484
↓ 5 callersMethodisValidGodotPath
* Validate if a Godot path is valid and executable
src/index.ts:247
↓ 2 callersMethodisGodot44OrLater
* Check if the Godot version is 4.4 or later * @param version The Godot version string * @returns True if the version is 4.4 or later
src/index.ts:409
↓ 2 callersMethodvalidateClassName
* Validate a Godot class name to prevent arbitrary script instantiation. * Class names must be simple identifiers (e.g. "Node2D", "CharacterBody3D"
src/index.ts:222
↓ 1 callersMethodcleanup
* Clean up resources when shutting down
src/index.ts:394
↓ 1 callersMethodconvertCamelToSnakeCase
* Convert camelCase keys to snake_case * @param params Object with camelCase keys * @returns Object with snake_case keys
src/index.ts:457
↓ 1 callersMethodfindGodotProjects
* Find Godot projects in a directory * @param directory Directory to search * @param recursive Whether to search recursively * @returns Array
src/index.ts:603
↓ 1 callersMethodgetProjectStructureAsync
* Get the structure of a Godot project asynchronously by counting files recursively * @param projectPath Path to the Godot project * @returns Pr
src/index.ts:1321
↓ 1 callersMethodhandleAddNode
* Handle the add_node tool
src/index.ts:1564
↓ 1 callersMethodhandleCreateScene
* Handle the create_scene tool
src/index.ts:1482
↓ 1 callersMethodhandleExportMeshLibrary
* Handle the export_mesh_library tool
src/index.ts:1771
↓ 1 callersMethodhandleGetDebugOutput
* Handle the get_debug_output tool
src/index.ts:1157
↓ 1 callersMethodhandleGetGodotVersion
* Handle the get_godot_version tool
src/index.ts:1226
↓ 1 callersMethodhandleGetProjectInfo
* Handle the get_project_info tool
src/index.ts:1381
↓ 1 callersMethodhandleGetUid
* Handle the get_uid tool
src/index.ts:1965
↓ 1 callersMethodhandleLaunchEditor
* Handle the launch_editor tool * @param args Tool arguments
src/index.ts:974
↓ 1 callersMethodhandleListProjects
* Handle the list_projects tool
src/index.ts:1267
↓ 1 callersMethodhandleLoadSprite
* Handle the load_sprite tool
src/index.ts:1667
↓ 1 callersMethodhandleRunProject
* Handle the run_project tool * @param args Tool arguments
src/index.ts:1053
↓ 1 callersMethodhandleSaveScene
* Handle the save_scene tool
src/index.ts:1866
↓ 1 callersMethodhandleStopProject
* Handle the stop_project tool
src/index.ts:1188
↓ 1 callersMethodhandleUpdateProjectUids
* Handle the update_project_uids tool
src/index.ts:2074
↓ 1 callersMethodisValidGodotPathSync
* Synchronous validation for constructor use * This is a quick check that only verifies file existence, not executable validity * Full validatio
src/index.ts:234
↓ 1 callersMethodrun
* Run the MCP server
src/index.ts:2174
↓ 1 callersMethodsetupToolHandlers
* Set up the tool handlers for the MCP server
src/index.ts:666
Methodconstructor
(config?: GodotServerConfig)
src/index.ts:100
MethodgetProjectStructure
* Get the structure of a Godot project * @param projectPath Path to the Godot project * @returns Object representing the project structure
src/index.ts:550
MethodscanDirectory
(currentPath: string)
src/index.ts:1331
MethodsetGodotPath
* Set a custom Godot path * @param customPath Path to the Godot executable * @returns True if the path is valid and was set, false otherwise
src/index.ts:373