INNER CODE UNIT · Python

ProxmoxMCPServer

RekklesNA/ProxmoxMCP-Plus · src/proxmox_mcp/server.py:108

class ProxmoxMCPServer:
    """Main server class for Proxmox MCP."""

    def __init__(self, config_path: Optional[str] = None):
        self.code_mode: CodeMode | None = None
        self.config = load_config(config_path)
        self.tool_exposure_policy = ToolExposurePolicy(
            known_tools=BUILTIN_TOOL_NAMES,
            allowlist=self.config.mcp.tool_allowlist,
            denylist=self.config.mcp.tool_denylist,
        )
        self.logger = setup_logging(self.config.logging)
        self.target_registry = TargetRegistry(self.config)
        self.proxmox_managers = {
            name: ProxmoxManager(
                target.config,
                target.auth,
                api_tunnel_config=target.api_tunnel,

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…