MCP Server CLI Commands
PraisonAI provides comprehensive CLI commands for running and managing MCP servers.The MCP server host ships as the standalone praisonai-mcp package. Every
praisonai mcp serve … example below also runs as praisonai-mcp serve … — both forms are equivalent for host commands. See The Three MCP Layers for how the host fits.Primary Command
Subcommands
serve
Start the MCP server.Use
--keys-file for per-team, least-privilege scoped keys. See Scoped API keys for the JSON format, the operation→scope map, and the insufficient_scope response.list-tools
List all available MCP tools.list-resources
List all available MCP resources.list-prompts
List all available MCP prompts.config-generate
Generate client configuration for MCP clients.doctor
Check MCP server health and configuration.Deprecated Commands
The following commands are deprecated and will be removed in a future version:praisonai mcp serve.
Examples
Start STDIO Server for Claude Desktop
Start HTTP Server with Authentication
Start Server with Custom Origins
Generate and Apply Claude Desktop Config
Debug Mode
Environment Variables
Exit Codes
See Also
- PraisonAI MCP Server - Full MCP server documentation
- MCP Transports - Transport protocol details
- Custom MCP Server - Building custom MCP servers

