Create and manage Form.io forms, resources, actions, roles, and projects from your AI agent.
接入配置
选择客户端,复制配置,再按项目文档补齐环境变量。
claude mcp add formio --env FORMIO_API_KEY='<FORMIO_API_KEY>' -- npx -y @formio/mcp~/.codex/config.toml
[mcp_servers.formio]
command = "npx"
args = ["-y", "@formio/mcp"]
env = { FORMIO_API_KEY = "<FORMIO_API_KEY>" }
# codex mcp add formio --env FORMIO_API_KEY='<FORMIO_API_KEY>' -- npx -y @formio/mcp~/.cursor/mcp.json
{
"mcpServers": {
"formio": {
"command": "npx",
"args": [
"-y",
"@formio/mcp"
],
"env": {
"FORMIO_API_KEY": "<FORMIO_API_KEY>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"formio": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@formio/mcp"
],
"env": {
"FORMIO_API_KEY": "<FORMIO_API_KEY>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"formio": {
"command": "npx",
"args": [
"-y",
"@formio/mcp"
],
"env": {
"FORMIO_API_KEY": "<FORMIO_API_KEY>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"formio": {
"command": "npx",
"args": [
"-y",
"@formio/mcp"
],
"env": {
"FORMIO_API_KEY": "<FORMIO_API_KEY>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"formio": {
"command": "npx",
"args": [
"-y",
"@formio/mcp"
],
"env": {
"FORMIO_API_KEY": "<FORMIO_API_KEY>"
}
}
}
}需要的环境变量
FORMIO_API_KEY
把占位值换成你自己的密钥;不要把密钥提交到代码仓库。