Skip to main content
Deploy all PraisonAI capabilities as an MCP server for Claude Desktop, Cursor, Windsurf, and other MCP clients.

Quick Start

1

Install Dependencies

2

Set API Key

3

Start MCP Server

praisonai-mcp serve … (standalone) and praisonai mcp serve … (umbrella) are equivalent for host commands. See the praisonai-mcp Package guide and The Three MCP Layers.

Serving Your Own Agents

To publish your agents (not the built-in throwaway assistant), use serve_agents([...]).
See Serve Agents for the full guide.

CLI - STDIO Transport

For Claude Desktop, Cursor, Windsurf local integration:
STDIO transport now works on Windows (ProactorEventLoop + Python 3.13), where it previously crashed with WinError 6. It also survives malformed input and shuts down cleanly. See the STDIO Transport Reliability section.

CLI - HTTP Stream Transport

For remote access (MCP 2025-11-25 spec):
Expected Output:

CLI Options

Python SDK

Constants

praisonai_mcp exports two module-level naming constants (in __all__). They back forthcoming session-listing and approval-over-MCP features and keep the vocabulary consistent with the SDK’s list_* verb style.

MCP Protocol Features

Protocol Version: 2025-11-25

Generate Client Config

Since v4.6.154, config-generate auto-detects your install type and emits the matching command (praisonai-mcp for standalone, praisonai for umbrella). Both forms are shown below.
Claude Desktop Output:

Connect MCP Client

Claude Desktop (claude_desktop_config.json): For STDIO:
For HTTP Stream:
Cursor (.cursor/mcp.json):

List Available Tools

Output:

Agent Tools

The built-in agent tools run a generic, server-owned assistant proxy — not your agents.
The instructions= parameter was removed from praisonai.agent.chat and praisonai.agent.run in PR #3531 (fixes #3528). A connecting client can no longer rewrite the assistant’s persona — the server owns it. To publish your agents with your persona, use serve_agents([...]).

Memory Tools

The memory tools call the real core memory API.
praisonai.memory.sessions was removed in PR #3531 — the tool no longer exists.

Search Tools

Health Check

Output:

Authentication

For HTTP Stream transport with API key:
Client config with auth:

Troubleshooting