Skip to content

DF0046: Connector Requires the MCP SDK ​

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:

sh
npm install @modelcontextprotocol/server
devframe connect

Source ​

Released under the MIT License.