godot-mcp-runtime 3.0.0 → 3.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (46) hide show
  1. package/README.md +44 -67
  2. package/dist/dispatch.js +27 -27
  3. package/dist/dispatch.js.map +1 -1
  4. package/dist/index.js +1 -1
  5. package/dist/scripts/godot_operations.gd +150 -115
  6. package/dist/scripts/mcp_bridge.gd +19 -24
  7. package/dist/tools/autoload-tools.d.ts +8 -8
  8. package/dist/tools/autoload-tools.d.ts.map +1 -1
  9. package/dist/tools/autoload-tools.js +15 -11
  10. package/dist/tools/autoload-tools.js.map +1 -1
  11. package/dist/tools/node-tools.d.ts.map +1 -1
  12. package/dist/tools/node-tools.js +105 -25
  13. package/dist/tools/node-tools.js.map +1 -1
  14. package/dist/tools/project-tools.d.ts.map +1 -1
  15. package/dist/tools/project-tools.js +52 -15
  16. package/dist/tools/project-tools.js.map +1 -1
  17. package/dist/tools/runtime-tools.d.ts.map +1 -1
  18. package/dist/tools/runtime-tools.js +214 -28
  19. package/dist/tools/runtime-tools.js.map +1 -1
  20. package/dist/tools/scene-tools.d.ts.map +1 -1
  21. package/dist/tools/scene-tools.js +30 -12
  22. package/dist/tools/scene-tools.js.map +1 -1
  23. package/dist/tools/validate-tools.d.ts.map +1 -1
  24. package/dist/tools/validate-tools.js +89 -30
  25. package/dist/tools/validate-tools.js.map +1 -1
  26. package/dist/utils/autoload-ini.d.ts +6 -0
  27. package/dist/utils/autoload-ini.d.ts.map +1 -1
  28. package/dist/utils/autoload-ini.js +13 -0
  29. package/dist/utils/autoload-ini.js.map +1 -1
  30. package/dist/utils/bridge-manager.d.ts +18 -1
  31. package/dist/utils/bridge-manager.d.ts.map +1 -1
  32. package/dist/utils/bridge-manager.js +61 -11
  33. package/dist/utils/bridge-manager.js.map +1 -1
  34. package/dist/utils/bridge-protocol.d.ts +6 -3
  35. package/dist/utils/bridge-protocol.d.ts.map +1 -1
  36. package/dist/utils/bridge-protocol.js +28 -15
  37. package/dist/utils/bridge-protocol.js.map +1 -1
  38. package/dist/utils/godot-runner.d.ts +47 -3
  39. package/dist/utils/godot-runner.d.ts.map +1 -1
  40. package/dist/utils/godot-runner.js +221 -40
  41. package/dist/utils/godot-runner.js.map +1 -1
  42. package/dist/utils/logger.d.ts +1 -0
  43. package/dist/utils/logger.d.ts.map +1 -1
  44. package/dist/utils/logger.js +1 -1
  45. package/dist/utils/logger.js.map +1 -1
  46. package/package.json +2 -1
package/README.md CHANGED
@@ -1,43 +1,62 @@
1
1
  # Godot MCP Runtime
2
2
 
3
- <a href="https://glama.ai/mcp/servers/@Erodenn/godot-mcp-runtime">
4
- <img width="380" height="200" src="https://glama.ai/mcp/servers/@Erodenn/godot-runtime-mcp/badge" alt="godot-runtime-mcp MCP server" />
5
- </a>
3
+ <p align="center">
4
+ <a href="https://glama.ai/mcp/servers/@Erodenn/godot-mcp-runtime"><img width="380" height="200" src="https://glama.ai/mcp/servers/@Erodenn/godot-runtime-mcp/badge" alt="godot-runtime-mcp MCP server"></a>
5
+ </p>
6
6
 
