Skip to main content
Serve any recipe as its own MCP server, so an MCP client sees exactly one recipe’s tools, prompts, and resources — safe-mode on by default.

Quick Start

1

Build an agent recipe

Save the recipe as support-reply so the bridge can find it by name.
2

Serve the recipe as an MCP server

Only this recipe’s tools and prompts are exposed — nothing else.
3

Point your MCP client at it

Paste the printed block into your Claude Desktop config and the recipe appears as a tool.

How It Works

A recipe maps to MCP primitives: agent tools become MCP tools, agent instructions become MCP prompts, and the recipe config becomes MCP resources — all behind a deny-list gate.

CLI Commands

Four commands turn a recipe into an MCP server. Each works as praisonai mcp <command> inside the full stack, or praisonai-mcp <command> standalone.

serve-recipe

Turn a recipe into a scoped MCP server.

validate-recipe

Check a recipe is safe to host before serving it.
Warnings flag recipes with no tools or with shell/exec tools.

inspect-recipe

Show the tools, resources, and prompts a recipe would expose.
With no flags, it shows everything.

config-generate-recipe

Emit a client config block that points at this recipe.

Which Serve Command

Three commands serve MCP — pick the one that matches your scope.

Allow / Deny Lists and Safe Mode

Safe mode is on by default and filters every tool through a deny-list before it reaches a client.
Safe mode blocks destructive tools by default. Only disable it with --no-safe-mode when you fully trust the recipe.
Default denied tools (from DEFAULT_DENIED_TOOLS in the adapter): A tool is blocked when a denied name matches part of the tool name in either direction. Set an allow-list and only those tools pass; leave it empty and the deny-list applies.
Setting tool_denylist replaces the defaults — copy in the entries you still want to block.

Python API

Load a recipe and run it as an MCP server in three lines.

RecipeMCPAdapter

RecipeMCPConfig


End-to-End Example

Go from an agent recipe to a working Claude Desktop tool in three steps.
1

Write the recipe

2

Serve it

3

Generate the client config

Paste that block into Claude Desktop’s config and the support-reply recipe appears as a tool.

Best Practices

Run praisonai mcp validate-recipe <name> to catch missing tools or shell/exec warnings before a client connects.
praisonai mcp inspect-recipe <name> shows the exact tools, resources, and prompts a client will see.
Safe mode blocks destructive tools like shell.exec and file.delete. Only use --no-safe-mode for recipes you fully trust.
An allow-list exposes only the tools you name, which is tighter than extending the deny-list.

PraisonAI MCP Server

Heavy MCP host reference and client setup.

praisonai-mcp Package

Package install and CLI guide.

The Three MCP Layers

Client vs light server vs heavy host.

Package Tiers

Where praisonai-mcp sits in the stack.