DF0046: Connector Requires the MCP SDK

devframe connect requires the optional peer dependency @modelcontextprotocol/client: {reason}

Message

devframe connect requires the optional peer dependency @modelcontextprotocol/client: {reason}

Cause

devframe connect was started but @modelcontextprotocol/client could not be imported. The client SDK is an optional peer dependency of devframe: only the connector dials other instances, so only it needs the package installed.

Fix

Install the SDK next to devframe and run the connector again:

npm install @modelcontextprotocol/client
devframe connect

Source