Backend settings
The API, the worker and the init job read their settings from the environment. On a local stack, the file backend-api/backend/envs/.env supplies them, and a deployment supplies the same variables through its own configuration. The Settings class in backend-api/backend/utilities/config.py declares every setting, in groups, and this page follows those groups.
A variable has the name of the setting, matched without regard to case and without any prefix. A setting that has no default is required, and the process does not start without it. Each table lists the variable, its type, its default and what it does. A setting that takes one of a few values lists them in the place of its type. The description is the description of the setting's Field in config.py, and a test fails for a setting that has none, or that the code reads from the environment without declaring it. The file backend-api/backend/envs/.env.example is a template of envs/.env.
The tables are generated from the Settings class. The data is backend-api/backend/reference-data/settings.json, which the backend's exporter writes.
Access (AccessSettings)
This group holds the key that encrypts stored secrets, WORKSPACE_AES_KEY. Plugin secrets and other values that the API must read back later are encrypted with it, so every API and worker process must use the same key.
WORKSPACE_AES_KEYstrrequiredThe key of the encryption at rest (AES-256-GCM), as a base64url string of at least 32 bytes: stored provider keys, connection and MCP headers and authenticator secrets are encrypted with it. The API does not start without it, and what is stored under it cannot be read with another key.
Application (AppSettings)
This group holds the web app's address (APPURL), which the API uses in the links that it sends, and the permissions mapping that new users receive by default.
APPURLstrrequiredThe address of the Workspace web app, which the API uses for login redirects and for the password reset links that an administrator gives to users.
DEFAULT_USER_MAPPINGuuid.UUID | Nonedefault noneThe id of the permissions mapping that a user gets when they first sign in. The file user_create.json, which the init step of the deployment writes, overrides it with the id that it holds.
General (GeneralSettings)
This group holds the settings that do not belong to a narrower group. They include the run mode, the port and the number of workers, and the storage provider, which is folder, aws, azure or gcp. They also include the origins that the API allows, the addresses of the frontend and of the API itself, the secret that signs sign-in tokens, the client ids of the sign-in providers, the default and allowed MCP servers, the registration switch, the rate-limit exemption and the logging options.
ALLOWED_MCP_HOSTNAMESlist[str]computed defaultMCP servers on a private network, by host name exactly as their URLs name them, as a JSON list. The API reaches the MCP servers of users only at public internet addresses, so a server whose name resolves to a private, loopback or link-local address, such as an internal host or a Compose service, must be listed. The servers of DEFAULT_MCP_SERVERS need not be, nor the servers of a superuser, nor any user's servers when MODE is local.
AUTHENTICATION_SEND_MICROSOFT_IDTOKENbooldefault falseWhether the API sends the signed-in user's Microsoft ID token to data backends in the header X-Microsoft-Id-Token. The API keeps the token and its refresh token encrypted and renews the token before it expires; the browser never holds either. The provider must issue refresh tokens.
AUTHENTICATION_SEND_OKTA_IDTOKENbooldefault falseWhether the API sends the signed-in user's Okta ID token to data backends in the header X-Okta-Id-Token. The API keeps the token and its refresh token encrypted, asks Okta for the offline_access scope, renews the token before it expires, and never gives either to the browser.
AZURE_CLIENT_IDstr | Nonedefault noneThe application (client) id of the Microsoft Entra app registration. The API runs the Microsoft sign-in on the server and accepts a Microsoft identity only for this client. The registration must send the optional ID token claims email and xms_edov, because without them a Microsoft sign-in by email is refused.
AZURE_CLIENT_SECRETstr | Nonedefault noneA client secret of the Microsoft Entra app registration, which the Web platform issues. The API runs the Microsoft sign-in on the server and keeps the secret in its environment; the browser never sees it.
AZURE_TENANT_IDstr | Nonedefault noneThe tenant whose users may sign in: its id or domain, organizations (every work or school tenant) or common (those and personal Microsoft accounts).
BACKEND_CORS_ORIGINSlist[str] | strrequiredThe origins of the web app, exactly as browsers send them: scheme, host and port, without a path and without *. A comma-separated list or a JSON list. Required. The session cookie is accepted only from these origins, and browsers send it only when the API is on the same site as the page, so serve the API under the web app's registrable domain, and over HTTPS outside localhost.
BACKEND_CORS_ORIGIN_REGEXstr | Nonedefault noneA regular expression that a whole origin may match instead of being listed in BACKEND_CORS_ORIGINS. It applies to the CORS headers and to the check of the Origin header.
CLEAR_UNCONFIRMED_FILES_DATEstrdefault 2024-10-07A date, written YYYY-MM-DD. On the day of the month that it names, the API queues at startup a one-off clean-up of uploaded files that were never confirmed, under job names that carry the date, so that each date runs once; a new date runs it again.
DEFAULT_MCP_SERVERSlist[utilities.config.DefaultMCPServer]computed defaultMCP servers that every user has, as a JSON list of objects with id, name and url. The API reaches their host and port as they are, even on a private network, and the default roles give access to all their tools.
DISABLE_REGISTRATIONbooldefault falseWith true, every path that creates a user answers 403 "Registration is disabled": POST /admin/register, POST /entity/register-admin, sharing with someone who has no account, and the first sign-in of a new user through an identity provider. Existing users can still sign in. Read once at startup.
FRONTENDURLstrrequiredThe address of the web app's front end. The API requires it but does not read it.
GCP_STORAGE_BUCKETstr | Nonedefault noneThe Google Cloud Storage bucket that holds uploaded files, which STORAGE_PROVIDER gcp requires. The API signs in with the Google credentials of its environment: the service account key file that GOOGLE_APPLICATION_CREDENTIALS names, or the service account of the machine that it runs on.
GOOGLE_OAUTH_CLIENT_IDstr | Nonedefault noneThe OAuth client id of the Google sign-in, the same value as the web app's. The API accepts a Google token only when it was issued to this client; unset, every Google sign-in is refused.
IS_WORKER_CONTAINERbooldefault falseTrue in the process that runs the RQ worker. The worker's entry point sets it itself; a Redis Cluster compatibility patch of RQ is applied only when it is false.
JSON_LOGSbooldefault falseWith true, the API writes each log record as one JSON object, and no text lines. Without it, the API writes text lines.
JWT_SECRETstrrequiredThe secret that signs the service tokens, including the metering token of the agent. At least 32 bytes, and the API does not start without it. Changing it invalidates every token that it signed.
LOGURU_COLORIZEbooldefault trueWhether the text log lines use colors. JSON log records have none.
LOG_LEVEL"DEBUG" | "INFO" | "WARNING" | "ERROR" | "CRITICAL"default INFOThe least severe level that is logged, written in capitals.
MAX_DICT_LENintdefault 100000The longest request body, counted in characters of its text, that a user's profile update may have. Longer ones are refused with 400.
MODE"production" | "local" | "test"requiredThe mode of the deployment. With test, the API keeps its rate limits and the state of the Workspace MCP in its own process instead of Redis. With local, a developer's own machine, a superuser can also develop a new version of an approved widget plugin in place, and the API accepts a private or plain http address from any user for a data backend, an agent or an MCP server, reaching localhost through host.docker.internal where that name resolves; production and local are otherwise alike.
OKTA_CLIENT_IDstr | Nonedefault noneThe client id of the Okta application. The API runs the Okta sign-in on the server and accepts an Okta identity only for this client.
OKTA_CLIENT_SECRETstr | Nonedefault noneA client secret of the Okta application. The API runs the Okta sign-in on the server and keeps the secret in its environment; the browser never sees it.
OKTA_DOMAINstr | Nonedefault noneThe Okta issuer, for example https://example.okta.com or https://example.okta.com/oauth2/default.
PORTintdefault 8000The port on which the API listens, on every interface.
RATE_LIMIT_EXEMPT_ENABLEDbooldefault falseWith true, a request that carries a valid service token in the header X-Workspace-Authorization skips the rate limits. For development only.
RQ_TIMEOUTintdefault 10The number of seconds that a job that the API puts on the RQ queue may run before the worker stops it.
SELFURLstrrequiredThe address at which clients reach this API. It forms the links to uploaded files, and an address that starts with https:// marks the deployment as HTTPS, so that the Workspace MCP hands out only https:// addresses.
SPECIAL_EMAILSset[pydantic.networks.EmailStr]computed defaultEmail addresses, as a JSON list, that are exempt from the check that an address has no account yet, so that more than one account may use them.
STORAGE_PROVIDER"aws" | "azure" | "gcp" | "folder"default folderWhere uploaded files are kept. folder keeps them in FOLDER_STORAGE_PATH, aws in the S3 bucket S3_FILE_BUCKET, azure in the container AZURE_STORAGE_CONTAINER and gcp in the bucket GCP_STORAGE_BUCKET.
SUPPRESSED_API_ROUTERSlist[str] | Nonecomputed defaultThe tags of the routers that the API does not mount, as a JSON list. The tags are the ones that the API logs at startup as the included routers; requests to the paths of a suppressed router answer 404.
SUPPRESSED_API_ROUTESlist[str] | Nonecomputed defaultThe paths of single routes that the API removes after it mounts the routers, as a JSON list, for example ["/app/files/{file}"].
WORKERSintdefault 3The number of worker processes that serve requests. The pools of database connections are sized so that all workers together stay under the limit of the database type.
WORKER_ADDRESS_SPACE_LIMIT_GBfloat | Nonedefault noneThe most address space, in gigabytes, that each worker process may use. Unset, the limit is 75% of the container's memory limit, and none when there is no limit. A value of 0 or less turns the limit off.
WORKSPACE_AUTH_TOKENstr | Nonedefault noneThe deployment's service token, a JWT signed with JWT_SECRET. A request that carries a valid service token in X-Workspace-Authorization skips rate limits when RATE_LIMIT_EXEMPT_ENABLED is on. The API checks the signature of the token it receives; it does not read this variable, which is kept for the clients that send the token.
Database (DatabaseSettings)
This group selects the database engine and describes how to connect to it: the engine type, host, port and name, the credentials for reads and writes, the TLS files, and the file path that SQLite uses.
DATABASE_TYPE"mysql" | "postgresql" | "sqlite"default mysqlThe kind of database that the API uses. With sqlite the API needs only DB_PATH.
DB_HOSTstr | Nonedefault noneThe host name of the database server. Required with DATABASE_TYPE mysql or postgresql. Outside Docker, for example with docker-compose-local-dev.yml, use localhost.
DB_NAMEstr | Nonedefault noneThe name of the database on the server. Required with DATABASE_TYPE mysql or postgresql.
DB_PATHstrdefault local.dbThe path of the SQLite database file. It is used only with DATABASE_TYPE sqlite.
DB_PORTint | Nonedefault noneThe port of the database server. Required with DATABASE_TYPE mysql or postgresql.
READ_DB_PASSWORDstr | Nonedefault noneThe password of READ_DB_USER. Required with DATABASE_TYPE mysql or postgresql.
READ_DB_USERstr | Nonedefault noneThe database account for queries that only read. It may be the same account as WRITE_DB_USER. Required with DATABASE_TYPE mysql or postgresql.
SSL_CAstr | Nonedefault noneThe path of the certificate authority file with which the API verifies the database server's certificate. Setting SSL_CA, SSL_CERT or SSL_KEY makes the connection to the database use TLS.
SSL_CERTstr | Nonedefault noneThe path of the client certificate that the API presents to the database. It must be set together with SSL_KEY.
SSL_KEYstr | Nonedefault noneThe path of the private key of SSL_CERT. It must be set together with SSL_CERT.
WRITE_DB_PASSWORDstr | Nonedefault noneThe password of WRITE_DB_USER. Required with DATABASE_TYPE mysql or postgresql.
WRITE_DB_USERstr | Nonedefault noneThe database account for queries that write, and for the migrations that run when the API starts. Required with DATABASE_TYPE mysql or postgresql.
Redis (RedisSettings)
This group configures the Redis-compatible store that the API and the worker share. Valkey works as this store. The settings cover the address, the credentials, the TLS files and the cluster mode.
REDIS_CLUSTER_MODEbooldefault falseWith true, the API talks to a Redis Cluster instead of a single server. The values 1 and true turn it on, and 0 and false turn it off.
REDIS_DB_APPintdefault 1The number of the Redis database that holds what the API keeps for a short time: agent tokens, password reset links, sign-in nonces, MCP sign-in state, usage counts, pending uploads, signed file links, the rate limits and the migration lock. It is ignored in cluster mode.
REDIS_DB_BOTintdefault 0The number of the Redis database that holds the job queues and the workers of RQ. It is ignored in cluster mode.
REDIS_HOSTstrdefault valkeyThe host name of the Redis or Valkey server. Outside Docker, for example with docker-compose-local-dev.yml, use localhost.
REDIS_PASSstrrequiredThe password of the Redis server. It may be empty when the server has no password, but the variable must be set.
REDIS_PORTintdefault 6379The port of the Redis server when the connection does not use TLS.
REDIS_RQ_HASH_TAGSbooldefault falseWith true, the job queues of RQ use hash tags in their keys, so that they work on a sharded Redis that does not expose cluster endpoints.
REDIS_SSL_CAstr | Nonedefault noneThe path of the certificate authority file that verifies the Redis server's certificate. Setting it turns on TLS.
REDIS_SSL_CERTstr | Nonedefault noneThe path of a certificate bundle that the API trusts for the Redis server; REDIS_SSL_CA takes its place when this is unset. Setting it turns on TLS.
REDIS_SSL_CERT_REQ"none" | "optional" | "required"default noneWhether the API demands a valid certificate from the Redis server. With none, the connection uses TLS without verifying the certificate.
REDIS_SSL_KEYstr | Nonedefault noneThe path of the private key file for the TLS connection to Redis.
REDIS_SSL_PORTintdefault 6380The port of the Redis server when the connection uses TLS, which is the case when REDIS_SSL_CA, REDIS_SSL_CERT or REDIS_SSL_KEY is set, or REDIS_SSL_CERT_REQ is none.
REDIS_USERstr | Nonedefault ""The user name for the Redis server. Leave it empty when the server has no users.
Local storage (LocalStorageSettings)
This group configures file storage on the local disk. It holds the folder for uploaded files and the key that signs the links to them.
FOLDER_STORAGE_PATHstrdefault local_storageThe folder that holds uploaded files, relative to the API's working directory unless the path is absolute. Used with STORAGE_PROVIDER folder.
LOCAL_STORAGE_SECRET_KEYstr | Nonedefault noneThe secret that signs the temporary links to uploaded files. At least 32 bytes. Required with STORAGE_PROVIDER folder.
AWS (AWSSettings)
This group configures S3-compatible object storage: the endpoint, region, bucket names, credentials and signature options.
S3_ACCESS_KEYstrdefault ""The access key for the S3 bucket. Used with STORAGE_PROVIDER aws. When it is empty, the client looks for credentials the way AWS clients do.
S3_BUCKET_NAMEstr | Nonedefault noneThe name of an S3 bucket. The API does not read it: uploaded files go to S3_FILE_BUCKET.
S3_ENDPOINT_URLstr | Nonedefault noneThe address of the S3 service, for an S3-compatible service other than AWS. Unset, the client uses AWS.
S3_FILE_BUCKETstr | Nonedefault noneThe S3 bucket that holds uploaded files. When it is unset, the API reads the variable S3_BUCKET instead. Used with STORAGE_PROVIDER aws.
S3_REGIONstr | Nonedefault noneThe AWS region of the bucket, for example us-east-1.
S3_SECRET_KEYstrdefault ""The secret key for the S3 bucket. Used with STORAGE_PROVIDER aws.
S3_SIGNATURE_VERSION"s3v4" | "v4"default s3v4The signature version of requests to S3.
S3_VERIFY_SSLbool | Nonedefault noneWhether the S3 client verifies the endpoint's TLS certificate. Unset leaves the client's default, which verifies; false turns verification off.
Azure (AzureSettings)
This group configures Azure Blob Storage: the connection string or storage account, the container, and whether to use the Azure CLI's sign-in.
AZURE_CONNECTION_STRINGstr | Nonedefault noneThe connection string of the Azure storage account. Used with STORAGE_PROVIDER azure, which needs it together with AZURE_STORAGE_ACCOUNT.
AZURE_STORAGE_ACCOUNTstr | Nonedefault noneThe name of the Azure storage account. Used with STORAGE_PROVIDER azure.
AZURE_STORAGE_CONTAINERstr | Nonedefault noneThe Azure blob container that holds uploaded files. Used with STORAGE_PROVIDER azure.
AZURE_USE_CLI_AUTHbool | Nonedefault noneWith true, the API signs in to the Azure storage account with the credentials of its environment (the Azure default credential) instead of the connection string.
Prometheus (PrometheusSettings)
This group has the switch PROMETHEUS, which turns on the /metrics route of the API and the sampling of its runtime, and the interval of that sampling.
PROMETHEUSbool | Nonedefault falseWith true, the API serves the Prometheus metrics of all its workers at /metrics and, without a check of the origin, on port 6970, and each worker samples its event loop, thread pool and database pools.
RUNTIME_METRICS_INTERVALfloatdefault 2The number of seconds between the samples of the event loop, the thread pool and the database pools that PROMETHEUS turns on.
Notifications (NotificationSettings)
This group configures the notification that goes out when a new organization is created. By default the notifier sends a JSON request to a webhook, so the group holds the notifier, the sender and recipient, and the webhook address and secret.
ADMIN_NOTIFIERstrdefault api.notifications:WebhookNotifierThe transport of admin notifications (new entities), as an import path package.module:Class. The default posts JSON to ADMIN_NOTIFY_WEBHOOK_URL.
ADMIN_NOTIFY_RECIPIENTstr | Nonedefault noneThe recipient that the notification payload names, for example an email address. The transport decides what to do with it.
ADMIN_NOTIFY_SENDERstr | Nonedefault noneThe sender that the notification payload names, for example an email address. The transport decides what to do with it.
ADMIN_NOTIFY_WEBHOOK_SECRETstr | Nonedefault noneThe secret of the X-Admin-Notification-Signature header, an HMAC-SHA256 of the body. Without it, the notifier sends no signature.
ADMIN_NOTIFY_WEBHOOK_URLstr | Nonedefault noneThe address that the default notifier posts to. Unset, the API logs notifications instead of sending them.
Signup (SignupSettings)
This group switches on signup with an email address, which is off by default. The API sends no email itself: the mailer, by default a webhook, delivers the confirmation link, and a deployment can name its own class in SIGNUP_MAILER. The person chooses the password on the page that the link opens, and the account exists only after that. The web app shows the signup link and serves the signup pages only when its own AUTHENTICATION_ALLOW_SIGNUP is true, so set both.
SIGNUP_ENABLEDbooldefault falseWith true, anyone can ask for an account at POST /app/signup, and the API emails them a link that creates it once they choose a password. It needs a mailer, DEFAULT_USER_MAPPING and DISABLE_REGISTRATION off. Unset, the two signup routes answer 404. Read once at startup.
SIGNUP_MAILERstrdefault api.signup:WebhookMailerThe transport that delivers the confirmation link, as an import path package.module:Class. The class has the property configured and the coroutine notify(event, subject, text, payload) of the admin notifier. The payload holds recipient and link. The default posts JSON to SIGNUP_WEBHOOK_URL.
SIGNUP_WEBHOOK_SECRETstr | Nonedefault noneThe secret of the X-Admin-Notification-Signature header of the default mailer, an HMAC-SHA256 of the body. Without it, the mailer sends no signature.
SIGNUP_WEBHOOK_URLstr | Nonedefault noneThe address that the default mailer posts to. Unset, the default mailer is not configured and signup answers 503.
Widget plugins (WidgetPluginSettings)
This group configures widget plugins: the plugins directory, the digest pins, the limits on files, proxies and backends, the secrets directory, and the backends that the API may call. Deploy a widget plugin explains how they fit together.
WIDGET_PLUGINS_DIRstr | Nonedefault noneThe directory, inside the API container, that holds the widget plugin packages as <plugin-id>/<version>/. Unset, the plugin feature is off. Mount it read-only: the API only reads it, and nothing in the app installs or uploads plugins. Every API replica must see the same files.
WIDGET_PLUGINS_MAX_FILESintdefault 200The most files that one plugin version may have. A version over the limit is blocked.
WIDGET_PLUGINS_MAX_UNPACKED_BYTESintdefault 67108864The most bytes, in total, that the files of one plugin version may have. A version over the limit is blocked.
WIDGET_PLUGINS_PINSdict[str, str]computed defaultThe digests that the API expects of plugin versions, as a JSON object from "<plugin-id>@<version>" to "sha256-...";
python -m scripts.plugin_check <plugin-id>/<version> --digestprints one. A discovered version whose digest differs is blocked.WIDGET_PLUGINS_REQUIRE_PINSbooldefault falseWith true, the API blocks every plugin version that has no pin in WIDGET_PLUGINS_PINS. Recommended in production.
WIDGET_PLUGIN_BACKENDSdict[str, str]computed defaultThe plugin backends that you run, as a JSON object from a plugin id to the internal address of its backend: http(s) on the private network, or unix:<socket path>. Each backend is built from a package's backend/ directory and runs as its own restricted container. The API calls a backend only while it reports the digest of the approved version.
WIDGET_PLUGIN_BACKEND_BREAKER_FAILURESintdefault 5How many calls to a plugin backend must fail in a row before the API pauses its calls to that backend.
WIDGET_PLUGIN_BACKEND_BREAKER_SECONDSintdefault 30How many seconds the API pauses its calls to a plugin backend after too many failures in a row.
WIDGET_PLUGIN_BACKEND_CONCURRENCYintdefault 8How many calls to the backend of one plugin may run at once in each API process.
WIDGET_PLUGIN_BACKEND_IDENTITY_SECONDSintdefault 60How many seconds the API trusts the answer of a plugin backend to its identity check before it asks again.
WIDGET_PLUGIN_BACKEND_MAX_BYTESintdefault 5242880The most bytes that a response of a plugin backend may have, whatever the plugin's manifest declares.
WIDGET_PLUGIN_BACKEND_RATE_PER_PLUGINstrdefault 600/minuteThe rate limit of the calls that one plugin backend may receive from all users together, written <number>/<second|minute|hour|day>.
WIDGET_PLUGIN_BACKEND_RATE_PER_USERstrdefault 60/minuteThe rate limit of the backend calls that one user may make, written <number>/<second|minute|hour|day>.
WIDGET_PLUGIN_BACKEND_TIMEOUT_MSintdefault 30000The longest time, in milliseconds, that a call to a plugin backend may take, whatever the plugin's manifest declares.
WIDGET_PLUGIN_PROXY_CA_FILEstr | Nonedefault noneThe path of a certificate authority file that the proxies trust besides the system's, for upstreams whose certificates a private authority signs.
WIDGET_PLUGIN_PROXY_CONCURRENCYintdefault 8How many proxy calls of one plugin may run at once in each API process.
WIDGET_PLUGIN_PROXY_MAX_BYTESintdefault 5242880The most bytes that a response to a plugin proxy call may have, whatever the plugin's manifest declares.
WIDGET_PLUGIN_PROXY_RATE_PER_PLUGINstrdefault 600/minuteThe rate limit of the proxy calls that one plugin may receive from all users together, written <number>/<second|minute|hour|day>.
WIDGET_PLUGIN_PROXY_RATE_PER_USERstrdefault 60/minuteThe rate limit of the proxy calls that one user may make, written <number>/<second|minute|hour|day>.
WIDGET_PLUGIN_PROXY_TIMEOUT_MSintdefault 30000The longest time, in milliseconds, that a plugin proxy call may take, whatever the plugin's manifest declares.
WIDGET_PLUGIN_SECRETS_DIRstr | Nonedefault noneThe directory that holds the values of the secrets which plugins declare for their proxies, one file per secret at <dir>/<plugin-id>/<secret-name>; a mounted Docker or Kubernetes secret works. A value found here wins over one that a superuser enters in the admin area, and makes that field read-only. Mount it read-only.
FINOS Workspace MCP sidecar (WorkspaceMcpSidecar)
The FINOS Workspace MCP server runs inside the API, and it can also run alone as a sidecar with python -m workspace_mcp. The sidecar reads these variables when it restarts itself in reload mode, and the size from which a tool result is not returned inline applies to the server in the API as well. The names in this table, unlike those above, carry a prefix, WORKSPACE_MCP_, and are the complete names of the variables.
WORKSPACE_MCP_COMMAND_TIMEOUT_SECONDSfloatdefault 15How many seconds the sidecar waits for a Workspace tab to answer one command.
WORKSPACE_MCP_CORS_ALLOW_ORIGINStuple[str, ...]default []The origins that may call the sidecar from a browser, comma-separated. When it is empty, the origins of the local loopback addresses are allowed.
WORKSPACE_MCP_HEALTH_PATHstrdefault /healthThe path of the health check.
WORKSPACE_MCP_HOSTstrdefault 127.0.0.1The interface on which the sidecar listens.
WORKSPACE_MCP_MCP_PATHstrdefault /mcpThe path of the streamable HTTP endpoint of the MCP server.
WORKSPACE_MCP_PORTintdefault 8787The port on which the sidecar listens.
WORKSPACE_MCP_RESULT_OFFLOAD_THRESHOLDintdefault 40000The size, in characters, from which a tool result is not returned inline: the tool returns a reference that the client reads as a resource, so that a large result does not fill the conversation. It applies to the Workspace MCP in the API and in the sidecar.
WORKSPACE_MCP_SESSION_START_PATHstrdefault /bridge/session/startThe path at which a Workspace tab starts a bridge session.
WORKSPACE_MCP_WEBSOCKET_PATHstrdefault /bridge/wsThe path of the WebSocket that a Workspace tab keeps open to receive commands.