CLI
Python - Custom Tools
Python - Built-in Tools
Python - Stdio Transport
For Claude Desktop local integration:agents.yaml
Tools MCP server is Python-only. Use the Python SDK.MCP Endpoints (SSE Transport)
| Endpoint | Method | Description |
|---|---|---|
/sse | GET | SSE connection for MCP |
/messages/ | POST | Send MCP messages |
ToolsMCPServer Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
name | str | praisonai-tools | Server name |
tools | list | None | Initial tools to register |
debug | bool | False | Enable debug logging |
launch_tools_mcp_server Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
tools | list | None | Custom tool functions |
tool_names | list | None | Built-in tool names |
name | str | praisonai-tools | Server name |
transport | str | stdio | stdio or sse |
host | str | 0.0.0.0 | Host for SSE |
port | int | 8080 | Port for SSE |
Connect MCP Client
Claude Desktop (claude_desktop_config.json):
For SSE transport:
Test MCP Tools
Troubleshooting
| Issue | Fix |
|---|---|
| Port in use | lsof -i :8080 |
| Missing deps | pip install "praisonaiagents[mcp]" |
| Tool not found | Check tool is registered before run() |
| SSE not connecting | Check firewall, use host="0.0.0.0" |
Related
- MCP API Reference - Full MCP endpoint documentation
- MCP Server - Deploy agents as MCP server
- Agents Server - Deploy as HTTP server

