Skip to main content
praisonai-mcp is the standalone package that hosts your PraisonAI agents and tools as an MCP server — reachable from Claude Desktop, Cursor, Windsurf, and any other MCP client, usable on its own or inside the full praisonai stack.
Run praisonai-mcp serve and this agent becomes a tool your MCP client can call.

Quick Start

1

Install the package

2

Set your API key

3

Serve over STDIO

Point Claude Desktop or Cursor at this command and your agents appear as MCP tools.

Install

Pick the extras you need — core alone covers the CLI and STDIO transport.
pip install "praisonai[mcp]" installs praisonai-mcp for you as part of the umbrella product.

Three MCP Layers

Three different packages serve three different MCP roles — don’t conflate them. See The Three MCP Layers for a decision diagram.

CLI Reference

The package ships a praisonai-mcp console script. Inside the full stack the same commands are available as praisonai mcp ….

Host commands

These work with praisonai-mcp alone — no other package required.

Config commands

These read and write the shared PraisonAI configuration, which lives in praisonai-code. Install it to enable them.

Install Matrix

Which entrypoints exist depends on what you install.

Graceful Install Hint

Run a config command with only praisonai-mcp installed and you get an actionable hint instead of a traceback.
Host commands (serve, list-tools, doctor, serve-recipe) never need praisonai-code.

Backward Compatibility

Everything from the pre-extraction layout keeps working.
praisonai.mcp_server is a compatibility shim that re-exports praisonai_mcp.mcp_server, so existing scripts need no changes.

Best Practices

Core covers the CLI and STDIO transport. Add [server] for HTTP-stream and [auth] for OAuth 2.1 / OIDC. [all] bundles both.
Host commands run standalone, but list, add, sync, and friends read the shared config that ships with praisonai-code.
praisonai-mcp runs without the full wrapper, keeping MCP-host images small.
praisonai-mcp doctor checks protocol version, registered components, API keys, and dependencies in one pass.

PraisonAI MCP Server

Heavy MCP host reference and client setup.

The Three MCP Layers

Client vs light server vs heavy host, with a decision diagram.

Package Tiers

How the seven packages stack.

MCP Integration

Connect agents to external MCP servers.