Skip to main content

launch

Method
This is a method of the McpLauncherProtocol class in the protocols module.
Launch MCP server for the agent.

Signature

Parameters

Any
required
The agent instance to serve
str
default:"'/'"
Base path for MCP endpoints
int
default:"8000"
Server port (default: 8000)
str
default:"'0.0.0.0'"
Server host (default: ‘0.0.0.0’)
bool
default:"False"
Enable debug mode (default: False)

Source

View on GitHub

praisonaiagents/agent/protocols.py at line 303