Skip to content

iii worker add mcp fails with missing skills dependency, but config.yaml starts it successfully #1723

Description

@orincolor

Description

iii worker add mcp fails with a hard dependency error on the skills worker,
which is not published to the registry. However, adding mcp to config.yaml
starts it successfully — same binary, no errors.

Steps to reproduce

Fails:

iii worker add mcp
Error: requires skills worker which is not in the registry.

Works:

# config.yaml
workers:
  - name: mcp
    config:
      api_path: /mcp

Engine starts, iii worker list shows mcp running with a PID.

Expected behavior

iii worker add mcp should work the same way the engine's config-based startup
does — either the dependency is required in both paths, or neither.

Impact

Users cannot install the MCP worker via CLI. The only workaround is manually
adding it to config.yaml, which is undocumented.

Metadata

Metadata

Assignees

Labels

Type

No fields configured for Bug.

Projects

Status
Backlog

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions