formio uag for VS Code
io.form/formio-uag
The Universal Agent Gateway (UAG) enables in-process agentic automation using Form.io.
client:VS Code
transport:stdio
runtime:npm
Install formio uag in VS Code
.vscode/mcp.json
{
"inputs": [
{
"type": "promptString",
"id": "project",
"description": "PROJECT",
"password": true
},
{
"type": "promptString",
"id": "project-key",
"description": "PROJECT_KEY",
"password": true
},
{
"type": "promptString",
"id": "admin-key",
"description": "ADMIN_KEY",
"password": true
},
{
"type": "promptString",
"id": "uag-license",
"description": "UAG_LICENSE",
"password": true
},
{
"type": "promptString",
"id": "jwt-secret",
"description": "JWT_SECRET",
"password": true
},
{
"type": "promptString",
"id": "port",
"description": "PORT",
"password": true
},
{
"type": "promptString",
"id": "project-ttl",
"description": "PROJECT_TTL",
"password": true
},
{
"type": "promptString",
"id": "jwt-expire-time",
"description": "JWT_EXPIRE_TIME",
"password": true
},
{
"type": "promptString",
"id": "portal-secret",
"description": "PORTAL_SECRET",
"password": true
},
{
"type": "promptString",
"id": "mongo",
"description": "MONGO",
"password": true
},
{
"type": "promptString",
"id": "mongo-config",
"description": "MONGO_CONFIG",
"password": true
},
{
"type": "promptString",
"id": "base-url",
"description": "BASE_URL",
"password": true
},
{
"type": "promptString",
"id": "login-form",
"description": "LOGIN_FORM",
"password": true
},
{
"type": "promptString",
"id": "cors",
"description": "CORS",
"password": true
},
{
"type": "promptString",
"id": "debug",
"description": "DEBUG",
"password": true
}
],
"servers": {
"formio-uag": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@formio/uag"
],
"env": {
"PROJECT": "${input:project}",
"PROJECT_KEY": "${input:project-key}",
"ADMIN_KEY": "${input:admin-key}",
"UAG_LICENSE": "${input:uag-license}",
"JWT_SECRET": "${input:jwt-secret}",
"PORT": "${input:port}",
"PROJECT_TTL": "${input:project-ttl}",
"JWT_EXPIRE_TIME": "${input:jwt-expire-time}",
"PORTAL_SECRET": "${input:portal-secret}",
"MONGO": "${input:mongo}",
"MONGO_CONFIG": "${input:mongo-config}",
"BASE_URL": "${input:base-url}",
"LOGIN_FORM": "${input:login-form}",
"CORS": "${input:cors}",
"DEBUG": "${input:debug}"
}
}
}
}
VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs