MCP directory
FU

Formio Uag

by form.io · v2.0.1 · updated Nov 16, 2026

The Universal Agent Gateway (UAG) enables in-process agentic automation using Form.io.

npm

Run it locally

Install the package and point your AI client at it.

npm

npx -y @formio/[email protected]

Environment variables

  • PROJECTrequired

    API endpoint to Enterprise project or OSS server

  • PROJECT_KEYsecret

    Project API Key (Enterprise) or ADMIN_KEY (OSS)

  • ADMIN_KEYsecret

    Server admin key for Form.io Open Source. Not required for Enterprise deployment.

  • LICENSE_KEYsecret

    Form.io license for a self-hosted Enterprise deployment; when it includes the UAG it also enables the Agent API. Not required for Form.io Open Source, or for a project on Form.io's hosted service (https://*.form.io).

  • UAG_LICENSEsecret

    Deprecated: use LICENSE_KEY. Still read until UAG 3.0.

  • JWT_SECRETrequiredsecret

    Secret used to generate and validate JWT tokens

  • PORT

    Server port (default: 3200)

  • PROJECT_TTL

    Project cache refresh interval in seconds (default: 900)

  • TEMPLATE_SYNC

    When a module's template is installed into the project: boot, refresh or off (default: boot)

  • JWT_EXPIRE_TIME

    Lifetime of the tokens the UAG issues, in minutes (default: 60)

  • PORTAL_SECRETsecret

    Enterprise Portal connection secret

  • MONGOsecret

    Optional. The UAG's own database (only uag-* collections, never submissions): run records, runs that survive a restart, remote MCP sign-in. Needs a license that includes the UAG.

  • MONGO_CONFIG

    MongoDB driver configuration (JSON)

  • UAG_DATABASE

    The database to use on the MONGO connection. Default uag.

  • TASK_RUN_RETENTION_DAYS

    Days run records are kept. Default 90; 0 keeps them forever.

  • BASE_URL

    Optional. The URL clients reach the UAG at, for the OAuth discovery documents remote MCP clients read. Derived from each request when unset.

  • MCP_OAUTH

    true turns on OAuth sign-in for remote MCP clients. Needs MONGO.

  • TRUST_PROXY

    Express's trust proxy (true, a number of hops, or addresses). Set it behind a reverse proxy, so the UAG reads its public URL from the forwarded headers.

  • LOGIN_FORM

    Public URL to login form JSON endpoint

  • CORS

    true (the default) allows every origin, false turns CORS off, any other value is the allowed origin, or several separated by commas

  • DEBUG

    Debug logging filter (e.g. formio.*)

More from form.io

More MCP servers