ODOO_TRANSPORT
optional
Optional connection protocol; choose based on your Odoo version and deployment.
ODOO_JSON2_DATABASE_HEADER
optional
Controls whether JSON-2 requests send the database header; set according to host or dbfilter routing.
ODOO_CONFIG_FILE
optional
Optional path to a configuration file containing Odoo connection settings.
ODOO_LOCALE
optional
Optional locale code for Odoo calls.
ODOO_MCP_MAX_SMART_FIELDS
optional
Configuration value limiting automatic smart-field selection.
ODOO_MCP_LOG_LEVEL
optional
Process log-level configuration value.
ODOO_MCP_LOG_JSON
optional
Configuration value to enable JSON-formatted logs.
ODOO_MCP_LOG_FILE
optional
Optional path for the log file.
ODOO_MCP_ENABLE_WRITES
optional
Required switch for approved writes; set only when writes are needed.
ODOO_MCP_ALLOWED_SIDE_EFFECT_METHODS
optional
Exact names of side-effect methods allowed to execute.
ODOO_MCP_POLICY_FILE
optional
Optional policy file path for the side-effect method allowlist.
ODOO_MCP_ALLOW_UNKNOWN_METHODS
optional
Switch for broad mode that allows unlisted methods.
ODOO_MCP_AUDIT_LOG
optional
Optional path for the JSONL audit log.
ODOO_MCP_ELICIT_WRITES
optional
Switch for an MCP human-confirmation form before writes.
ODOO_MCP_RETRY_ATTEMPTS
optional
Extra retries for read-only calls after connection errors.
ODOO_MCP_RETRY_BACKOFF
optional
Base backoff in seconds between retries.
ODOO_MCP_SCHEMA_CACHE_TTL
optional
Lifetime in seconds for schema cache entries.
ODOO_MCP_SCHEMA_CACHE_MAX
optional
Maximum number of schema cache entries.
ODOO_MCP_RATE_LIMIT_MODE
optional
Rate-limit mode setting.
ODOO_MCP_RATE_LIMIT_WINDOW
optional
Rate-tracking window length in seconds.
ODOO_MCP_RATE_LIMIT_MAX_CALLS
optional
Allowed calls per window for each instance and tool.
ODOO_MCP_ASYNC_MAX_WORKERS
optional
Number of worker threads for background tasks.
ODOO_MCP_ASYNC_MAX_TASKS
optional
Maximum number of retained background tasks.
ODOO_MCP_ASYNC_RESULT_TTL
optional
Seconds a finished background task result remains available.
ODOO_MCP_KNOWLEDGE_MAX_DOCS
optional
Maximum document count across local knowledge indexes.
ODOO_MCP_FIELD_POLICY_FILE
optional
Optional field access policy file path.
ODOO_MCP_CROSS_INSTANCE_WORKERS
optional
Maximum concurrency for cross-instance work.
MCP_CHATTER_DIRECT
optional
Switch allowing chatter_post to bypass approval-token gating.
MCP_ALLOW_REMOTE_HTTP
optional
Switch allowing non-local HTTP binds.
MCP_ALLOWED_HOSTS
optional
CSV list of hosts allowed for HTTP transport.
MCP_ALLOWED_ORIGINS
optional
CSV list of origins allowed for HTTP transport.
ODOO_MCP_MAX_ATTACHMENT_BYTES
optional
Byte limit for content returned by read_attachment.
ODOO_MCP_ATTACHMENT_UPLOAD_ROOTS
optional
Colon-separated local directories validate_write may read uploaded files from.
ODOO_MCP_MAX_ATTACHMENT_UPLOAD_BYTES
optional
Byte limit for local attachment uploads.
ODOO_MCP_AUTH_ISSUER_URL
optional
Optional authorization server issuer URL for OAuth.
ODOO_MCP_AUTH_INTROSPECTION_URL
optional
Optional OAuth token introspection endpoint URL.
ODOO_MCP_AUTH_RESOURCE_URL
optional
Canonical MCP server URL used for token audience checks.
ODOO_MCP_AUTH_REQUIRED_SCOPES
optional
CSV list of OAuth scopes required for every request.
ODOO_MCP_AUTH_CLIENT_ID
optional
Optional client ID for authorization-server introspection calls.
ODOO_MCP_AUTH_REQUIRE_AUD
optional
Switch requiring an aud claim in token introspection responses.
ODOO_MCP_AUTH_REQUIRE_ISS
optional
Switch requiring an iss claim in token introspection responses.
ODOO_MCP_AUTH_CACHE_TTL
optional
Seconds to cache OAuth token introspection results.
ODOO_MCP_PLUGINS
optional
CSV list of third-party tool plugin entry-point names to load.
ODOO_MCP_TOOLS_INCLUDE
optional
CSV list of fnmatch globs for tools to keep registered.
ODOO_MCP_INSTRUCTIONS_FILE
optional
Optional plain-text file whose contents are appended to server instructions.