Quick Start
1
Install Dependencies
2
Set API Key
3
Create Agent MCP Server
4
Verify
Single Agent as MCP
Multi-Agent as MCP
MCP Endpoints
| Endpoint | Method | Description |
|---|---|---|
/sse | GET | SSE connection for MCP |
/messages/ | POST | Send MCP messages |
launch() Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
port | int | 8000 | Server port |
host | str | 0.0.0.0 | Server host |
protocol | str | mcp | Must be mcp |
debug | bool | False | Debug mode |
Connect MCP Client
Claude Desktop (claude_desktop_config.json):
.cursor/mcp.json):
Test MCP Tools
Docker Deployment
app.py:Troubleshooting
| Issue | Fix |
|---|---|
| Port in use | lsof -i :8080 |
| Missing deps | pip install "praisonaiagents[mcp]" |
| No API key | export OPENAI_API_KEY="your-key" |
| SSE not connecting | Check firewall, use host="0.0.0.0" |
Related
- Tools MCP - Deploy tools as MCP server
- Recipes MCP - Deploy recipes as MCP server
- PraisonAI MCP - Full PraisonAI MCP server
- Agents HTTP - Deploy as HTTP server

