Settings
settings
Runtime settings for the MCP serving process.
health_url(host, port)
resolve_http_port()
Resolve the MCP HTTP port for the active state profile.
A listening point is a profile-owned resource, so the decision belongs to
:func:axm_config.service_port: it keeps the adopted 9427 under
production, derives a per-profile port elsewhere, and still honours the
historical AXM_MCP_PORT variable through its alias registry. Reading
that variable here as well would race that precedence instead of
deferring to it.
Source code in packages/axm-mcp/src/axm_mcp/settings.py
resolve_pid_file()
Resolve the MCP server PID file for the active profile.
resolve_serve_mode(explicit=None)
Resolve serving mode with explicit > environment > file > default.