Skip to content

RoleX/V2 MCP actions fail with Cannot read properties of undefined (reading create) #569

@lost9999

Description

@lost9999

Summary

PromptX MCP is partially usable, but RoleX/V2 operations fail with an internal error:

  • Cannot read properties of undefined (reading 'create')

V1 role activation still works.

Environment

  • OS: Windows
  • PromptX Desktop: 2.4.0
  • PromptX MCP Server: 2.2.1
  • Node: 22.20.0

What works

  • project(...)
  • discover(...)
  • V1 role activation, for example nuwa

What fails

PromptX MCP V2 / RoleX-related actions fail, for example:

  • action(operation="directory", role="_")

Error:

Cannot read properties of undefined (reading 'create')

Repro

  1. Bind project with PromptX MCP
  2. Call discover
  3. Call action(operation="directory", role="_")
  4. Observe the internal error above

Expected

RoleX/V2 actions should initialize and complete normally.

Actual

RoleX/V2 initialization fails internally, while V1 role activation remains usable.

Additional notes

  • This does not look like a simple local environment issue because V1 flows still work.
  • The failure seems isolated to the RoleX/V2 path.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions