DF0046: Connector Requires the MCP SDK
Message
devframe connectrequires 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:
sh
npm install @modelcontextprotocol/server
devframe connectSource
packages/devframe/src/cli/connect.ts—startConnectServer()throws this when the dynamic SDK import fails.