unreal-engine-mcp-server 0.5.21 → 0.5.30
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.
- package/CHANGELOG.md +247 -4
- package/README.md +140 -85
- package/dist/automation/bridge.d.ts +8 -0
- package/dist/automation/bridge.d.ts.map +1 -1
- package/dist/automation/bridge.js +94 -14
- package/dist/automation/bridge.js.map +1 -1
- package/dist/automation/connection-manager.d.ts.map +1 -1
- package/dist/automation/connection-manager.js +13 -5
- package/dist/automation/connection-manager.js.map +1 -1
- package/dist/automation/handshake.d.ts.map +1 -1
- package/dist/automation/handshake.js +40 -27
- package/dist/automation/handshake.js.map +1 -1
- package/dist/automation/index.d.ts +1 -1
- package/dist/automation/index.d.ts.map +1 -1
- package/dist/automation/index.js +0 -1
- package/dist/automation/index.js.map +1 -1
- package/dist/automation/message-handler.d.ts.map +1 -1
- package/dist/automation/message-handler.js +13 -9
- package/dist/automation/message-handler.js.map +1 -1
- package/dist/automation/message-schema.d.ts.map +1 -1
- package/dist/automation/message-schema.js +19 -18
- package/dist/automation/message-schema.js.map +1 -1
- package/dist/automation/request-tracker.d.ts +1 -0
- package/dist/automation/request-tracker.d.ts.map +1 -1
- package/dist/automation/request-tracker.js +30 -31
- package/dist/automation/request-tracker.js.map +1 -1
- package/dist/automation/types.d.ts +38 -32
- package/dist/automation/types.d.ts.map +1 -1
- package/dist/cli.js +14 -16
- package/dist/cli.js.map +1 -1
- package/dist/config/class-aliases.d.ts.map +1 -1
- package/dist/config/class-aliases.js +10 -2
- package/dist/config/class-aliases.js.map +1 -1
- package/dist/config.d.ts +9 -8
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +58 -32
- package/dist/config.js.map +1 -1
- package/dist/handlers/resource-handlers.d.ts +15 -2
- package/dist/handlers/resource-handlers.d.ts.map +1 -1
- package/dist/handlers/resource-handlers.js +46 -63
- package/dist/handlers/resource-handlers.js.map +1 -1
- package/dist/index.d.ts +0 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +42 -48
- package/dist/index.js.map +1 -1
- package/dist/resources/assets.d.ts.map +1 -1
- package/dist/resources/assets.js +34 -9
- package/dist/resources/assets.js.map +1 -1
- package/dist/resources/levels.d.ts +3 -0
- package/dist/resources/levels.d.ts.map +1 -1
- package/dist/resources/levels.js +33 -17
- package/dist/resources/levels.js.map +1 -1
- package/dist/server/resource-registry.d.ts +15 -2
- package/dist/server/resource-registry.d.ts.map +1 -1
- package/dist/server/resource-registry.js +9 -8
- package/dist/server/resource-registry.js.map +1 -1
- package/dist/server/tool-registry.d.ts +0 -1
- package/dist/server/tool-registry.d.ts.map +1 -1
- package/dist/server/tool-registry.js +91 -101
- package/dist/server/tool-registry.js.map +1 -1
- package/dist/server-setup.d.ts +5 -2
- package/dist/server-setup.d.ts.map +1 -1
- package/dist/server-setup.js +15 -19
- package/dist/server-setup.js.map +1 -1
- package/dist/services/health-monitor.d.ts +3 -0
- package/dist/services/health-monitor.d.ts.map +1 -1
- package/dist/services/health-monitor.js +30 -11
- package/dist/services/health-monitor.js.map +1 -1
- package/dist/services/metrics-server.d.ts +1 -1
- package/dist/services/metrics-server.d.ts.map +1 -1
- package/dist/services/metrics-server.js +65 -3
- package/dist/services/metrics-server.js.map +1 -1
- package/dist/tools/base-tool.d.ts.map +1 -1
- package/dist/tools/base-tool.js +14 -16
- package/dist/tools/base-tool.js.map +1 -1
- package/dist/tools/consolidated-tool-definitions.d.ts +16 -1
- package/dist/tools/consolidated-tool-definitions.d.ts.map +1 -1
- package/dist/tools/consolidated-tool-definitions.js +1479 -2538
- package/dist/tools/consolidated-tool-definitions.js.map +1 -1
- package/dist/tools/consolidated-tool-handlers.d.ts.map +1 -1
- package/dist/tools/consolidated-tool-handlers.js +195 -217
- package/dist/tools/consolidated-tool-handlers.js.map +1 -1
- package/dist/tools/dynamic-handler-registry.d.ts +1 -0
- package/dist/tools/dynamic-handler-registry.d.ts.map +1 -1
- package/dist/tools/dynamic-handler-registry.js +15 -7
- package/dist/tools/dynamic-handler-registry.js.map +1 -1
- package/dist/tools/dynamic-tool-manager.d.ts +1 -1
- package/dist/tools/dynamic-tool-manager.d.ts.map +1 -1
- package/dist/tools/dynamic-tool-manager.js +30 -18
- package/dist/tools/dynamic-tool-manager.js.map +1 -1
- package/dist/tools/editor.d.ts +2 -2
- package/dist/tools/editor.d.ts.map +1 -1
- package/dist/tools/editor.js +4 -4
- package/dist/tools/editor.js.map +1 -1
- package/dist/tools/handlers/actor-handlers.d.ts.map +1 -1
- package/dist/tools/handlers/actor-handlers.js +66 -7
- package/dist/tools/handlers/actor-handlers.js.map +1 -1
- package/dist/tools/handlers/ai-handlers.d.ts.map +1 -1
- package/dist/tools/handlers/ai-handlers.js +24 -13
- package/dist/tools/handlers/ai-handlers.js.map +1 -1
- package/dist/tools/handlers/animation-authoring-handlers.d.ts.map +1 -1
- package/dist/tools/handlers/animation-authoring-handlers.js +285 -218
- package/dist/tools/handlers/animation-authoring-handlers.js.map +1 -1
- package/dist/tools/handlers/animation-handlers.d.ts.map +1 -1
- package/dist/tools/handlers/animation-handlers.js +69 -21
- package/dist/tools/handlers/animation-handlers.js.map +1 -1
- package/dist/tools/handlers/asset-handlers.d.ts.map +1 -1
- package/dist/tools/handlers/asset-handlers.js +75 -16
- package/dist/tools/handlers/asset-handlers.js.map +1 -1
- package/dist/tools/handlers/audio-authoring-handlers.d.ts.map +1 -1
- package/dist/tools/handlers/audio-authoring-handlers.js +102 -9
- package/dist/tools/handlers/audio-authoring-handlers.js.map +1 -1
- package/dist/tools/handlers/audio-handlers.d.ts.map +1 -1
- package/dist/tools/handlers/audio-handlers.js +48 -13
- package/dist/tools/handlers/audio-handlers.js.map +1 -1
- package/dist/tools/handlers/blueprint-handlers.d.ts.map +1 -1
- package/dist/tools/handlers/blueprint-handlers.js +28 -48
- package/dist/tools/handlers/blueprint-handlers.js.map +1 -1
- package/dist/tools/handlers/character-handlers.d.ts.map +1 -1
- package/dist/tools/handlers/character-handlers.js +13 -12
- package/dist/tools/handlers/character-handlers.js.map +1 -1
- package/dist/tools/handlers/combat-handlers.d.ts.map +1 -1
- package/dist/tools/handlers/combat-handlers.js +12 -12
- package/dist/tools/handlers/combat-handlers.js.map +1 -1
- package/dist/tools/handlers/common-handlers.d.ts +14 -0
- package/dist/tools/handlers/common-handlers.d.ts.map +1 -1
- package/dist/tools/handlers/common-handlers.js +117 -9
- package/dist/tools/handlers/common-handlers.js.map +1 -1
- package/dist/tools/handlers/editor-handlers.d.ts.map +1 -1
- package/dist/tools/handlers/editor-handlers.js +139 -67
- package/dist/tools/handlers/editor-handlers.js.map +1 -1
- package/dist/tools/handlers/effect-handlers.d.ts.map +1 -1
- package/dist/tools/handlers/effect-handlers.js +324 -36
- package/dist/tools/handlers/effect-handlers.js.map +1 -1
- package/dist/tools/handlers/environment-handlers.d.ts.map +1 -1
- package/dist/tools/handlers/environment-handlers.js +186 -21
- package/dist/tools/handlers/environment-handlers.js.map +1 -1
- package/dist/tools/handlers/game-framework-handlers.d.ts.map +1 -1
- package/dist/tools/handlers/game-framework-handlers.js +10 -12
- package/dist/tools/handlers/game-framework-handlers.js.map +1 -1
- package/dist/tools/handlers/gas-handlers.d.ts.map +1 -1
- package/dist/tools/handlers/gas-handlers.js +136 -20
- package/dist/tools/handlers/gas-handlers.js.map +1 -1
- package/dist/tools/handlers/geometry-handlers.d.ts.map +1 -1
- package/dist/tools/handlers/geometry-handlers.js +130 -7
- package/dist/tools/handlers/geometry-handlers.js.map +1 -1
- package/dist/tools/handlers/graph-handlers.d.ts.map +1 -1
- package/dist/tools/handlers/graph-handlers.js +46 -11
- package/dist/tools/handlers/graph-handlers.js.map +1 -1
- package/dist/tools/handlers/input-handlers.d.ts.map +1 -1
- package/dist/tools/handlers/input-handlers.js +33 -75
- package/dist/tools/handlers/input-handlers.js.map +1 -1
- package/dist/tools/handlers/inspect-handlers.d.ts.map +1 -1
- package/dist/tools/handlers/inspect-handlers.js +136 -39
- package/dist/tools/handlers/inspect-handlers.js.map +1 -1
- package/dist/tools/handlers/interaction-handlers.d.ts.map +1 -1
- package/dist/tools/handlers/interaction-handlers.js +14 -12
- package/dist/tools/handlers/interaction-handlers.js.map +1 -1
- package/dist/tools/handlers/inventory-handlers.d.ts.map +1 -1
- package/dist/tools/handlers/inventory-handlers.js +19 -12
- package/dist/tools/handlers/inventory-handlers.js.map +1 -1
- package/dist/tools/handlers/level-handlers.d.ts.map +1 -1
- package/dist/tools/handlers/level-handlers.js +166 -149
- package/dist/tools/handlers/level-handlers.js.map +1 -1
- package/dist/tools/handlers/level-structure-handlers.d.ts.map +1 -1
- package/dist/tools/handlers/level-structure-handlers.js +18 -34
- package/dist/tools/handlers/level-structure-handlers.js.map +1 -1
- package/dist/tools/handlers/manage-tools-handlers.js +3 -3
- package/dist/tools/handlers/manage-tools-handlers.js.map +1 -1
- package/dist/tools/handlers/material-authoring-handlers.d.ts.map +1 -1
- package/dist/tools/handlers/material-authoring-handlers.js +382 -41
- package/dist/tools/handlers/material-authoring-handlers.js.map +1 -1
- package/dist/tools/handlers/navigation-handlers.d.ts.map +1 -1
- package/dist/tools/handlers/navigation-handlers.js +11 -36
- package/dist/tools/handlers/navigation-handlers.js.map +1 -1
- package/dist/tools/handlers/networking-handlers.d.ts.map +1 -1
- package/dist/tools/handlers/networking-handlers.js +17 -15
- package/dist/tools/handlers/networking-handlers.js.map +1 -1
- package/dist/tools/handlers/niagara-authoring-handlers.d.ts.map +1 -1
- package/dist/tools/handlers/niagara-authoring-handlers.js +24 -23
- package/dist/tools/handlers/niagara-authoring-handlers.js.map +1 -1
- package/dist/tools/handlers/pcg-handlers.d.ts +4 -0
- package/dist/tools/handlers/pcg-handlers.d.ts.map +1 -0
- package/dist/tools/handlers/pcg-handlers.js +77 -0
- package/dist/tools/handlers/pcg-handlers.js.map +1 -0
- package/dist/tools/handlers/performance-handlers.d.ts.map +1 -1
- package/dist/tools/handlers/performance-handlers.js +35 -42
- package/dist/tools/handlers/performance-handlers.js.map +1 -1
- package/dist/tools/handlers/pipeline-handlers.d.ts.map +1 -1
- package/dist/tools/handlers/pipeline-handlers.js +157 -39
- package/dist/tools/handlers/pipeline-handlers.js.map +1 -1
- package/dist/tools/handlers/sequence-handlers.d.ts.map +1 -1
- package/dist/tools/handlers/sequence-handlers.js +6 -4
- package/dist/tools/handlers/sequence-handlers.js.map +1 -1
- package/dist/tools/handlers/sessions-handlers.d.ts.map +1 -1
- package/dist/tools/handlers/sessions-handlers.js +7 -15
- package/dist/tools/handlers/sessions-handlers.js.map +1 -1
- package/dist/tools/handlers/spline-handlers.d.ts.map +1 -1
- package/dist/tools/handlers/spline-handlers.js +8 -35
- package/dist/tools/handlers/spline-handlers.js.map +1 -1
- package/dist/tools/handlers/system-handlers.d.ts.map +1 -1
- package/dist/tools/handlers/system-handlers.js +100 -26
- package/dist/tools/handlers/system-handlers.js.map +1 -1
- package/dist/tools/handlers/texture-handlers.d.ts.map +1 -1
- package/dist/tools/handlers/texture-handlers.js +14 -0
- package/dist/tools/handlers/texture-handlers.js.map +1 -1
- package/dist/tools/handlers/volume-handlers.d.ts.map +1 -1
- package/dist/tools/handlers/volume-handlers.js +6 -33
- package/dist/tools/handlers/volume-handlers.js.map +1 -1
- package/dist/tools/handlers/widget-authoring-handlers.d.ts.map +1 -1
- package/dist/tools/handlers/widget-authoring-handlers.js +26 -20
- package/dist/tools/handlers/widget-authoring-handlers.js.map +1 -1
- package/dist/tools/level.d.ts +2 -2
- package/dist/tools/level.d.ts.map +1 -1
- package/dist/tools/level.js +2 -1
- package/dist/tools/level.js.map +1 -1
- package/dist/tools/property-dictionary.js +1 -1
- package/dist/tools/property-dictionary.js.map +1 -1
- package/dist/tools/schemas/core-tools.d.ts +1 -1
- package/dist/tools/schemas/core-tools.d.ts.map +1 -1
- package/dist/tools/schemas/core-tools.js +94 -57
- package/dist/tools/schemas/core-tools.js.map +1 -1
- package/dist/tools/tool-definition-utils.d.ts +8 -0
- package/dist/tools/tool-definition-utils.d.ts.map +1 -1
- package/dist/tools/tool-definition-utils.js +20 -0
- package/dist/tools/tool-definition-utils.js.map +1 -1
- package/dist/types/automation-responses.d.ts +26 -33
- package/dist/types/automation-responses.d.ts.map +1 -1
- package/dist/types/env.d.ts.map +1 -1
- package/dist/types/env.js +7 -6
- package/dist/types/env.js.map +1 -1
- package/dist/types/handler-types.d.ts +41 -20
- package/dist/types/handler-types.d.ts.map +1 -1
- package/dist/types/index.d.ts +2 -2
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/index.js.map +1 -1
- package/dist/types/tool-interfaces.d.ts +5 -873
- package/dist/types/tool-interfaces.d.ts.map +1 -1
- package/dist/types/tool-types.d.ts +35 -1
- package/dist/types/tool-types.d.ts.map +1 -1
- package/dist/unreal-bridge.d.ts.map +1 -1
- package/dist/unreal-bridge.js +16 -6
- package/dist/unreal-bridge.js.map +1 -1
- package/dist/utils/action-constants.d.ts +4 -1
- package/dist/utils/action-constants.d.ts.map +1 -1
- package/dist/utils/action-constants.js +4 -1
- package/dist/utils/action-constants.js.map +1 -1
- package/dist/utils/command-validator.d.ts.map +1 -1
- package/dist/utils/command-validator.js +5 -4
- package/dist/utils/command-validator.js.map +1 -1
- package/dist/utils/elicitation.d.ts +5 -2
- package/dist/utils/elicitation.d.ts.map +1 -1
- package/dist/utils/elicitation.js +38 -21
- package/dist/utils/elicitation.js.map +1 -1
- package/dist/utils/environment-snapshot.d.ts +17 -0
- package/dist/utils/environment-snapshot.d.ts.map +1 -0
- package/dist/utils/environment-snapshot.js +242 -0
- package/dist/utils/environment-snapshot.js.map +1 -0
- package/dist/utils/error-handler.d.ts +1 -11
- package/dist/utils/error-handler.d.ts.map +1 -1
- package/dist/utils/error-handler.js +41 -25
- package/dist/utils/error-handler.js.map +1 -1
- package/dist/utils/index.d.ts +2 -1
- package/dist/utils/index.d.ts.map +1 -1
- package/dist/utils/index.js +2 -1
- package/dist/utils/index.js.map +1 -1
- package/dist/utils/ini-reader.js +4 -4
- package/dist/utils/ini-reader.js.map +1 -1
- package/dist/utils/log-reader.d.ts +29 -0
- package/dist/utils/log-reader.d.ts.map +1 -0
- package/dist/utils/log-reader.js +229 -0
- package/dist/utils/log-reader.js.map +1 -0
- package/dist/utils/log-redaction.d.ts +4 -0
- package/dist/utils/log-redaction.d.ts.map +1 -0
- package/dist/utils/log-redaction.js +27 -0
- package/dist/utils/log-redaction.js.map +1 -0
- package/dist/utils/logger.d.ts +1 -0
- package/dist/utils/logger.d.ts.map +1 -1
- package/dist/utils/logger.js +20 -7
- package/dist/utils/logger.js.map +1 -1
- package/dist/utils/normalize.d.ts.map +1 -1
- package/dist/utils/normalize.js +31 -30
- package/dist/utils/normalize.js.map +1 -1
- package/dist/utils/path-security.d.ts.map +1 -1
- package/dist/utils/path-security.js +20 -11
- package/dist/utils/path-security.js.map +1 -1
- package/dist/utils/response-factory.d.ts +1 -1
- package/dist/utils/response-factory.d.ts.map +1 -1
- package/dist/utils/response-factory.js +17 -3
- package/dist/utils/response-factory.js.map +1 -1
- package/dist/utils/response-validator.d.ts.map +1 -1
- package/dist/utils/response-validator.js +114 -47
- package/dist/utils/response-validator.js.map +1 -1
- package/dist/utils/safe-json.d.ts.map +1 -1
- package/dist/utils/safe-json.js +24 -18
- package/dist/utils/safe-json.js.map +1 -1
- package/dist/utils/type-coercion.d.ts +2 -3
- package/dist/utils/type-coercion.d.ts.map +1 -1
- package/dist/utils/type-coercion.js +42 -14
- package/dist/utils/type-coercion.js.map +1 -1
- package/dist/utils/type-guards.d.ts +2 -0
- package/dist/utils/type-guards.d.ts.map +1 -0
- package/dist/utils/type-guards.js +4 -0
- package/dist/utils/type-guards.js.map +1 -0
- package/dist/utils/unreal-command-queue.d.ts +2 -0
- package/dist/utils/unreal-command-queue.d.ts.map +1 -1
- package/dist/utils/unreal-command-queue.js +80 -54
- package/dist/utils/unreal-command-queue.js.map +1 -1
- package/dist/utils/validation.d.ts +2 -1
- package/dist/utils/validation.d.ts.map +1 -1
- package/dist/utils/validation.js +44 -34
- package/dist/utils/validation.js.map +1 -1
- package/package.json +4 -6
- package/server.json +3 -3
- package/dist/graphql/loaders.d.ts +0 -64
- package/dist/graphql/loaders.d.ts.map +0 -1
- package/dist/graphql/loaders.js +0 -117
- package/dist/graphql/loaders.js.map +0 -1
- package/dist/graphql/resolvers.d.ts +0 -373
- package/dist/graphql/resolvers.d.ts.map +0 -1
- package/dist/graphql/resolvers.js +0 -776
- package/dist/graphql/resolvers.js.map +0 -1
- package/dist/graphql/schema.d.ts +0 -5
- package/dist/graphql/schema.d.ts.map +0 -1
- package/dist/graphql/schema.js +0 -437
- package/dist/graphql/schema.js.map +0 -1
- package/dist/graphql/server.d.ts +0 -25
- package/dist/graphql/server.d.ts.map +0 -1
- package/dist/graphql/server.js +0 -119
- package/dist/graphql/server.js.map +0 -1
- package/dist/graphql/types.d.ts +0 -9
- package/dist/graphql/types.d.ts.map +0 -1
- package/dist/graphql/types.js +0 -2
- package/dist/graphql/types.js.map +0 -1
- package/dist/tools/actors.d.ts +0 -212
- package/dist/tools/actors.d.ts.map +0 -1
- package/dist/tools/actors.js +0 -456
- package/dist/tools/actors.js.map +0 -1
- package/dist/tools/animation.d.ts +0 -274
- package/dist/tools/animation.d.ts.map +0 -1
- package/dist/tools/animation.js +0 -773
- package/dist/tools/animation.js.map +0 -1
- package/dist/tools/assets.d.ts +0 -82
- package/dist/tools/assets.d.ts.map +0 -1
- package/dist/tools/assets.js +0 -383
- package/dist/tools/assets.js.map +0 -1
- package/dist/tools/blueprint.d.ts +0 -271
- package/dist/tools/blueprint.d.ts.map +0 -1
- package/dist/tools/blueprint.js +0 -828
- package/dist/tools/blueprint.js.map +0 -1
- package/dist/tools/environment.d.ts +0 -37
- package/dist/tools/environment.d.ts.map +0 -1
- package/dist/tools/environment.js +0 -338
- package/dist/tools/environment.js.map +0 -1
- package/dist/tools/foliage.d.ts +0 -140
- package/dist/tools/foliage.d.ts.map +0 -1
- package/dist/tools/foliage.js +0 -405
- package/dist/tools/foliage.js.map +0 -1
- package/dist/tools/landscape.d.ts +0 -120
- package/dist/tools/landscape.d.ts.map +0 -1
- package/dist/tools/landscape.js +0 -454
- package/dist/tools/landscape.js.map +0 -1
- package/dist/tools/lighting.d.ts +0 -240
- package/dist/tools/lighting.d.ts.map +0 -1
- package/dist/tools/lighting.js +0 -856
- package/dist/tools/lighting.js.map +0 -1
- package/dist/tools/logs.d.ts +0 -45
- package/dist/tools/logs.d.ts.map +0 -1
- package/dist/tools/logs.js +0 -235
- package/dist/tools/logs.js.map +0 -1
- package/dist/tools/niagara.d.ts +0 -277
- package/dist/tools/niagara.d.ts.map +0 -1
- package/dist/tools/niagara.js +0 -325
- package/dist/tools/niagara.js.map +0 -1
- package/dist/tools/physics.d.ts +0 -191
- package/dist/tools/physics.d.ts.map +0 -1
- package/dist/tools/physics.js +0 -492
- package/dist/tools/physics.js.map +0 -1
- package/dist/tools/sequence.d.ts +0 -139
- package/dist/tools/sequence.d.ts.map +0 -1
- package/dist/tools/sequence.js +0 -261
- package/dist/tools/sequence.js.map +0 -1
package/README.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
[](https://opensource.org/licenses/MIT)
|
|
4
4
|
[](https://www.npmjs.com/package/unreal-engine-mcp-server)
|
|
5
5
|
[](https://github.com/modelcontextprotocol/sdk)
|
|
6
|
-
[](https://www.unrealengine.com/)
|
|
7
7
|
[](https://registry.modelcontextprotocol.io/)
|
|
8
8
|
[](https://github.com/users/ChiR24/projects/3)
|
|
9
9
|
[](https://github.com/ChiR24/Unreal_mcp/discussions)
|
|
@@ -18,7 +18,6 @@ A comprehensive Model Context Protocol (MCP) server that enables AI assistants t
|
|
|
18
18
|
- [Getting Started](#getting-started)
|
|
19
19
|
- [Configuration](#configuration)
|
|
20
20
|
- [Available Tools](#available-tools)
|
|
21
|
-
- [GraphQL API](#graphql-api)
|
|
22
21
|
- [Docker](#docker)
|
|
23
22
|
- [Documentation](#documentation)
|
|
24
23
|
- [Community](#community)
|
|
@@ -34,7 +33,7 @@ A comprehensive Model Context Protocol (MCP) server that enables AI assistants t
|
|
|
34
33
|
| **Asset Management** | Browse, import, duplicate, rename, delete assets; create materials |
|
|
35
34
|
| **Actor Control** | Spawn, delete, transform, physics, tags, components |
|
|
36
35
|
| **Editor Control** | PIE sessions, camera, viewport, screenshots, bookmarks |
|
|
37
|
-
| **Level Management** | Load/save levels, streaming,
|
|
36
|
+
| **Level Management** | Load/save levels, streaming, lighting |
|
|
38
37
|
| **Animation & Physics** | Animation BPs, state machines, ragdolls, vehicles, constraints |
|
|
39
38
|
| **Visual Effects** | Niagara particles, GPU simulations, procedural effects, debug shapes |
|
|
40
39
|
| **Sequencer** | Cinematics, timeline control, camera animations, keyframes |
|
|
@@ -45,10 +44,12 @@ A comprehensive Model Context Protocol (MCP) server that enables AI assistants t
|
|
|
45
44
|
### Architecture
|
|
46
45
|
|
|
47
46
|
- **Native C++ Automation** — All operations route through the MCP Automation Bridge plugin
|
|
47
|
+
- **Dual Transport** — Native HTTP/SSE (no bridge needed) or WebSocket via TypeScript bridge
|
|
48
48
|
- **Dynamic Type Discovery** — Runtime introspection for lights, debug shapes, and sequencer tracks
|
|
49
49
|
- **Graceful Degradation** — Server starts even without an active Unreal connection
|
|
50
50
|
- **On-Demand Connection** — Retries automation handshakes with exponential backoff
|
|
51
51
|
- **Command Safety** — Blocks dangerous console commands with pattern-based validation
|
|
52
|
+
- **Capability Token Auth** — Optional token-based authentication for both WS and HTTP transports
|
|
52
53
|
- **Asset Caching** — 10-second TTL for improved performance
|
|
53
54
|
- **Metrics Rate Limiting** — Per-IP rate limiting (60 req/min) on Prometheus endpoint
|
|
54
55
|
- **Centralized Configuration** — Unified class aliases and type definitions
|
|
@@ -59,17 +60,22 @@ A comprehensive Model Context Protocol (MCP) server that enables AI assistants t
|
|
|
59
60
|
|
|
60
61
|
### Prerequisites
|
|
61
62
|
|
|
62
|
-
- **
|
|
63
|
-
- **Unreal Engine** 5.0–5.7
|
|
63
|
+
- **Unreal Engine** 5.0–5.8 (5.8 preview validated)
|
|
64
64
|
|
|
65
|
-
|
|
65
|
+
Choose your transport:
|
|
66
|
+
- **Option A: Native MCP** (recommended) — no additional dependencies
|
|
67
|
+
- **Option B: TypeScript Bridge** — requires **Node.js** 18+
|
|
66
68
|
|
|
67
|
-
|
|
69
|
+
### Step 1: Install MCP Server (Option B only — skip for Native MCP)
|
|
70
|
+
|
|
71
|
+
> Skip this step if using **Option A: Native MCP Transport** ([Step 4A](#option-a-native-mcp-transport-direct-http--no-bridge-needed) below).
|
|
72
|
+
|
|
73
|
+
**NPX (Recommended):**
|
|
68
74
|
```bash
|
|
69
75
|
npx unreal-engine-mcp-server
|
|
70
76
|
```
|
|
71
77
|
|
|
72
|
-
**
|
|
78
|
+
**Clone & Build:**
|
|
73
79
|
```bash
|
|
74
80
|
git clone https://github.com/ChiR24/Unreal_mcp.git
|
|
75
81
|
cd Unreal_mcp
|
|
@@ -82,23 +88,51 @@ node dist/cli.js
|
|
|
82
88
|
|
|
83
89
|
The MCP Automation Bridge plugin is included at `Unreal_mcp/plugins/McpAutomationBridge`.
|
|
84
90
|
|
|
91
|
+
#### From source (requires a project with code target)
|
|
92
|
+
|
|
93
|
+
Your project must have a code target (`.sln` or `.xcworkspace`).
|
|
94
|
+
Blueprint-only projects cannot compile native plugins — to convert, add any class via **Tools > New C++ Class** in the editor.
|
|
95
|
+
|
|
85
96
|
**Method 1: Copy Folder**
|
|
86
|
-
```
|
|
97
|
+
```text
|
|
87
98
|
Copy: Unreal_mcp/plugins/McpAutomationBridge/
|
|
88
99
|
To: YourUnrealProject/Plugins/McpAutomationBridge/
|
|
89
100
|
```
|
|
90
|
-
Regenerate project files after copying.
|
|
91
101
|
|
|
92
|
-
**Method 2:
|
|
102
|
+
**Method 2: External Plugin Directory (no copy needed)**
|
|
93
103
|
1. Open Unreal Editor → **Edit → Plugins**
|
|
94
|
-
2. Click **
|
|
95
|
-
3.
|
|
104
|
+
2. Click **Plugin Directories** (bottom-left)
|
|
105
|
+
3. In **Additional Plugin Directories**, add the path to `Unreal_mcp/plugins/`
|
|
106
|
+
4. Restart the editor — the plugin will be picked up from the external location
|
|
107
|
+
|
|
108
|
+
This saves the path in your `.uproject` file so the plugin stays linked without copying.
|
|
109
|
+
|
|
110
|
+
The plugin compiles automatically when you open the project — UE detects the `.uplugin` + `Source/` and runs UnrealBuildTool.
|
|
96
111
|
|
|
97
112
|
**Video Guide:**
|
|
98
113
|
|
|
99
114
|
https://github.com/user-attachments/assets/d8b86ebc-4364-48c9-9781-de854bf3ef7d
|
|
100
115
|
|
|
101
|
-
> ⚠️ **First-Time Project Open:**
|
|
116
|
+
> ⚠️ **First-Time Project Open:** UE may prompt *"Would you like to rebuild them now?"* — click **Yes**. If instead you see *"Missing Modules — McpAutomationBridge. Engine modules cannot be compiled at runtime. Please build through your IDE."* — open your project in **Visual Studio** (Win) or **Xcode** (Mac) and build from there. After that, the editor will open normally with the plugin loaded.
|
|
117
|
+
|
|
118
|
+
#### Pre-built (works with any project, including Blueprint-only)
|
|
119
|
+
|
|
120
|
+
Build the plugin once, then distribute the compiled binaries — no IDE or compilation needed on the target machine.
|
|
121
|
+
|
|
122
|
+
**1. Build:**
|
|
123
|
+
```bash
|
|
124
|
+
# macOS / Linux
|
|
125
|
+
./scripts/package-plugin.sh /path/to/UE_5.6
|
|
126
|
+
|
|
127
|
+
# Windows
|
|
128
|
+
scripts\package-plugin.bat C:\Path\To\UE_5.6
|
|
129
|
+
```
|
|
130
|
+
|
|
131
|
+
This produces a zip like `McpAutomationBridge-v0.5.30-UE5.6-Mac.zip`.
|
|
132
|
+
|
|
133
|
+
**2. Install:** unzip into `YourProject/Plugins/` and open the project. That's it — no compilation step.
|
|
134
|
+
|
|
135
|
+
> Note: pre-built binaries are tied to a specific UE version. A build for 5.6 won't work with 5.5, 5.7, or 5.8.
|
|
102
136
|
|
|
103
137
|
### Step 3: Enable Required Plugins
|
|
104
138
|
|
|
@@ -123,17 +157,18 @@ Enable via **Edit → Plugins**, then restart the editor.
|
|
|
123
157
|
| **Level Sequence Editor** | `manage_sequence` operations |
|
|
124
158
|
| **Control Rig** | `animation_physics` operations |
|
|
125
159
|
| **GeometryScripting** | `manage_geometry` operations |
|
|
126
|
-
| **Behavior Tree Editor** | `
|
|
160
|
+
| **Behavior Tree Editor** | `manage_ai` Behavior Tree operations |
|
|
127
161
|
| **Niagara Editor** | Niagara authoring |
|
|
128
162
|
| **Environment Query Editor** | AI/EQS operations |
|
|
129
163
|
| **Gameplay Abilities** | `manage_gas` operations |
|
|
130
164
|
| **MetaSound** | `manage_audio` MetaSound authoring |
|
|
131
165
|
| **StateTree** | `manage_ai` State Tree operations |
|
|
132
166
|
| **Smart Objects** | AI smart object operations |
|
|
133
|
-
| **Enhanced Input** | `
|
|
167
|
+
| **Enhanced Input** | `manage_networking` input mapping operations |
|
|
134
168
|
| **Chaos Cloth** | Cloth simulation |
|
|
135
169
|
| **Interchange** | Asset import/export |
|
|
136
170
|
| **Data Validation** | Data validation |
|
|
171
|
+
| **PCG** | `manage_pcg` graph authoring and execution |
|
|
137
172
|
| **Procedural Mesh Component** | Procedural geometry |
|
|
138
173
|
| **OnlineSubsystem** | Session/networking operations |
|
|
139
174
|
| **OnlineSubsystemUtils** | Session/networking operations |
|
|
@@ -144,6 +179,69 @@ Enable via **Edit → Plugins**, then restart the editor.
|
|
|
144
179
|
|
|
145
180
|
### Step 4: Configure MCP Client
|
|
146
181
|
|
|
182
|
+
#### Option A: Native MCP Transport (Direct HTTP — no bridge needed)
|
|
183
|
+
|
|
184
|
+
The plugin includes a built-in MCP Streamable HTTP server. AI clients connect directly to the plugin over HTTP — no TypeScript bridge, no Node.js, no npm.
|
|
185
|
+
|
|
186
|
+
**Enable in Unreal:**
|
|
187
|
+
1. **Edit > Project Settings > Plugins > MCP Automation Bridge**
|
|
188
|
+
2. Check **Enable Native MCP**
|
|
189
|
+
3. Set port (default: `3000`)
|
|
190
|
+
4. Optionally set **Native MCP Instructions** for project-specific guidance
|
|
191
|
+
5. Restart the editor
|
|
192
|
+
|
|
193
|
+
**Configure your MCP client** to use Streamable HTTP transport at:
|
|
194
|
+
```
|
|
195
|
+
http://localhost:3000/mcp
|
|
196
|
+
```
|
|
197
|
+
|
|
198
|
+
**Claude Code:**
|
|
199
|
+
```bash
|
|
200
|
+
claude mcp add unreal-engine --transport http http://localhost:3000/mcp
|
|
201
|
+
```
|
|
202
|
+
|
|
203
|
+
Or manually in `~/.claude/settings.json` or project `.mcp.json`:
|
|
204
|
+
```json
|
|
205
|
+
{
|
|
206
|
+
"mcpServers": {
|
|
207
|
+
"unreal-engine": {
|
|
208
|
+
"type": "url",
|
|
209
|
+
"url": "http://localhost:3000/mcp"
|
|
210
|
+
}
|
|
211
|
+
}
|
|
212
|
+
}
|
|
213
|
+
```
|
|
214
|
+
|
|
215
|
+
**Cursor** (`.cursor/mcp.json`):
|
|
216
|
+
```json
|
|
217
|
+
{
|
|
218
|
+
"mcpServers": {
|
|
219
|
+
"unreal-engine": {
|
|
220
|
+
"url": "http://localhost:3000/mcp"
|
|
221
|
+
}
|
|
222
|
+
}
|
|
223
|
+
}
|
|
224
|
+
```
|
|
225
|
+
|
|
226
|
+
**Verify it works:**
|
|
227
|
+
- **Status bar** — look for `● MCP :3000 (2)` in the bottom-right of the editor. Green dot = server running, number in parens = active sessions. Click it to open settings.
|
|
228
|
+
- **Output Log** — filter by `LogMcpNativeTransport` to see connections, tool calls, and session activity:
|
|
229
|
+
```
|
|
230
|
+
LogMcpNativeTransport: Native MCP server started on http://localhost:3000/mcp
|
|
231
|
+
LogMcpNativeTransport: MCP session initialized: ... (client: claude-code 2.1.92, active sessions: 1)
|
|
232
|
+
LogMcpNativeTransport: tools/call: inspect (RequestId=...)
|
|
233
|
+
LogMcpNativeTransport: tools/call completed: ... (tool=inspect, success=true)
|
|
234
|
+
```
|
|
235
|
+
|
|
236
|
+
Features:
|
|
237
|
+
- SSE streaming for real-time progress during long operations
|
|
238
|
+
- Multiple concurrent sessions (Cursor + Claude Code + others simultaneously)
|
|
239
|
+
- Dynamic tool management — core tools load by default, enable more via `manage_tools`
|
|
240
|
+
- Python execution via `execute_python` action (inline code or .py files)
|
|
241
|
+
- Capability token authentication — enable in project settings for network security
|
|
242
|
+
|
|
243
|
+
#### Option B: TypeScript Bridge (stdio — classic setup)
|
|
244
|
+
|
|
147
245
|
Add to your Claude Desktop / Cursor config file:
|
|
148
246
|
|
|
149
247
|
**Using Clone/Build:**
|
|
@@ -200,9 +298,17 @@ MCP_AUTOMATION_ALLOW_NON_LOOPBACK=false
|
|
|
200
298
|
LOG_LEVEL=info # debug | info | warn | error
|
|
201
299
|
|
|
202
300
|
# Optional
|
|
203
|
-
|
|
301
|
+
MCP_CONNECTION_TIMEOUT_MS=5000
|
|
302
|
+
MCP_REQUEST_TIMEOUT_MS=120000
|
|
204
303
|
ASSET_LIST_TTL_MS=10000
|
|
205
304
|
|
|
305
|
+
# Optional Prometheus metrics endpoint
|
|
306
|
+
# Loopback-only by default. Non-loopback metrics requires both explicit opt-in and a token.
|
|
307
|
+
# MCP_METRICS_PORT=9100
|
|
308
|
+
# MCP_METRICS_HOST=127.0.0.1
|
|
309
|
+
# MCP_METRICS_ALLOW_NON_LOOPBACK=false
|
|
310
|
+
# MCP_METRICS_TOKEN=change-me
|
|
311
|
+
|
|
206
312
|
# Custom content mount points (comma-separated)
|
|
207
313
|
# Plugins with CanContainContent register mount points beyond /Game/.
|
|
208
314
|
# MCP_ADDITIONAL_PATH_PREFIXES=/ProjectObject/,/ProjectAnimation/
|
|
@@ -224,13 +330,13 @@ MCP_AUTOMATION_HOST=0.0.0.0
|
|
|
224
330
|
3. Under **Connection**, set **"Listen Host"** to `0.0.0.0`
|
|
225
331
|
4. Restart the editor
|
|
226
332
|
|
|
227
|
-
⚠️ **Security Warning:** Enabling LAN access exposes the automation bridge to your local network. Only use on trusted networks with appropriate firewall rules.
|
|
333
|
+
⚠️ **Security Warning:** Enabling LAN access exposes the automation bridge to your local network. Only use on trusted networks with appropriate firewall rules. **Enable capability token authentication** (`Require Capability Token` in project settings) to prevent unauthorized access when using LAN mode.
|
|
228
334
|
|
|
229
335
|
---
|
|
230
336
|
|
|
231
337
|
## Available Tools
|
|
232
338
|
|
|
233
|
-
**
|
|
339
|
+
**23 exposed MCP tools** in broad all-tools mode. Related actions live directly on their parent tools so clients load less context without losing capabilities.
|
|
234
340
|
|
|
235
341
|
<details>
|
|
236
342
|
<summary><b>Core Tools</b></summary>
|
|
@@ -238,12 +344,12 @@ MCP_AUTOMATION_HOST=0.0.0.0
|
|
|
238
344
|
| Tool | Description |
|
|
239
345
|
|------|-------------|
|
|
240
346
|
| `manage_asset` | Assets, Materials, Render Targets, Behavior Trees |
|
|
347
|
+
| `manage_blueprint` | Blueprints, SCS components, graph editing, UMG widgets, layout, bindings, animations |
|
|
241
348
|
| `control_actor` | Spawn, delete, transform, physics, tags |
|
|
242
349
|
| `control_editor` | PIE, Camera, viewport, screenshots |
|
|
243
|
-
| `manage_level` | Load/
|
|
244
|
-
| `system_control` | UBT, Tests, Logs, Project Settings, CVars |
|
|
350
|
+
| `manage_level` | Load/save, streaming, lighting |
|
|
351
|
+
| `system_control` | UBT, Tests, Logs, Project Settings, CVars, Python Execution |
|
|
245
352
|
| `inspect` | Object Introspection |
|
|
246
|
-
| `manage_pipeline` | Build automation, UBT compilation, status checks |
|
|
247
353
|
| `manage_tools` | Dynamic tool management (enable/disable at runtime) |
|
|
248
354
|
|
|
249
355
|
</details>
|
|
@@ -253,47 +359,10 @@ MCP_AUTOMATION_HOST=0.0.0.0
|
|
|
253
359
|
|
|
254
360
|
| Tool | Description |
|
|
255
361
|
|------|-------------|
|
|
256
|
-
| `
|
|
257
|
-
| `manage_level_structure` |
|
|
258
|
-
| `
|
|
259
|
-
| `
|
|
260
|
-
| `build_environment` | Landscape, Foliage, Procedural |
|
|
261
|
-
| `manage_splines` | Spline creation, spline mesh deformation |
|
|
262
|
-
|
|
263
|
-
</details>
|
|
264
|
-
|
|
265
|
-
<details>
|
|
266
|
-
<summary><b>Animation & Physics</b></summary>
|
|
267
|
-
|
|
268
|
-
| Tool | Description |
|
|
269
|
-
|------|-------------|
|
|
270
|
-
| `animation_physics` | Animation BPs, Vehicles, Ragdolls, Control Rig, IK, Blend Spaces |
|
|
271
|
-
| `manage_skeleton` | Skeleton, sockets, physics assets, cloth binding |
|
|
272
|
-
| `manage_geometry` | Procedural mesh creation (Geometry Script) |
|
|
273
|
-
|
|
274
|
-
</details>
|
|
275
|
-
|
|
276
|
-
<details>
|
|
277
|
-
<summary><b>Visuals & Effects</b></summary>
|
|
278
|
-
|
|
279
|
-
| Tool | Description |
|
|
280
|
-
|------|-------------|
|
|
281
|
-
| `manage_effect` | Niagara, Particles, Debug Shapes, GPU simulations |
|
|
282
|
-
| `manage_material_authoring` | Material creation, expressions, landscape layers |
|
|
283
|
-
| `manage_texture` | Texture creation, modification, compression settings |
|
|
284
|
-
| `manage_blueprint` | Create, SCS, Graph Editing, Node manipulation |
|
|
285
|
-
| `manage_sequence` | Sequencer / Cinematics, list_track_types |
|
|
286
|
-
| `manage_performance` | Profiling, optimization, scalability |
|
|
287
|
-
|
|
288
|
-
</details>
|
|
289
|
-
|
|
290
|
-
<details>
|
|
291
|
-
<summary><b>Audio & Input</b></summary>
|
|
292
|
-
|
|
293
|
-
| Tool | Description |
|
|
294
|
-
|------|-------------|
|
|
295
|
-
| `manage_audio` | Audio Assets, Components, Sound Cues, MetaSounds, Attenuation |
|
|
296
|
-
| `manage_input` | Enhanced Input Actions & Contexts |
|
|
362
|
+
| `build_environment` | Landscapes, foliage, procedural terrain, lighting, spline roads/rivers/fences |
|
|
363
|
+
| `manage_level_structure` | Levels, sublevels, World Partition, streaming, data layers, HLOD, volumes |
|
|
364
|
+
| `manage_geometry` | Procedural mesh creation and editing with Geometry Script |
|
|
365
|
+
| `manage_pcg` | PCG graph assets, subgraphs, input/sampler/filter/spawner nodes, pin connections, execution, partition grid size, and node settings |
|
|
297
366
|
|
|
298
367
|
</details>
|
|
299
368
|
|
|
@@ -302,25 +371,25 @@ MCP_AUTOMATION_HOST=0.0.0.0
|
|
|
302
371
|
|
|
303
372
|
| Tool | Description |
|
|
304
373
|
|------|-------------|
|
|
305
|
-
| `
|
|
306
|
-
| `
|
|
374
|
+
| `animation_physics` | Animation BPs, skeletons, sockets, physics assets, cloth, vehicles, ragdolls, Control Rig, IK |
|
|
375
|
+
| `manage_effect` | Niagara, particles, debug shapes, GPU simulations |
|
|
307
376
|
| `manage_gas` | Gameplay Ability System: abilities, effects, attributes |
|
|
308
377
|
| `manage_character` | Character creation, movement, advanced locomotion |
|
|
309
378
|
| `manage_combat` | Weapons, projectiles, damage, melee combat |
|
|
379
|
+
| `manage_ai` | AI controllers, Behavior Trees, EQS, perception, State Trees, Smart Objects, NavMesh/pathfinding |
|
|
310
380
|
| `manage_inventory` | Items, equipment, loot tables, crafting |
|
|
311
381
|
| `manage_interaction` | Interactables, destructibles, triggers |
|
|
312
|
-
| `manage_widget_authoring` | UMG widget creation, layout, styling, animations |
|
|
313
382
|
|
|
314
383
|
</details>
|
|
315
384
|
|
|
316
385
|
<details>
|
|
317
|
-
<summary><b>
|
|
386
|
+
<summary><b>Utility</b></summary>
|
|
318
387
|
|
|
319
388
|
| Tool | Description |
|
|
320
389
|
|------|-------------|
|
|
321
|
-
| `
|
|
322
|
-
| `
|
|
323
|
-
| `
|
|
390
|
+
| `manage_audio` | Audio Assets, Components, Sound Cues, MetaSounds, Attenuation |
|
|
391
|
+
| `manage_sequence` | Sequencer, cinematics, bindings, tracks, playback, keyframes |
|
|
392
|
+
| `manage_networking` | Replication, RPCs, network prediction, sessions, split-screen, LAN/voice, game framework, input mappings |
|
|
324
393
|
|
|
325
394
|
</details>
|
|
326
395
|
### Supported Asset Types
|
|
@@ -329,19 +398,6 @@ Blueprints • Materials • Textures • Static Meshes • Skeletal Meshes •
|
|
|
329
398
|
|
|
330
399
|
---
|
|
331
400
|
|
|
332
|
-
## GraphQL API
|
|
333
|
-
|
|
334
|
-
Optional GraphQL endpoint for complex queries. **Disabled by default.**
|
|
335
|
-
|
|
336
|
-
```env
|
|
337
|
-
GRAPHQL_ENABLED=true
|
|
338
|
-
GRAPHQL_PORT=4000
|
|
339
|
-
```
|
|
340
|
-
|
|
341
|
-
See [GraphQL API Documentation](docs/GraphQL-API.md).
|
|
342
|
-
|
|
343
|
-
---
|
|
344
|
-
|
|
345
401
|
## Docker
|
|
346
402
|
|
|
347
403
|
```bash
|
|
@@ -356,7 +412,6 @@ docker run -it --rm -e UE_PROJECT_PATH=/project unreal-mcp
|
|
|
356
412
|
| Document | Description |
|
|
357
413
|
|----------|-------------|
|
|
358
414
|
| [Handler Mappings](docs/handler-mapping.md) | TypeScript to C++ routing |
|
|
359
|
-
| [GraphQL API](docs/GraphQL-API.md) | Query and mutation reference |
|
|
360
415
|
| [Plugin Extension](docs/editor-plugin-extension.md) | C++ plugin architecture |
|
|
361
416
|
| [Testing Guide](docs/testing-guide.md) | How to run and write tests |
|
|
362
417
|
| [Roadmap](docs/Roadmap.md) | Development phases |
|
|
@@ -379,7 +434,7 @@ npm run test:all # Run all tests
|
|
|
379
434
|
|
|
380
435
|
| Resource | Description |
|
|
381
436
|
|----------|-------------|
|
|
382
|
-
| [Project Roadmap](https://github.com/users/ChiR24/projects/3) | Track development progress across
|
|
437
|
+
| [Project Roadmap](https://github.com/users/ChiR24/projects/3) | Track development progress across 48 phases |
|
|
383
438
|
| [Discussions](https://github.com/ChiR24/Unreal_mcp/discussions) | Ask questions, share ideas, get help |
|
|
384
439
|
| [Issues](https://github.com/ChiR24/Unreal_mcp/issues) | Report bugs and request features |
|
|
385
440
|
|
|
@@ -15,6 +15,7 @@ export declare class AutomationBridge extends EventEmitter {
|
|
|
15
15
|
private readonly maxConcurrentConnections;
|
|
16
16
|
private readonly maxQueuedRequests;
|
|
17
17
|
private readonly useTls;
|
|
18
|
+
private readonly connectionTimeoutMs;
|
|
18
19
|
private connectionManager;
|
|
19
20
|
private requestTracker;
|
|
20
21
|
private handshakeHandler;
|
|
@@ -29,6 +30,10 @@ export declare class AutomationBridge extends EventEmitter {
|
|
|
29
30
|
private queuedRequestItems;
|
|
30
31
|
private connectionPromise?;
|
|
31
32
|
private connectionLock;
|
|
33
|
+
private pendingConnectionSocket?;
|
|
34
|
+
private abortedConnectionSockets;
|
|
35
|
+
private connectionAttemptCleanup?;
|
|
36
|
+
private connectionAttemptReject?;
|
|
32
37
|
constructor(options?: AutomationBridgeOptions);
|
|
33
38
|
on<K extends keyof AutomationBridgeEvents>(event: K, listener: AutomationBridgeEvents[K]): this;
|
|
34
39
|
once<K extends keyof AutomationBridgeEvents>(event: K, listener: AutomationBridgeEvents[K]): this;
|
|
@@ -38,6 +43,8 @@ export declare class AutomationBridge extends EventEmitter {
|
|
|
38
43
|
private handleClientConnection;
|
|
39
44
|
private formatHostForUrl;
|
|
40
45
|
private getClientUrl;
|
|
46
|
+
private clearPendingConnection;
|
|
47
|
+
private abortPendingConnection;
|
|
41
48
|
stop(): void;
|
|
42
49
|
isConnected(): boolean;
|
|
43
50
|
getStatus(): AutomationBridgeStatus;
|
|
@@ -46,6 +53,7 @@ export declare class AutomationBridge extends EventEmitter {
|
|
|
46
53
|
}): Promise<T>;
|
|
47
54
|
private sendRequestInternal;
|
|
48
55
|
private processRequestQueue;
|
|
56
|
+
private rejectQueuedRequests;
|
|
49
57
|
send(payload: AutomationBridgeMessage): boolean;
|
|
50
58
|
private broadcast;
|
|
51
59
|
private emitAutomation;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bridge.d.ts","sourceRoot":"","sources":["../../src/automation/bridge.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAgB3C,OAAO,EACH,uBAAuB,EACvB,sBAAsB,EACtB,uBAAuB,EACvB,+BAA+B,EAC/B,sBAAsB,EAEzB,MAAM,YAAY,CAAC;
|
|
1
|
+
{"version":3,"file":"bridge.d.ts","sourceRoot":"","sources":["../../src/automation/bridge.ts"],"names":[],"mappings":"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"}
|