---
title: "DF0079: MCP Enabled Without @devframes/agentic"
description: "The mcp option is enabled, but the optional peer \"@devframes/agentic\" could not be loaded: {reason}"
canonical_url: "https://devfra.me/errors/df0079"
---
# DF0079: MCP Enabled Without @devframes/agentic

> The mcp option is enabled, but the optional peer "@devframes/agentic" could not be loaded: \{reason}

## Message

> The `mcp` option is enabled, but the optional peer "@devframes/agentic" could not be loaded: `{reason}`

## Cause

An explicit `mcp` setting (`true`, a route options object, the `--mcp` flag, or the `mcp` CLI subcommand) asked for an MCP surface, but the implementation could not be loaded from the optional `@devframes/agentic` peer, typically because it is not installed. Unlike the omitted `'auto'` default (which degrades to a one-time [DF0078](https://devfra.me/errors/DF0078) warning), an explicit opt-in fails fast rather than silently running without MCP.

## Fix

Install the peer next to devframe:

```sh
npm install @devframes/agentic
```

Or remove the explicit `mcp` setting (or pass `mcp: false`) if the endpoint isn't wanted. The underlying import error is attached as `cause`.

## Source

- [`packages/devframe/src/node/agentic.ts`](https://github.com/devframes/devframe/blob/main/packages/devframe/src/node/agentic.ts): `importAgenticMcp()` maps a failed load of `@devframes/agentic/mcp` to this error.


## Sitemap

See the full [sitemap](https://devfra.me/sitemap.md) for all pages.
