Skip to main content
Glama
rochana-sadila

defold-mcp

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
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

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

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/rochana-sadila/defold-mcp'

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