DF0046: Connector Requires the MCP SDK

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

Message

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

Cause

devframe connect was started but @modelcontextprotocol/server could not be imported. The SDK is an optional peer dependency of devframe — the MCP surface stays opt-in, so it only needs to be installed where MCP features are used.

Fix

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

npm install @modelcontextprotocol/server
devframe connect

Source