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_SECRETEnv var· required· secretSecret used to generate and validate JWT tokensPROJECTEnv var· requiredAPI endpoint to Enterprise project or OSS serverPROJECT_KEYEnv var· optional· secretProject API Key (Enterprise) or ADMIN_KEY (OSS)ADMIN_KEYEnv var· optional· secretServer admin key for Form.io Open Source. Not required for Enterprise deployment.LICENSE_KEYEnv var· optional· secretForm.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_LICENSEEnv var· optional· secretDeprecated: use LICENSE_KEY. Still read until UAG 3.0.
Show 15 moreShow fewer
PORTAL_SECRETEnv var· optional· secretEnterprise Portal connection secretMONGOEnv var· optional· secretOptional. 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.PORTEnv var· optionalServer port (default: 3200)PROJECT_TTLEnv var· optionalProject cache refresh interval in seconds (default: 900)TEMPLATE_SYNCEnv var· optionalWhen a module's template is installed into the project: boot, refresh or off (default: boot)JWT_EXPIRE_TIMEEnv var· optionalLifetime of the tokens the UAG issues, in minutes (default: 60)MONGO_CONFIGEnv var· optionalMongoDB driver configuration (JSON)UAG_DATABASEEnv var· optionalThe database to use on the MONGO connection. Default uag.TASK_RUN_RETENTION_DAYSEnv var· optionalDays run records are kept. Default 90; 0 keeps them forever.BASE_URLEnv var· optionalOptional. The URL clients reach the UAG at, for the OAuth discovery documents remote MCP clients read. Derived from each request when unset.MCP_OAUTHEnv var· optionaltrue turns on OAuth sign-in for remote MCP clients. Needs MONGO.TRUST_PROXYEnv var· optionalExpress'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_FORMEnv var· optionalPublic URL to login form JSON endpointCORSEnv var· optionaltrue (the default) allows every origin, false turns CORS off, any other value is the allowed origin, or several separated by commasDEBUGEnv var· optionalDebug logging filter (e.g. formio.*)
Links
Listed in the official MCP Registry since Nov 16, 2026. Mirrored daily; last checked Nov 26, 2026.