Quick Start
MCP server commands
Serve
Start the PraisonAI MCP server:--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 (notpraisonai mcp doctor):
Using MCP with agents
Basic usage
Multiple MCP servers
With environment variables
Connection types
| Transport | Example --mcp value |
|---|---|
| Stdio (command) | "uvx mcp-server-time" |
| SSE URL | "http://localhost:8080/sse" |
| HTTP stream | "http://localhost:8080" |
| WebSocket | "ws://localhost:8080" |
Lifecycle management
Connections opened via--mcp are cleaned up automatically when the agent run finishes:
Debugging
Verbose agent run
Python connectivity check
Related
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

