Quick Start
CLI - STDIO Transport
For Claude Desktop local integration:CLI - HTTP Stream Transport
For remote access:Python SDK
Recipe MCP Mapping
| Recipe Component | MCP Primitive |
|---|---|
| Recipe metadata | Server metadata |
| Agent tools | MCP Tools (namespaced) |
| Agent instructions | MCP Prompts |
| Recipe config | MCP Resources |
| Recipe outputs | MCP Resources |
RecipeMCPConfig Options
| Field | Type | Default | Description |
|---|---|---|---|
recipe_name | str | - | Recipe to serve |
expose_agent_tools | bool | True | Expose agent tools |
expose_run_tool | bool | True | Expose run tool |
tool_namespace | str | prefixed | flat, nested, prefixed |
expose_config | bool | True | Expose config as resource |
expose_outputs | bool | True | Expose outputs as resource |
expose_prompts | bool | True | Expose prompts |
safe_mode | bool | True | Enable security restrictions |
tool_allowlist | list | None | Allowed tool names |
tool_denylist | list | None | Denied tool names |
CLI Options
| Option | Default | Description |
|---|---|---|
--transport | stdio | stdio or http-stream |
--host | 127.0.0.1 | HTTP host |
--port | 8080 | HTTP port |
--safe-mode | True | Enable security |
--log-level | warning | Log level |
Generate Client Config
Connect MCP Client
Claude Desktop (claude_desktop_config.json):
For STDIO:
Validate Recipe
Check if a recipe is MCP-compatible:Inspect Recipe Schema
Security
Default denied tools (dangerous operations):shell.exec,shell.runfile.write,file.deletedb.write,db.deleteexecute_command,os.system
--safe-mode=false (not recommended).
Troubleshooting
| Issue | Fix |
|---|---|
| Recipe not found | praisonai mcp list-recipes |
| Missing deps | pip install "praisonai[mcp]" |
| Tool denied | Check tool_denylist |
| Port in use | Change --port |
Related
- Tools MCP - Deploy tools as MCP server
- Agents MCP - Deploy agents as MCP server
- PraisonAI MCP - Full PraisonAI MCP server

