Skip to main content
Commands for running PraisonAI’s MCP server, inspecting built-in tools, and attaching external MCP servers to agent runs.

Quick Start

MCP server commands

Serve

Start the PraisonAI MCP server:
Common flags: --name, --debug, --response-mode batch|stream, --session-ttl, --log-level, --json.

Inspect built-in tools

Health check

Use the doctor command to verify MCP connectivity (not praisonai mcp doctor):

Using MCP with agents

Basic usage

Multiple MCP servers

With environment variables

Connection types

Lifecycle management

Connections opened via --mcp are cleaned up automatically when the agent run finishes:

Debugging

Verbose agent run

Python connectivity check

MCP CLI Reference

Full MCP command reference

Doctor CLI

MCP health checks via doctor mcp

MCP Tool Search

Search and inspect MCP tools

MCP Lifecycle

SDK-level MCP lifecycle