Spec Driven Development
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
作者提供的说明(英文原文)
The Universal Agent Gateway (UAG) enables in-process agentic automation using Form.io.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
PROJECT, PROJECT_KEY, ADMIN_KEY, UAG_LICENSE, JWT_SECRET, PORT, PROJECT_TTL, JWT_EXPIRE_TIME, PORTAL_SECRET, MONGO, MONGO_CONFIG, BASE_URL, LOGIN_FORM, CORS, DEBUG标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"formio-uag": {
"command": "npx",
"args": [
"-y",
"@formio/uag"
],
"env": {
"PROJECT": "your-value",
"PROJECT_KEY": "your-value",
"ADMIN_KEY": "your-value",
"UAG_LICENSE": "your-value",
"JWT_SECRET": "your-value",
"PORT": "your-value",
"PROJECT_TTL": "your-value",
"JWT_EXPIRE_TIME": "your-value",
"PORTAL_SECRET": "your-value",
"MONGO": "your-value",
"MONGO_CONFIG": "your-value",
"BASE_URL": "your-value",
"LOGIN_FORM": "your-value",
"CORS": "your-value",
"DEBUG": "your-value"
}
}
}
}在终端中运行这条命令
claude mcp add formio-uag --env PROJECT=your-value --env PROJECT_KEY=your-value --env ADMIN_KEY=your-value --env UAG_LICENSE=your-value --env JWT_SECRET=your-value --env PORT=your-value --env PROJECT_TTL=your-value --env JWT_EXPIRE_TIME=your-value --env PORTAL_SECRET=your-value --env MONGO=your-value --env MONGO_CONFIG=your-value --env BASE_URL=your-value --env LOGIN_FORM=your-value --env CORS=your-value --env DEBUG=your-value -- npx -y @formio/uag运行前请先填写空着的值。
粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"formio-uag": {
"command": "npx",
"args": [
"-y",
"@formio/uag"
],
"env": {
"PROJECT": "your-value",
"PROJECT_KEY": "your-value",
"ADMIN_KEY": "your-value",
"UAG_LICENSE": "your-value",
"JWT_SECRET": "your-value",
"PORT": "your-value",
"PROJECT_TTL": "your-value",
"JWT_EXPIRE_TIME": "your-value",
"PORTAL_SECRET": "your-value",
"MONGO": "your-value",
"MONGO_CONFIG": "your-value",
"BASE_URL": "your-value",
"LOGIN_FORM": "your-value",
"CORS": "your-value",
"DEBUG": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"formio-uag": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@formio/uag"
],
"env": {
"PROJECT": "your-value",
"PROJECT_KEY": "your-value",
"ADMIN_KEY": "your-value",
"UAG_LICENSE": "your-value",
"JWT_SECRET": "your-value",
"PORT": "your-value",
"PROJECT_TTL": "your-value",
"JWT_EXPIRE_TIME": "your-value",
"PORTAL_SECRET": "your-value",
"MONGO": "your-value",
"MONGO_CONFIG": "your-value",
"BASE_URL": "your-value",
"LOGIN_FORM": "your-value",
"CORS": "your-value",
"DEBUG": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
PORT envPROJECT_TTL envJWT_EXPIRE_TIME envMONGO_CONFIG envLOGIN_FORM envCORS envDEBUG env这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月6日
注册名称已通过域名 form.io 验证(注册中心会核实域名所有权)
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
你需要填写:PROJECT, PROJECT_KEY, ADMIN_KEY, UAG_LICENSE, JWT_SECRET, PORTAL_SECRET, MONGO, BASE_URL
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于–,最新版本(1.13.2)于3个月前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。
同一分类中有:Spec Driven Development, Remote Desktop Commander, FOGA node
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.
A Finch OG Agent cell as an MCP server: read the world, dry-run and take ERC-8414 tenders by policy.
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
The Universal Agent Gateway (UAG) leverages the Model Context Protocol (MCP) to enable in-process agentic automation using Form.io. It provides to an AI Agent the same thing that our JavaScript Renderer provides to a human; an interpretation of the Form JSON schema into an understandable format. In the case of UAG, it transforms the Form JSON model into an AI readible markdown format so that the Agent can easily understand the purpose and structure of the data that needs to be collected.
There are two primary scenarios that the UAG enables:
For a working example of this flow, please try out the Conversation Form Example.
For more information on Agentic workflows, checkout the dedicated Agentic Workflows section. For a working example of this flow, please try out the Agentic Workflow Example.
One of the many benefits that the UAG has to offer is the ability to inject Dynamic Context into an AI processing cycle. This is achieved from the dynamic nature of the Form JSON schemas that can easily be modified and deployed to any environment without the need to update your application or re-train the agents within the process. Because of this, dynamic context changes can be injected seamlessly into an existing running process which will automatically update the behaviors of the Agents utilizing the UAG.
There are three working examples in this repo, each spinning up a Form.io server alongside the UAG with Docker Compose. Pick the one that matches what you are building.
| Example | Pattern | Licensing |
|---|---|---|
| [Custom Module](examples/custom-module) | Conversational, existing client. Connect Claude Desktop to your forms and talk to them: "I would like to add a new customer." Built as a custom module, so roles and permissions decide what the agent may do. | Open Source — free |
| [Conversation Form](examples/conversation-form) | Conversational, your own UI. A chat application whose questions come entirely from a form. About 200 lines, no field names in the code — edit the form and the conversation changes. | Open Source — free |
| [Agentic Workflow](examples/agentic-workflow) | Autonomous. A submission triggers an agent that scores it against a rubric and writes its decision back, which in turn triggers a second agent. No human, no chat window. | Enterprise |
There is also a Flow Viewer — a small proxy that shows every leg of an agentic run live, which is the fastest way to see what an agent is actually doing.
This file is the main reference: what the UAG is, how to configure a form for it, how to deploy it, and how to troubleshoot it. The rest of the documentation lives next to the code it describes.
| Document | What it covers |
|---|---|
| README.md (this file) | Concepts, agentic workflow setup, the MCP tools, deployment, environment variables, and troubleshooting. |
| module/Readme.md | Building a custom module — adding your own MCP tools, form actions, pre-defined forms and resources, and configuration overrides, then mounting it into the Docker container. |
| integrations/claude/Readme.md | The Claude integration: its API endpoints and commands, how to run it with Node or Docker, its environment variables, and how to trigger it from a Form.io Webhook action. |
| examples/custom-module/Readme.md | Example — a custom module driven conversationally from Claude Desktop, where roles and permissions govern what the agent may do. |
| examples/conversation-form/Readme.md | Example — a chat application of your own whose questions come entirely from a form. |
| examples/agentic-workflow/Readme.md | Example — an autonomous, webhook-triggered workflow with two chained agent personas. |
| examples/flow-viewer/Readme.md | A small proxy that shows every leg of an agentic run live — the token request, each tool call, and the write-back. The quickest way to see what an agent is doing. |
| examples/custom-module/module/templates/Readme.md | Overriding the response templates the UAG returns to the agent, using Lodash templates. |
| test/e2e/Readme.md | The end-to-end test suite — its three layers, what each covers, and how to run it. |
One of the more powerful features of the UAG is the agent_provide_data tool. This tool provides the ability to instruct a generically trained agent how to analyze existing submission data, and then produce its own data by following a configurable Criteria. This behavior historically could only be achieved using a specifically trained agent, which does not provide any benefits of dynamic configurability that the Form.io platform offers. This tool is able to achieve this goal by providing a generally trained agent with the necessary "context" it needs to accurately produce its own data as part of an automated workflow. This feature is particularly helpful if you wish to utilize the UAG within an Agentic Workflow, where the AI Agent is capable of understanding structured data, and then contribute its own data by following the configured Criteria "context" provided by the UAG.
For example, let's suppose you wish to automate the backend administration behind a College Application Process. In this example, a potential student submits an application that consists of many different fields of data, such as Academics, Extra curricular activities, Honors, Volunteer work, as well as possibly written Essays. Historically, these applications would be reviewed by an administrator in order to assess the candidates qualifications for acceptance. With the agent_provide_data tool, it is now possible to automate this process as the following diagram illustrates.
To achieve this feat, the agent_provide_data tool utilizes the following information, which is then fed to the Generally trained agent to produce its own submission data.
agent_provide_data process.To configure a form to use the agent_provide_data tool, you must first designate a section of your form that will be read and used by the AI Agent. This is similar to what you would see in a form that says "For Office Use Only", but instead of a Human contributing to the values of this section, it will be an automated AI Agent. There are two types of fields that can be added to a form to configure it for use by the agent_provide_data tool: Criteria and Agent Fields
A complete setup is four steps, and all four are required:
For a working reference containing all four, see the Agentic Workflow example.
uagThe UAG only registers forms that carry the uag tag. Any form without it is invisible to every agent and to every tool, including get_forms. In the Form Builder this is set under Form Settings → Tags; in a form's JSON it looks like this:
"tags": ["uag"]
This is worth checking first whenever an agent insists that a form does not exist, because a missing tag produces no error anywhere — the form simply is not there as far as the agent is concerned. Note also that newly tagged forms are picked up on the next project cache expiry, so allow up to PROJECT_TTL seconds (see Project Cache and TTL).
The first thing that needs to be configured is a special Content Component that instructs the AI Agent how to interpret the data. For example, here is a Criteria content block that was written to instruct an AI Agent on how to assess the submission of a College Application Essay.
The goal of this content is to be written as you would write an instruction manual for a new employee who needs to learn how to analyze and understand the submission data that is provided. It is also used to instruct the AI Agent on how to populate the form values that are configured for that criteria. Once this criteria is written, It will then need to be "flagged" as a UAG field by adding a property called uag and the value of that property is to be t
只显示了开头部分;其余内容请在仓库中阅读