CrewAI errors / Install

click.exceptions.Abort: You are missing the 'mcp' package

platform: CrewAI / category: Install

Cause

MCPServerAdapter.__init__() calls click.confirm() interactively when the mcp package is absent, which aborts in non-TTY environments like FastAPI, Docker, and CI.

Fix

Install the package: pip install mcp crewai-tools[mcp]. In headless environments, ensure mcp is in your requirements file so MCPServerAdapter never reaches the prompt. Track the upstream fix (raise ImportError instead of prompting) in CrewAI issue #3163.

Source thread →

Part of the Automation Error Index — CrewAI errors: browse all.

Hitting an automation error we have not covered?

AutomateLab builds and debugs n8n, Make, and agent workflows as fixed-scope projects. If something is broken in production, tell us what you are seeing.

Describe the problem