--- title: 'DF0051: Instance Has No MCP Endpoint' description: 'The devframe instance on port {port} has no MCP endpoint.' --- ## Message > The devframe instance on port `{port}` has no MCP endpoint. ## Cause The `devframe connect` gateway tool `devframe_connect_call-tool` targeted a live instance running without an MCP route: its `__connection.json` advertises no `mcp` entry, so there is no endpoint to proxy the tool call to. ## Example ```ts // The instance on 5173 was started without --mcp: // devframe_connect_call-tool({ port: 5173, tool: 'devframe_state_read' }) → DF0051 ``` ## Fix Restart the instance with the `--mcp` flag (or pass `mcp: true` to `createCac` / its programmatic host) to expose its tools, then list instances again. ## Source - [`packages/devframe/src/cli/connect.ts`](https://github.com/devframes/devframe/blob/main/packages/devframe/src/cli/connect.ts): `call()` throws this when the targeted instance's record carries `mcp: null`.