defold-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| defold_project_infoA | Read and summarize the game.project file (title, resolution, main collection, dependencies). |
| defold_list_project | List the Defold project tree (collections, game objects, scripts, atlases, tilesources). |
| defold_read_file | Read the contents of a file inside the Defold project (path-traversal protected). |
| defold_write_script | Write or overwrite a Lua .script file in the Defold project (creates parent dirs if needed). |
| defold_init_project | Scaffold a brand-new, minimal, valid Defold project from scratch (game.project, main collection, script, .gitignore). Refuses to overwrite an existing project. |
| defold_build | Build the Defold project with bob.jar. Returns parsed errors and raw log. variant defaults to 'debug'; archive defaults to true. |
| defold_edit_collection | Edit a Defold .collection file: add a game object, add a component to a game object, or set a property. Returns a unified diff of the change. |
| defold_run_headless | Run the built Defold game headlessly and capture its stdout/log. Kills after timeoutSec (default 10). |
| defold_run_tests | Build with --variant headless, run headlessly with an optional test settings file, and parse PASS/FAIL lines from the log. |
| defold_hot_reload | EXPERIMENTAL: best-effort trigger of Defold engine hot-reload via the engine service port. May not work depending on Defold version. If it fails, use defold_build + relaunch instead. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 1 tool
With only one tool, there is no possibility of confusion between tools.
A single tool inherently has no naming conflicts or inconsistencies.
A single tool for a game engine server is too limited; typical servers have more tools for broader functionality.
The server only provides a read-only summary of a project file, lacking essential operations like project creation, asset management, or build commands.