Settings: Network
The network settings: the relay, connections, MCP and A2A. 169 settings, with their type, default and allowed values. Settings explains where a value comes from and how to change one.
A setting marked per room is carried by the room, so every member uses the same value. A setting marked weakens safety needs an explicit confirmation when you set it to anything but its default.
| Setting | Default and allowed values | What it does |
|---|---|---|
a2a.allow_anonymousbool | true | Let agent cards opt in to anonymous callers (as room.knock); false refuses all anonymous A2A callers. |
a2a.blocking_timeout_sfloat | 30.0 s range 0.0 to 3600.0 s | How long a blocking message/send waits for the task to settle. |
a2a.list_page_defaultint | 50 tasks range 1 to 10000 tasks | ListTasks page size when the request gives none. |
a2a.list_page_maxint | 100 tasks range 1 to 10000 tasks | Largest ListTasks page. |
a2a.push_allowlist | empty list | URL prefixes (http:// only) the Rust relay may send A2A push notifications to; empty = push notifications off (cards say pushNotifications: false). |
a2a.push_per_taskint | 8 configs range 1 to 1000 configs | Push notification configs one task may have. |
a2a.push_timeout_sfloat | 5.0 s range 0.1 to 600.0 s | Longest one push notification delivery may take; a failed one is tried again on the task's next change. |
a2a.replay_cache_entriesint | 10000 entries range 100 to 10000000 entries | Signed A2A requests remembered to refuse replays. |
a2a.request_fresh_sfloat | 300.0 s range 1.0 to 86400.0 s | How old a signed A2A request may be. |
a2a.stream_keepalive_sfloat | 15.0 s range 0.1 to 3600.0 s | Idle time after which an open A2A stream gets an SSE comment line, so proxies keep it open (Rust relay). |
a2a.stream_max_sfloat | 3600.0 s range 1.0 to 86400.0 s | Longest an A2A stream (message/stream, SendStreamingMessage, task resubscribe) stays open (Rust relay). |
a2a.token_ttl_sfloat | 3600.0 s range 1.0 to 31536000.0 s | Lifetime of an A2A bearer token from il card token when --ttl is not given. |
bridge.batchint | 200 entries range 1 to 100000 entries | Entries read per outward round. |
bridge.dedupe_maxint | 10000 events range 1 to 10000000 events | How many recent chat event ids are remembered so retries are written once. |
bridge.discord.channelstr | empty | Discord channel id whose messages are brought into the room; empty = any. |
bridge.discord.max_charsint | 2000 chars range 1 to 2000 chars | Longest content posted to Discord per message (Discord's limit is 2000). |
bridge.discord.secret_envstr | IL_DISCORD_BRIDGE_SECRET | Name of the environment variable holding the bearer secret for POST /discord/gateway; without it dispatches are refused. |
bridge.discord.webhookstr | empty | Discord webhook URL the room is mirrored to; empty = no Discord mirroring. |
bridge.hoststr | 127.0.0.1 | Address the bridge's inbound HTTP endpoint (Slack events, Discord gateway dispatches) listens on. |
bridge.http_timeout_sfloat | 10.0 s range 0.1 to 600.0 s | Timeout for one webhook post. |
bridge.max_body_bytesint | 1048576 bytes range 1024 to 67108864 bytes | Largest inbound request body the bridge reads. |
bridge.max_text_charsint | 8000 chars range 1 to 1000000 chars | Longest chat message text written into the room. |
bridge.poll_sfloat | 1.0 s range 0.01 to 3600.0 s | Longest wait for new room entries between outward rounds. |
bridge.portint | 0 port range 0 to 65535 port | Port of the bridge's inbound HTTP endpoint; 0 lets the system choose. |
bridge.slack.channelstr | empty | Slack channel id whose messages are brought into the room; empty = any channel the app hears. |
bridge.slack.max_charsint | 4000 chars range 1 to 40000 chars | Longest text posted to Slack per message. |
bridge.slack.max_skew_sint | 300 s range 1 to 3600 s | How far a Slack request's timestamp may be from now (replay protection). |
bridge.slack.signing_secret_envstr | IL_SLACK_SIGNING_SECRET | Name of the environment variable holding the Slack signing secret; without it Slack events are refused. |
bridge.slack.webhookstr | empty | Slack incoming webhook URL the room is mirrored to; empty = no Slack mirroring. |
card.schema_dirstr | empty | Folder holding the directories' published schemas (mcp-server.json from the MCP Registry, oasf-record.json from OASF): when set, il card publish --to validates against them and prints no 'unverified' warning for those targets. |
client.timeout_sfloat | 10.0 s range 0.1 to 3600.0 s | Default time a client waits for a reply or to connect. |
console.auth_helper.binding_cookiestr | empty cookie name | Cookie name returned by the external auth helper to bind a browser login callback. |
console.auth_helper.commandlist | empty list argv | Optional absolute command for a persistent, local operator browser-auth helper. When set, the relay delegates sign-in and each session check to it. |
console.auth_helper.oauth_pathstr | /oauth/login path | OAuth route prefix delegated to the external auth helper; its callback is at this path plus /callback. |
console.auth_helper.principalslist | empty list principal | Exact helper subjects allowed to read the operator console; empty refuses all sessions. |
console.auth_helper.session_cookiestr | empty cookie name | Cookie name returned by the external auth helper for console sessions. |
console.board_max_pagesint | 64 pages range 1 to 10000 pages | Maximum board pages the operator widget fetches before marking its counts as partial. |
console.board_text_max_charsint | 160 chars range 16 to 1000 chars | Maximum characters from a task title or latest note in an operator board summary. |
console.oauth.access_ttl_sint | 300 s range 1 to 86400 s | Lifetime of an operator console access token. |
console.oauth.allow_loopback_httpbool | false | Allow loopback HTTP for a local fake Google issuer in tests; never enable on a public relay. weakens safety |
console.oauth.clock_skew_sint | 60 s range 0 to 600 s | Allowed future clock skew on Google's ID token issue time. |
console.oauth.code_ttl_sint | 120 s range 1 to 3600 s | Lifetime of one operator console OAuth authorization code. |
console.oauth.fetch_timeout_msint | 5000 ms range 1 to 120000 ms | Timeout for Google discovery, token and signing-key requests. |
console.oauth.google_discovery_urlstr | https://accounts.google.com/.well-known/openid-configuration URL | Google OIDC discovery document for operator login. |
console.oauth.google_domainstr | empty domain | Optional Google hosted-domain restriction, in addition to the exact operator email allowlist. |
console.oauth.google_issuerstr | https://accounts.google.com URL | Expected issuer of Google ID tokens for operator login. |
console.oauth.login_ttl_sint | 300 s range 1 to 3600 s | Lifetime of a browser-bound operator console Google login request. |
console.oauth.max_clientsint | 100 clients range 1 to 100000 clients | Maximum active registered operator console OAuth clients. |
console.oauth.max_id_token_bytesint | 8192 bytes range 1024 to 1048576 bytes | Maximum Google ID token size accepted by the operator console. |
console.oauth.max_pendingint | 100 requests range 1 to 100000 requests | Maximum simultaneous pending operator sign-in requests. |
console.oauth.max_redirectsint | 5 URIs range 1 to 100 URIs | Maximum redirect URIs in one operator console client registration. |
console.oauth.max_registersint | 20 registrations range 1 to 100000 registrations | Maximum operator console client registrations per registration window. |
console.oauth.max_response_bytesint | 262144 bytes range 1024 to 10485760 bytes | Maximum Google discovery, token or signing-key response size. |
console.oauth.originstr | empty HTTPS origin | Public HTTPS origin of the operator console OAuth server; required with relay serve --console. |
console.oauth.refresh_ttl_sint | 604800 s range 1 to 31536000 s | Lifetime of one rotating operator console refresh token. |
console.oauth.register_window_sint | 60 s range 1 to 86400 s | Window for limiting operator console client registrations. |
idbind.audiencestr | empty | Audience a company token must name (aud) to bind a key; empty = not checked. |
idbind.clock_skew_sfloat | 60.0 s range 0.0 to 3600.0 s | Clock difference allowed when checking a token's exp and nbf. |
idbind.jwks_cache_sfloat | 300.0 s range 0.0 to 86400.0 s | How long an issuer's JWKS is reused before it is read again. |
idbind.max_ttl_sfloat | 3600.0 s range 1.0 to 31536000.0 s | Longest lifetime (exp - iat) of a company token accepted for a binding: bindings are short-lived. |
idbind.trustlist | empty list | Company issuers trusted to vouch for Interlinked keys, each "<issuer> <JWKS file or URL>" (roadmap R4); empty = none. |
mcp.builtin.access_ttl_sint | 300 s range 30 to 3600 s | Lifetime of a signed OAuth access token. |
mcp.builtin.approval_ttl_sint | 120 s range 30 to 600 s | Lifetime of a one-time owner approval code. |
mcp.builtin.code_ttl_sint | 120 s range 30 to 600 s | Lifetime of an OAuth authorization code. |
mcp.builtin.max_approval_attemptsint | 5 attempts range 1 to 20 attempts | Most incorrect approval-code attempts per authorization request. |
mcp.builtin.max_clientsint | 20 clients range 1 to 1000 clients | Most registered OAuth clients for this Interlinked home. |
mcp.builtin.max_pendingint | 20 requests range 1 to 1000 requests | Most pending authorization requests. |
mcp.builtin.max_redirect_urisint | 5 URIs range 1 to 100 URIs | Most redirect URIs on one dynamic OAuth client. |
mcp.builtin.max_register_per_windowint | 10 registrations range 1 to 1000 registrations | Most dynamic client registrations in a rate-limit window. |
mcp.builtin.ownerstr | empty | Owner identity allowed to approve and revoke built-in OAuth clients. |
mcp.builtin.refresh_ttl_sint | 604800 s range 300 to 2592000 s | Lifetime of a rotating OAuth refresh token. |
mcp.builtin.register_window_sint | 60 s range 1 to 3600 s | Window for anonymous dynamic-client-registration rate limiting. |
mcp.history_limitint | 20 entries range 1 to 10000 entries | Default number of entries the MCP history tool returns. |
mcp.history_text_charsint | 500 characters range 1 to 1073741824 characters | Longest text the MCP history tool shows per entry unless asked for full texts. |
mcp.http.bindstr | 127.0.0.1 | Address for il mcp http. This transport accepts loopback only until OAuth is installed. |
mcp.http.max_body_bytesint | 1048576 bytes range 1024 to 16777216 bytes | Largest JSON-RPC body accepted by the MCP listener. |
mcp.http.max_connectionsint | 32 connections range 1 to 10000 connections | Most simultaneous MCP HTTP connections served by one process. |
mcp.http.max_header_bytesint | 16384 bytes range 1024 to 1048576 bytes | Largest HTTP request header accepted by the MCP listener. |
mcp.http.portint | 0 port range 0 to 65535 port | Port for il mcp http; 0 chooses an available local port. |
mcp.http.read_timeout_msint | 30000 ms range 1000 to 300000 ms | Time allowed to receive one MCP HTTP request. |
mcp.inbox_contextbool | true | The MCP inbox carries the context of the tasks its entries are about: in full the first time this identity sees a task, then only what changed. |
mcp.inbox_context_budget_tokensint | 0 tokens range 0 to 1000000 tokens | Size of each task context in an MCP inbox result, in estimated tokens; 0 uses work.context.budget_tokens. |
mcp.inbox_limitint | 20 entries range 1 to 1000 entries | Default number of entries the MCP inbox tool returns. |
mcp.inbox_wait_max_sint | 50 s range 0 to 600 s | Longest wait the MCP inbox tool allows. Below most MCP hosts' tool timeout (often 60 s). |
mcp.inbox_wait_poll_msint | 500 ms range 10 to 60000 ms | How often a waiting MCP inbox looks for new entries. |
mcp.oauth.behind_tls_proxybool | false | A public bind is behind HTTPS ingress on a private network; the listener itself is HTTP. |
mcp.oauth.clock_skew_sint | 30 s range 0 to 300 s | Allowed OAuth token clock skew. |
mcp.oauth.fetch_timeout_msint | 5000 ms range 1000 to 30000 ms | Timeout for fetching the OAuth issuer JWKS. |
mcp.oauth.issuerstr | empty | Exact HTTPS issuer identifier of the external OAuth authorization server. |
mcp.oauth.jwks_cache_sint | 300 s range 1 to 86400 s | How long a verified OAuth issuer JWKS is cached. |
mcp.oauth.jwks_uristr | empty | HTTPS JWKS URL published by the trusted OAuth authorization server. |
mcp.oauth.max_jwks_bytesint | 262144 bytes range 1024 to 1048576 bytes | Largest JWKS response accepted from the OAuth issuer. |
mcp.oauth.resourcestr | empty | Canonical HTTPS origin of the protected MCP resource, without a path. |
mcp.oauth.scopestr | interlinked | OAuth scope required on every MCP request. |
mcp.oauth.subjectstr | empty | Exact OAuth subject allowed to use this process's dedicated Interlinked identity. |
mcp.result_max_bytesint | 60000 bytes range 1000 to 10485760 bytes | Largest MCP tool result. |
mcp.text_max_charsint | 65536 characters range 1 to 1073741824 characters | Longest message text the MCP send tool accepts. |
net.read_wait_msint | 1000 ms range 0 to 600000 ms | How long a reading verb (through il-net pull) waits for the relay before answering from the local copy. |
net.send_wait_msint | 3000 ms range 0 to 600000 ms | How long il send (through il-net push) waits for the relay's answer before reporting 'relay not reachable, will sync'. |
operators.googlelist | empty list email | Google email addresses allowed to read the operator console; empty disables access. |
operators.roomsstr | all room rule | Room selection for the operator console, using relay room-rule syntax. |
otel.batch_msfloat | 1000.0 ms range 1.0 to 600000.0 ms | Longest time a record waits before its batch is sent. |
otel.enabledbool | false | Export stored entries, wakes and task steps as OpenTelemetry spans and logs (OTLP/HTTP, JSON). |
otel.endpointstr | http://127.0.0.1:4318 | OTLP/HTTP base URL; /v1/traces and /v1/logs are appended. http:// only (a local collector or agent). |
otel.headerslist | empty list | Extra HTTP headers for the collector, each "Name: value" (for example an API key header). |
otel.max_batchint | 512 records range 1 to 100000 records | Most entries exported in one request. |
otel.queue_maxint | 10000 records range 1 to 10000000 records | Entries waiting for export; more are dropped rather than slow the relay. |
otel.resource_attributeslist | empty list | Extra OTLP resource attributes, each Name=value. Message content is never added automatically. |
otel.samplerstr | always_on | Trace sampler: always_on, always_off, traceidratio, or a parentbased_* equivalent (the relay has no parent span). Logs are unaffected. |
otel.sampler_argfloat | 1.0 range 0.0 to 1.0 | Probability for a traceidratio sampler. |
otel.semconv_versionstr | 1.37.0 | GenAI semantic conventions selector: pinned 1.37.0 or none (Interlinked attributes only). Unsupported versions disable export. |
otel.service_namestr | il-relay | service.name of the exported resource. |
otel.timeout_sfloat | 5.0 s range 0.1 to 600.0 s | Time allowed for one export request. |
relay.big_burst_bytesint | 1048576 bytes range 0 to 1073741824 bytes | A publish at least this large is not kept in the packed cache. |
relay.blob_chunk_bytesint | 262144 bytes range 4096 to 8388608 bytes | Size of each blob chunk on the wire. |
relay.burst_entriesfloat | 10000.0 entries range 1.0 to 1000000000000.0 entries | Token bucket size per key: the largest burst published at once without waiting. |
relay.directorybool | true | Create and serve a directory room for agent cards. |
relay.drain_recheck_sfloat | 0.02 s range 0.001 to 10.0 s | While a connection's output is backed up, how often its reader re-checks before reading more. |
relay.fanout_batch_entriesint | 256 entries range 1 to 100000 entries | Entries per push frame when a subscription catches up. |
relay.federation_rulestr | directory | Rooms a federation link carries when its --peer gives no rule (all | directory | room:<id> | creator:<key> | name:<prefix>). |
relay.free_check_sfloat | 1.0 s range 0.0 to 3600.0 s | How long the relay trusts its last free-space reading before reading it again. |
relay.handshake_timeout_sfloat | 10.0 s range 0.1 to 3600.0 s | A connection that has not proved its key within this time is closed. |
relay.high_water_bytesint | 1048576 bytes range 4096 to 1073741824 bytes | Unsent output above which the relay stops reading from and pushing to a connection. |
relay.hoststr | 127.0.0.1 | Address the relay listens on; plain TCP is refused off loopback unless relay.plain_tcp_off_loopback. |
relay.http_max_body_bytesint | 4194304 bytes range 1024 to 1073741824 bytes | Largest HTTP request body (A2A). |
relay.http_max_header_bytesint | 65536 bytes range 1024 to 1048576 bytes | Largest HTTP request head. |
relay.low_water_bytesint | 262144 bytes range 1024 to 1073741824 bytes | Unsent output below which a paused connection's pushes resume. |
relay.max_blob_bytesint | 1099511627776 bytes range 1 to 1125899906842624 bytes | Largest blob the relay stores. |
relay.max_body_bytesint | 8388608 bytes range 1024 to 1073741824 bytes | Largest entry body the relay accepts inline. |
relay.max_conns_per_ipint | 256 connections range 1 to 1000000 connections | Open connections the relay accepts from one address (frames and HTTP); more are closed at once. |
relay.max_frame_bytesint | 9437184 bytes range 65536 to 1073741824 bytes | Largest frame either side accepts; larger frames close the connection. |
relay.max_part_bytesint | 268435456 bytes range 1048576 to 68719476736 bytes | Largest burst held across pub.part frames per connection. |
relay.min_free_bytesint | 67108864 bytes range 0 to 1099511627776 bytes | Free space the relay keeps on its store's filesystem: below it, new entries and blobs are refused with error 'full' (the relay stays up and keeps serving reads); 0 = no check. |
relay.mls_pending_ttl_sfloat | 3600.0 s range 0.01 to 86400.0 s | How long an MLS candidate may wait for missing inputs before the relay permanently drops it. |
relay.offset_cache_entriesint | 100000 entries range 0 to 100000000 entries | Recent entry ids whose local offset the Rust relay remembers for seen (il status); older ones are found by reading the room. |
relay.packed_cache_entriesint | 50000 entries range 0 to 10000000 entries | Packed entries kept in memory for fan-out. |
relay.peer_key_rulestr | all | Rooms a trusted peer key may forward and read when its --peer-key gives no rule. |
relay.plain_tcp_off_loopbackbool | false | Allow plain TCP on a non-loopback address (no channel encryption). weakens safety |
relay.portint | 443 port range 0 to 65535 port | TCP port of the relay (frames and HTTP on one port); 0 lets the system choose. |
relay.pre_admission_burstfloat | 8.0 requests range 1.0 to 1000000.0 requests | Request burst for each unattested connection. |
relay.pre_admission_idle_msint | 30000 ms range 1 to 600000 ms | Idle time allowed for an unattested connection to contact its admission authority. |
relay.pre_admission_lifetime_msint | 120000 ms range 1 to 600000 ms | Absolute lifetime of an unattested connection, even while it sends traffic. |
relay.pre_admission_max_connectionsint | 128 connections range 1 to 1000000 connections | Maximum simultaneous unattested connections on this relay. |
relay.pre_admission_max_entry_bytesint | 16384 bytes range 1024 to 1048576 bytes | Largest request frame from an unattested connection. |
relay.pre_admission_rate_per_sfloat | 4.0 requests/s range 0.001 to 1000000.0 requests/s | Request rate for each unattested connection. |
relay.rate_entries_per_sfloat | 5000.0 entries/s range 0.001 to 1000000000000.0 entries/s | Publish rate allowed per key (token bucket refill). |
relay.reach_max_recipientsint | 256 keys range 0 to 100000 keys | Recipients reported per publish in reach. |
relay.spool_chunk_bytesint | 4194304 bytes range 65536 to 1073741824 bytes | A burst spooled to disk (pub.part) is fed to the store in chunks of this size: the relay's memory for a burst of any size. |
relay.sweep_sfloat | 30.0 s range 0.0 to 86400.0 s | How often rooms nobody subscribes to are checked for other processes' writes (0 = never). |
relay.threadsint | 0 threads range 0 to 1024 threads | Rust relay I/O threads (one single-threaded runtime each); 0 = one per core. |
relay.tlschoice | auto one of auto, on, off | TLS on the relay port: auto = on unless the address is loopback. |
relay.tls_cert_daysint | 3650 days range 1 to 36500 days | Validity of the relay's self-signed certificate when it makes one. |
relay.tls_renew_before_daysint | 30 days range 1 to 3650 days | Replace the certificate when fewer than this many days of validity remain. |
relay.wait_cursors_default_sfloat | 10.0 s range 0.0 to 300.0 s | wait_cursors timeout when the request gives none. |
relay.wait_cursors_max_sfloat | 300.0 s range 0.0 to 86400.0 s | Longest wait_cursors timeout a request may ask for. |
relay.want_budget_bytesint | 9371648 bytes range 65536 to 1073741824 bytes | A want reply stops before it would exceed this size. |
relay.want_max_per_authorint | 5000 entries range 1 to 1000000 entries | Most entries a want item returns for one author. |
relay.watch_other_writersbool | false | Watch subscribed rooms for writes by other processes sharing the relay's store; off by default (a relay that owns its store needs no watcher, and its own writes would wake it: ~0.37 ms on a fan-out confirmation). |
relay.watch_timeout_sfloat | 60.0 s range 0.1 to 86400.0 s | Longest wait of the room watcher before it re-checks. |
relay.witness_every_sfloat | 2.0 s range 0.01 to 86400.0 s | Shortest time between two witness entries the relay writes in a room. |
sync.batch_entriesint | 1000 entries range 1 to 100000 entries | Entries asked for per author in one replication round. |
sync.federation_scan_sfloat | 5.0 s range 0.1 to 3600.0 s | How often a relay's federation link rescans for rooms (writes are pushed at once). |
sync.follow_blob_fetch_windowint | 4 blobs range 1 to 4 blobs | Maximum concurrent blob downloads on one follow connection; total queued bytes stay capped at 16 MiB. |
sync.follow_poll_sfloat | 0.02 s range 0.001 to 60.0 s | How often a client follower checks its own store for new entries to push. |
sync.frame_entriesint | 2000 entries range 1 to 100000 entries | Most entries a sender puts in one pub frame. |
sync.rate_wait_max_sfloat | 30.0 s range 0.0 to 3600.0 s | Longest a sender waits in total when a relay asks it to slow down. |
sync.reconnect_jitterfloat | 0.2 fraction range 0.0 to 1.0 fraction | Random spread added to each reconnection wait (0.2 = up to 20 % longer), so many clients do not reconnect at the same instant. |
sync.reconnect_max_sfloat | 5.0 s range 0.01 to 3600.0 s | Longest wait between a follower's reconnection attempts: the wait doubles from sync.reconnect_s after each failed attempt, up to this, and resets once connected. |
sync.reconnect_sfloat | 0.2 s range 0.01 to 3600.0 s | Wait before a follower reconnects after losing its connection. |