|
Option C Tools
|
Static Public Attributes | |
| str | profile = "default" |
| int | rate_limit_per_minute = 30 |
| int | timeout_default_seconds = 60 |
| int | timeout_test_seconds = 300 |
| int | max_output_bytes = 1_048_576 |
| int | max_jobs = 4 |
| bool | auto_approve_read_tools = True |
| bool | dry_run_default_for_writes = True |
| bool | redaction_always_on = False |
| str | audit_log_path = str(Path.home() / ".oct-mcp" / "audit.log") |
| int | audit_log_max_files = 20 |
| float | audit_log_max_size_mb = 5.0 |
| bool | trust_repo_config = False |
| bool | safe_mode = False |
| str | sandbox_backend = "auto" |
| int | memory_limit_mb = 512 |
| int | metrics_port = None |
| str | policy_source = None |
Runtime configuration for the ``oct-mcp`` server. All fields have safe, conservative defaults that work without any config file present. Fields loaded from JSON are clamped to the valid ranges defined by the module-level constants. ``trust_repo_config`` defaults to ``False`` — repo-level config (``debug_config.json``, ``.octrc.json``) is untrusted by default per blueprint §8.1. Set to ``True`` via ``OCT_TRUST_REPO_CONFIG=1`` or the config file field ``trust_repo_config: true``.
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |