Skip to main content

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.
Options:
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.
Example Output:

list-resources

List all available MCP resources.
Example Output:

list-prompts

List all available MCP prompts.
Example Output:

config-generate

Generate client configuration for MCP clients.
Options:

doctor

Check MCP server health and configuration.
Example Output:

Deprecated Commands

The following commands are deprecated and will be removed in a future version:
These commands will show a deprecation warning and redirect to 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