Option C Tools
Loading...
Searching...
No Matches
config.py File Reference

Go to the source code of this file.

Classes

class  oct.mcp.config.McpConfig

Namespaces

namespace  oct
namespace  oct.mcp
namespace  oct.mcp.config

Functions

None oct.mcp.config._dbg (*args, **kwargs)
McpConfig oct.mcp.config.load_config (Path|None path=None)
McpConfig oct.mcp.config._apply_json (McpConfig base, dict data)

Variables

int oct.mcp.config._CONFIG_MAX_BYTES = 64 * 1024
Path oct.mcp.config._DEFAULT_CONFIG_PATH = Path.home() / ".oct-mcp" / "config.json"
tuple oct.mcp.config.VALID_MCP_PROFILES = ("default", "strict", "airgapped")
int oct.mcp.config._RATE_LIMIT_MIN = 1
int oct.mcp.config._RATE_LIMIT_MAX = 1000
int oct.mcp.config._TIMEOUT_MIN = 5
int oct.mcp.config._TIMEOUT_MAX = 300
int oct.mcp.config._TIMEOUT_TEST_MAX = 600
int oct.mcp.config._MAX_OUTPUT_MIN = 1024
int oct.mcp.config._MAX_OUTPUT_MAX = 10 * 1024 * 1024
int oct.mcp.config._MAX_JOBS_MIN = 1
int oct.mcp.config._MAX_JOBS_MAX = 16
int oct.mcp.config._MEMORY_LIMIT_MIN = 0
int oct.mcp.config._MEMORY_LIMIT_MAX = 8192
int oct.mcp.config._METRICS_PORT_MIN = 1
int oct.mcp.config._METRICS_PORT_MAX = 65535
tuple oct.mcp.config.VALID_SANDBOX_BACKENDS = ("auto", "native", "bubblewrap", "sandbox_exec")