7
- [![](https://badge.mcpx.dev?type=server 'MCP Server')](https://modelcontextprotocol.io/introduction)
8
- [![npm version](https://img.shields.io/npm/v/godot-mcp-runtime)](https://www.npmjs.com/package/godot-mcp-runtime)
9
- [![npm downloads](https://img.shields.io/npm/dt/godot-mcp-runtime)](https://www.npmjs.com/package/godot-mcp-runtime)
10
- [![License: MIT](https://badgen.net/github/license/Erodenn/godot-mcp-runtime)](LICENSE)
11
- [![Node.js](https://img.shields.io/node/v/godot-mcp-runtime)](https://nodejs.org/)
7
+ <p align="center">
8
+ <a href="https://modelcontextprotocol.io/introduction"><img src="https://badge.mcpx.dev?type=server" alt="MCP Server"></a>
9
+ <a href="https://www.npmjs.com/package/godot-mcp-runtime"><img src="https://img.shields.io/npm/v/godot-mcp-runtime" alt="npm version"></a>
10
+ <a href="https://www.npmjs.com/package/godot-mcp-runtime"><img src="https://img.shields.io/npm/dt/godot-mcp-runtime" alt="npm downloads"></a>
11
+ <a href="LICENSE"><img src="https://badgen.net/github/license/Erodenn/godot-mcp-runtime" alt="License: MIT"></a>
12
+ <a href="https://nodejs.org/"><img src="https://img.shields.io/node/v/godot-mcp-runtime" alt="Node.js"></a>
13
+ </p>
12
14
 
13
- A lightweight [MCP](https://modelcontextprotocol.io/) server that gives AI assistants direct access to a running [Godot](https://godotengine.org/) 4.x game. Not just file editing, not just scene manipulation. Actual runtime control: input simulation, screenshots, UI discovery, and live GDScript execution while the game is running.
15
+ A lightweight [MCP](https://modelcontextprotocol.io/) server that pairs comprehensive headless editing with full runtime control over a [Godot](https://godotengine.org/) 4.x project. Scene, node, autoload, and validation ops cover everything short of the most niche corners of the engine; the runtime bridge adds screenshots, input simulation, UI discovery, and live GDScript against the running scene tree.
14
16
 
15
- **The distinction matters: the AI doesn't just write your game, it can check its work.**
17
+ <p align="center"><img src="docs/assets/demo.gif" alt="Agent driving a Godot game via MCP runtime tools" width="1000"></p>
16
18
 
17
- When you run a project through this server, it injects a lightweight TCP bridge as an autoload, and suddenly the AI can interact with your game the same way a player would: press keys, click buttons, read what's on screen, and run arbitrary code against the live scene tree.
19
+ <h3 align="center">The AI doesn't just write your game, it can check its work.</h3>
20
+ <br>
18
21
 
19
- **No addon required.** Most Godot MCP servers that offer runtime support ship as a Godot addon something you install into your project, commit to version control, and manage as a dependency. All this server needs is Node.js and a Godot executable: no addon installation, no project modifications, no cleanup.
22
+ - **Headless editing**scenes, nodes, scripts, signals, validation, no editor window
23
+ - **Runtime control** — screenshots, input simulation, UI discovery, and live GDScript against the running game
24
+ - **Zero footprint** — no Godot addon, no project commits, auto-cleanup on shutdown
25
+
26
+ **No addon required.** Most Godot MCP servers that offer runtime support ship as a Godot addon, something you install into your project, commit to version control, and manage as a dependency. Use npx and there's no install or setup needed.
20
27
 
21
28
  Think of it as [Playwright MCP](https://github.com/microsoft/playwright-mcp), but for Godot. This does the same thing for games: run the project, take a screenshot, simulate input, read what's on screen, execute a script against the live scene tree. The agent closes the loop on its own changes rather than handing off to you to verify.
22
29
 
23
- This is not a playtesting replacement. It doesn't catch the subtle feel issues that only a human notices, and it won't tell you if your game is fun. What it does is let an agent confirm that a scene loads, a button responds, a value updated, a script ran without errors. The ability to check work is crucial for AI driven workflows.
30
+ > [!NOTE]
31
+ > This is not a playtesting replacement. It doesn't catch the subtle feel issues that only a human notices, and it won't tell you if your game is fun. What it does is let an agent confirm that a scene loads, a button responds, a value updated, a script ran without errors. The ability to check work is crucial for AI driven workflows.
32
+
33
+ ## Contents
24
34
 
25
- Each tool teaches agents how to use it through its description and response messages: what to call next, when to wait, and how to recover from errors. Every operation is its own tool with only its relevant parameters, no operation discriminators and no conditional schemas. This server is built for agents.
35
+ - [What It Does](#what-it-does)
36
+ - [Quick Start](#quick-start)
37
+ - [Docs](#docs)
38
+ - [Acknowledgments](#acknowledgments)
39
+ - [License](#license)
26
40
 
27
41
  ## What It Does
28
42
 
29
- **Headless editing.** Create scenes, add nodes, set properties, attach scripts, connect signals, manage UIDs, validate GDScript. All the standard operations, no editor window required.
43
+ **Built for agents.** Every tool is purpose-built and self-documenting. When something fails, the response tells the agent how to fix it; when something succeeds, it points toward the next step. The result is an AI that stays unstuck and self-corrects without needing you to nudge it along.
44
+
45
+ **Headless editing.** Create scenes, add nodes, set properties, attach scripts, connect signals, validate GDScript. All the standard operations, no editor window required.
30
46
 
31
- **Runtime bridge.** When `run_project` or `attach_project` is called, the server injects `McpBridge` as an autoload. This opens a TCP listener on port 9900 (localhost only, override with `MCP_BRIDGE_PORT`) and enables:
47
+ **Runtime bridge.** When `run_project` or `attach_project` is called, the server injects `McpBridge` as an autoload. This opens a localhost-only TCP listener (both auto-select a free port when `bridgePort` is omitted; pass `bridgePort` to pin a specific port) and enables:
32
48
 
33
49
  - **Screenshots:** Capture the viewport — by default returns a 960x540 preview inline plus the full PNG on disk; use `responseMode: 'full'` for pixel-perfect or `'path_only'` to skip the inline image
34
50
  - **Input simulation:** Batched sequences of key presses, mouse clicks, mouse motion, UI element clicks by name or path, Godot action events, and timed waits
35
51
  - **UI discovery:** Walk the live scene tree and collect every visible Control node with its position, type, text content, and disabled state
36
52
  - **Live script execution:** Compile and run arbitrary GDScript with full SceneTree access while the game is running
37
53
 
38
- **Background mode.** Pass `background: true` to `run_project` and the Godot window moves off-screen with physical input blocked: borderless, unfocusable, mouse-passthrough. Programmatic input, screenshots, and all runtime tools work exactly the same. Useful for automated agent-driven testing where the window shouldn't be visible or interactive.
54
+ **Background mode.** Pass `background: true` to `run_project` and the Godot window moves off-screen (positioned at `(-9999, -9999)`) with physical input blocked: borderless, unfocusable, mouse-passthrough. Programmatic input, screenshots, and all runtime tools work exactly the same. Useful for automated agent-driven testing where the window shouldn't be visible or interactive.
39
55
 
40
- **Manual attach mode.** When something other than MCP launches the game (a CI pipeline, an external debugger, your own shell), call `attach_project` first. It injects the bridge and marks the project active without spawning Godot, so when you launch the game manually, runtime tools work against it. The tradeoff: `get_debug_output` is unavailable in attached mode because stdout and stderr only flow through processes MCP started itself. Use `detach_project` when done.
56
+ **Manual attach mode.** When something other than MCP launches the game (a CI pipeline, an external debugger, your own shell), call `attach_project` first. It injects the bridge and marks the project active without spawning Godot, so when you launch the game manually, runtime tools work against it. Use `detach_project` when done.
57
+
58
+ > [!IMPORTANT]
59
+ > `get_debug_output` is unavailable in attached mode. stdout and stderr only flow through processes MCP started itself, so when Godot is launched externally there's no captured output to return. Use `run_project` if you need the debug stream.
41
60
 
42
61
  The bridge cleans itself up automatically when `stop_project` or `detach_project` is called. No leftover autoloads, no modified project files.
43
62
 
@@ -112,62 +131,20 @@ npm run build
112
131
  }
113
132
  ```
114
133
 
134
+ > [!TIP]
135
+ > **Prefer pnpm?** All three install paths work with pnpm. Substitute `pnpm dlx godot-mcp-runtime` for `npx -y godot-mcp-runtime`, `pnpm add -g godot-mcp-runtime` for the global install, or `pnpm install && pnpm run build` for the source build. pnpm ships stronger defaults against npm supply-chain attacks; see [pnpm's supply chain security guide](https://pnpm.io/supply-chain-security).
136
+
115
137
  If Godot is on your `PATH`, you can omit `GODOT_PATH` entirely. The server will auto-detect it. Set `"DEBUG": "true"` in `env` for verbose logging.
116
138
 
117
139
  ### Verify
118
140
 
119
141
  Ask your AI assistant to call `get_project_info`. If it returns a Godot version string (e.g., `4.4.stable`), you're connected and working.
120
142
 
121
- ## Tools
122
-
123
- See [`docs/tools.md`](docs/tools.md) for the full tool reference, grouped by category. Authoring standards for adding or modifying tools live in [`docs/tool-authoring.md`](docs/tool-authoring.md).
124
-
125
- ## Architecture
126
-
127
- ```
128
- src/
129
- ├── index.ts # MCP server entry point, server setup
130
- ├── dispatch.ts # Tool-name → handler dispatch table
131
- ├── tools/
132
- │ ├── project-tools.ts # Project introspection (list_projects, get_project_info, files, search, settings, scene_dependencies)
133
- │ ├── runtime-tools.ts # Runtime/lifecycle (run_project, attach_project, take_screenshot, etc.)
134
- │ ├── autoload-tools.ts # Autoload management (list/add/remove/update_autoload)
135
- │ ├── scene-tools.ts # Scene creation, node addition, sprite loading, batch ops
136
- │ ├── node-tools.ts # Node properties, scripts, tree, duplication, signals
137
- │ └── validate-tools.ts # GDScript and scene validation
138
- ├── scripts/
139
- │ ├── godot_operations.gd # Headless GDScript operations
140
- │ └── mcp_bridge.gd # TCP autoload for runtime communication
141
- └── utils/
142
- ├── godot-runner.ts # Process spawning, output parsing, shared validation helpers
143
- ├── handler-helpers.ts # executeSceneOp wrapper for headless-op handlers
144
- ├── bridge-manager.ts # McpBridge artifact lifecycle (inject, cleanup, repair)
145
- ├── bridge-protocol.ts # TCP framing (length-prefixed frames, port resolution)
146
- ├── autoload-ini.ts # project.godot [autoload] INI primitives
147
- └── logger.ts # logDebug / logError helpers
148
- ```
149
-
150
- Headless operations spawn Godot with `--headless --script godot_operations.gd`, perform the operation, and return JSON. Runtime operations communicate over a long-lived TCP connection with the injected `McpBridge` autoload (4-byte big-endian length prefix + UTF-8 JSON frames).
151
-
152
- ## How the Bridge Works
153
-
154
- When `run_project` or `attach_project` is called:
155
-
156
- 1. `mcp_bridge.gd` is copied into the project directory
157
- 2. It's registered as an autoload in `project.godot`
158
- 3. Godot launches with the bridge listening on `127.0.0.1:9900` (override with `MCP_BRIDGE_PORT`). With `run_project`, MCP spawns the process; with `attach_project`, you launch it yourself.
159
- 4. The Node side opens a long-lived TCP connection on first runtime call and sends framed JSON commands; the bridge replies on the same connection
160
- 5. `stop_project` or `detach_project` sends a `shutdown` command (so the bridge releases the port cleanly), then removes the bridge script and autoload entry
161
-
162
- Files generated during runtime (screenshots, executed scripts) are stored in `.mcp/` inside the project directory. This directory is automatically added to `.gitignore` and has a `.gdignore` so Godot won't import it.
163
-
164
- `take_screenshot` defaults to `responseMode: "preview"` — the full PNG is saved to `.mcp/screenshots/` and a 960x540-bounded preview is returned inline. Override per call:
165
-
166
- - `responseMode: "full"` — return the full inline PNG when the agent needs to inspect exact pixels, small UI text, or texture detail.
167
- - `responseMode: "path_only"` — skip the inline image entirely when another tool or human will inspect the saved file.
168
- - `previewMaxWidth` / `previewMaxHeight` — override the default 960x540 preview bounds (e.g. `{ "responseMode": "preview", "previewMaxWidth": 480, "previewMaxHeight": 270 }`).
143
+ ## Docs
169
144
 
170
- The response is a JSON text entry (`{ responseMode, path, size, previewPath?, previewSize?, warnings? }`) plus an inline `image` entry for `full` and `preview`.
145
+ - [`docs/tools.md`](docs/tools.md) full tool reference, grouped by category
146
+ - [`docs/tool-authoring.md`](docs/tool-authoring.md) — standards for adding or modifying tools
147
+ - [`docs/architecture.md`](docs/architecture.md) — source layout, bridge sequence diagram, lifecycle steps, runtime artifact behavior
171
148
 
172
149
  ## Acknowledgments
173
150
 
package/dist/dispatch.js CHANGED
@@ -19,18 +19,18 @@ import { handleDeleteNodes, handleSetNodeProperties, handleGetNodeProperties, ha
19
19
  import { handleValidate } from './tools/validate-tools.js';
20
20
  export const toolDispatch = {
21
21
  // Project tools
22
- launch_editor: (runner, args) => handleLaunchEditor(runner, args),
23
- run_project: (runner, args) => handleRunProject(runner, args),
24
- attach_project: (runner, args) => handleAttachProject(runner, args),
25
- detach_project: (runner) => handleDetachProject(runner),
26
- get_debug_output: (runner, args) => handleGetDebugOutput(runner, args),
27
- stop_project: (runner) => handleStopProject(runner),
22
+ launch_editor: handleLaunchEditor,
23
+ run_project: handleRunProject,
24
+ attach_project: handleAttachProject,
25
+ detach_project: handleDetachProject,
26
+ get_debug_output: handleGetDebugOutput,
27
+ stop_project: handleStopProject,
28
28
  list_projects: (_runner, args) => handleListProjects(args),
29
- get_project_info: (runner, args) => handleGetProjectInfo(runner, args),
30
- take_screenshot: (runner, args) => handleTakeScreenshot(runner, args),
31
- simulate_input: (runner, args) => handleSimulateInput(runner, args),
32
- get_ui_elements: (runner, args) => handleGetUiElements(runner, args),
33
- run_script: (runner, args) => handleRunScript(runner, args),
29
+ get_project_info: handleGetProjectInfo,
30
+ take_screenshot: handleTakeScreenshot,
31
+ simulate_input: handleSimulateInput,
32
+ get_ui_elements: handleGetUiElements,
33
+ run_script: handleRunScript,
34
34
  list_autoloads: (_runner, args) => handleListAutoloads(args),
35
35
  add_autoload: (_runner, args) => handleAddAutoload(args),
36
36
  remove_autoload: (_runner, args) => handleRemoveAutoload(args),
@@ -40,24 +40,24 @@ export const toolDispatch = {
40
40
  get_scene_dependencies: (_runner, args) => handleGetSceneDependencies(args),
41
41
  get_project_settings: (_runner, args) => handleGetProjectSettings(args),
42
42
  // Scene tools
43
- create_scene: (runner, args) => handleCreateScene(runner, args),
44
- add_node: (runner, args) => handleAddNode(runner, args),
45
- load_sprite: (runner, args) => handleLoadSprite(runner, args),
46
- save_scene: (runner, args) => handleSaveScene(runner, args),
47
- export_mesh_library: (runner, args) => handleExportMeshLibrary(runner, args),
48
- batch_scene_operations: (runner, args) => handleBatchSceneOperations(runner, args),
43
+ create_scene: handleCreateScene,
44
+ add_node: handleAddNode,
45
+ load_sprite: handleLoadSprite,
46
+ save_scene: handleSaveScene,
47
+ export_mesh_library: handleExportMeshLibrary,
48
+ batch_scene_operations: handleBatchSceneOperations,
49
49
  // Node tools
50
- delete_nodes: (runner, args) => handleDeleteNodes(runner, args),
51
- set_node_properties: (runner, args) => handleSetNodeProperties(runner, args),
52
- get_node_properties: (runner, args) => handleGetNodeProperties(runner, args),
53
- attach_script: (runner, args) => handleAttachScript(runner, args),
54
- get_scene_tree: (runner, args) => handleGetSceneTree(runner, args),
55
- duplicate_node: (runner, args) => handleDuplicateNode(runner, args),
56
- get_node_signals: (runner, args) => handleGetNodeSignals(runner, args),
57
- connect_signal: (runner, args) => handleConnectSignal(runner, args),
58
- disconnect_signal: (runner, args) => handleDisconnectSignal(runner, args),
50
+ delete_nodes: handleDeleteNodes,
51
+ set_node_properties: handleSetNodeProperties,
52
+ get_node_properties: handleGetNodeProperties,
53
+ attach_script: handleAttachScript,
54
+ get_scene_tree: handleGetSceneTree,
55
+ duplicate_node: handleDuplicateNode,
56
+ get_node_signals: handleGetNodeSignals,
57
+ connect_signal: handleConnectSignal,
58
+ disconnect_signal: handleDisconnectSignal,
59
59
  // Validate tools
60
- validate: (runner, args) => handleValidate(runner, args),
60
+ validate: handleValidate,
61
61
  };
62
62
  export async function dispatchToolCall(runner, toolName, args) {
63
63
  const handler = toolDispatch[toolName];
@@ -1 +1 @@
1
- {"version":3,"file":"dispatch.js","sourceRoot":"","sources":["../src/dispatch.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAEH,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,oCAAoC,CAAC;AASzE,OAAO,EACL,kBAAkB,EAClB,gBAAgB,EAChB,mBAAmB,EACnB,mBAAmB,EACnB,oBAAoB,EACpB,iBAAiB,EACjB,oBAAoB,EACpB,mBAAmB,EACnB,mBAAmB,EACnB,eAAe,GAChB,MAAM,0BAA0B,CAAC;AAElC,OAAO,EACL,mBAAmB,EACnB,iBAAiB,EACjB,oBAAoB,EACpB,oBAAoB,GACrB,MAAM,2BAA2B,CAAC;AAEnC,OAAO,EACL,kBAA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B,CAAC,IAAI,CAAC;IAC5D,sBAAsB,EAAE,CAAC,OAAO,EAAE,IAAI,EAAE,EAAE,CAAC,0BAA0B,CAAC,IAAI,CAAC;IAC3E,oBAAoB,EAAE,CAAC,OAAO,EAAE,IAAI,EAAE,EAAE,CAAC,wBAAwB,CAAC,IAAI,CAAC;IAEvE,cAAc;IACd,YAAY,EAAE,iBAAiB;IAC/B,QAAQ,EAAE,aAAa;IACvB,WAAW,EAAE,gBAAgB;IAC7B,UAAU,EAAE,eAAe;IAC3B,mBAAmB,EAAE,uBAAuB;IAC5C,sBAAsB,EAAE,0BAA0B;IAElD,aAAa;IACb,YAAY,EAAE,iBAAiB;IAC/B,mBAAmB,EAAE,uBAAuB;IAC5C,mBAAmB,EAAE,uBAAuB;IAC5C,aAAa,EAAE,kBAAkB;IACjC,cAAc,EAAE,kBAAkB;IAClC,cAAc,EAAE,mBAAmB;IACnC,gBAAgB,EAAE,oBAAoB;IACtC,cAAc,EAAE,mBAAmB;IACnC,iBAAiB,EAAE,sBAAsB;IAEzC,iBAAiB;IACjB,QAAQ,EAAE,cAAc;CACzB,CAAC;AAEF,MAAM,CAAC,KAAK,UAAU,gBAAgB,CACpC,MAAmB,EACnB,QAAgB,EAChB,IAAqB;IAErB,MAAM,OAAO,GAAG,YAAY,CAAC,QAAQ,CAAC,CAAC;IACvC,IAAI,CAAC,OAAO,EAAE,CAAC;QACb,MAAM,IAAI,QAAQ,CAAC,SAAS,CAAC,cAAc,EAAE,iBAAiB,QAAQ,EAAE,CAAC,CAAC;IAC5E,CAAC;IACD,OAAO,MAAM,OAAO,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC;AACrC,CAAC"}
package/dist/index.js CHANGED
@@ -51,7 +51,7 @@ class GodotMcpServer {
51
51
  this.runner = new GodotRunner(config);
52
52
  this.server = new Server({
53
53
  name: 'godot-mcp',
54
- version: '3.0.0',
54
+ version: '3.1.0',
55
55
  }, {
56
56
  capabilities: {
57
57
  tools: {},