Skip to main content

Formio Uag

io.form/formio-uag

v2.0.1Updated Nov 16, 2026local · npm

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

Install

Needs 1 secret. Replace 2 placeholders with your own values.

Run in your terminal. Replace 2 placeholders.

claude mcp add formio-uag -e 'PROJECT=<your-project>' -e 'JWT_SECRET=<your-jwt-secret>' -- npx -y @formio/[email protected]

Configuration

21 settings, 1 required secret. Snippets use placeholders; keep real values out of shared config.

  • JWT_SECRET
    Env var· required· secret
    Secret used to generate and validate JWT tokens
  • PROJECT
    Env var· required
    API endpoint to Enterprise project or OSS server
  • PROJECT_KEY
    Env var· optional· secret
    Project API Key (Enterprise) or ADMIN_KEY (OSS)
  • ADMIN_KEY
    Env var· optional· secret
    Server admin key for Form.io Open Source. Not required for Enterprise deployment.
  • LICENSE_KEY
    Env var· optional· secret
    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_LICENSE
    Env var· optional· secret
    Deprecated: use LICENSE_KEY. Still read until UAG 3.0.
Show 15 more
  • PORTAL_SECRET
    Env var· optional· secret
    Enterprise Portal connection secret
  • MONGO
    Env var· optional· secret
    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.
  • PORT
    Env var· optional
    Server port (default: 3200)
  • PROJECT_TTL
    Env var· optional
    Project cache refresh interval in seconds (default: 900)
  • TEMPLATE_SYNC
    Env var· optional
    When a module's template is installed into the project: boot, refresh or off (default: boot)
  • JWT_EXPIRE_TIME
    Env var· optional
    Lifetime of the tokens the UAG issues, in minutes (default: 60)
  • MONGO_CONFIG
    Env var· optional
    MongoDB driver configuration (JSON)
  • UAG_DATABASE
    Env var· optional
    The database to use on the MONGO connection. Default uag.
  • TASK_RUN_RETENTION_DAYS
    Env var· optional
    Days run records are kept. Default 90; 0 keeps them forever.
  • BASE_URL
    Env var· optional
    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
    Env var· optional
    true turns on OAuth sign-in for remote MCP clients. Needs MONGO.
  • TRUST_PROXY
    Env var· optional
    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
    Env var· optional
    Public URL to login form JSON endpoint
  • CORS
    Env var· optional
    true (the default) allows every origin, false turns CORS off, any other value is the allowed origin, or several separated by commas
  • DEBUG
    Env var· optional
    Debug logging filter (e.g. formio.*)

Listed in the official MCP Registry since Nov 16, 2026. Mirrored daily; last checked Nov 26, 2026.