Install
Add to ~/Library/Application Support/Claude/claude_desktop_config.json
Windows / Linux path
%APPDATA%\Claude\claude_desktop_config.json~/.config/Claude/claude_desktop_config.json{
"mcpServers": {
"io-form-formio-mcp": {
"command": "npx",
"args": [
"-y",
"@formio/mcp"
],
"env": {
"FORMIO_PROJECT_URL": "<VALUE>",
"FORMIO_BASE_URL": "<VALUE>",
"FORMIO_API_KEY": "<YOUR_VALUE>",
"FORMIO_LOGIN_FORM": "<VALUE>",
"FORMIO_AUTH_HOST": "<VALUE>",
"FORMIO_AUTH_PORT": "<VALUE>",
"FORMIO_AUTH_TIMEOUT": "<VALUE>",
"FORMIO_FORCE_BROWSER": "<VALUE>",
"FORMIO_REQUEST_TIMEOUT": "<VALUE>",
"FORMIO_INSECURE_TLS": "<VALUE>"
}
}
}
}
Restart Claude Desktop to activate the new server.
Add to .cursor/mcp.json (project) or ~/.cursor/mcp.json (global)
Windows / Linux path
.cursor\mcp.json (project) or %USERPROFILE%\.cursor\mcp.json (global).cursor/mcp.json (project) or ~/.cursor/mcp.json (global){
"mcpServers": {
"io-form-formio-mcp": {
"command": "npx",
"args": [
"-y",
"@formio/mcp"
],
"env": {
"FORMIO_PROJECT_URL": "<VALUE>",
"FORMIO_BASE_URL": "<VALUE>",
"FORMIO_API_KEY": "<YOUR_VALUE>",
"FORMIO_LOGIN_FORM": "<VALUE>",
"FORMIO_AUTH_HOST": "<VALUE>",
"FORMIO_AUTH_PORT": "<VALUE>",
"FORMIO_AUTH_TIMEOUT": "<VALUE>",
"FORMIO_FORCE_BROWSER": "<VALUE>",
"FORMIO_REQUEST_TIMEOUT": "<VALUE>",
"FORMIO_INSECURE_TLS": "<VALUE>"
}
}
}
}
Cursor usually picks up config changes automatically; if the server does not appear, reload the window.
Add to .mcp.json (project) or ~/.claude.json (global)
Windows / Linux path
.mcp.json (project) or %USERPROFILE%\.claude.json (global).mcp.json (project) or ~/.claude.json (global){
"mcpServers": {
"io-form-formio-mcp": {
"command": "npx",
"args": [
"-y",
"@formio/mcp"
],
"env": {
"FORMIO_PROJECT_URL": "<VALUE>",
"FORMIO_BASE_URL": "<VALUE>",
"FORMIO_API_KEY": "<YOUR_VALUE>",
"FORMIO_LOGIN_FORM": "<VALUE>",
"FORMIO_AUTH_HOST": "<VALUE>",
"FORMIO_AUTH_PORT": "<VALUE>",
"FORMIO_AUTH_TIMEOUT": "<VALUE>",
"FORMIO_FORCE_BROWSER": "<VALUE>",
"FORMIO_REQUEST_TIMEOUT": "<VALUE>",
"FORMIO_INSECURE_TLS": "<VALUE>"
}
}
}
}
The server will be available in the next Claude Code session.
Add to .vscode/mcp.json
Windows / Linux path
.vscode\mcp.json.vscode/mcp.json{
"servers": {
"io-form-formio-mcp": {
"command": "npx",
"args": [
"-y",
"@formio/mcp"
],
"env": {
"FORMIO_PROJECT_URL": "<VALUE>",
"FORMIO_BASE_URL": "<VALUE>",
"FORMIO_API_KEY": "<YOUR_VALUE>",
"FORMIO_LOGIN_FORM": "<VALUE>",
"FORMIO_AUTH_HOST": "<VALUE>",
"FORMIO_AUTH_PORT": "<VALUE>",
"FORMIO_AUTH_TIMEOUT": "<VALUE>",
"FORMIO_FORCE_BROWSER": "<VALUE>",
"FORMIO_REQUEST_TIMEOUT": "<VALUE>",
"FORMIO_INSECURE_TLS": "<VALUE>"
}
}
}
}
Reload the VS Code window to activate.
Add to ~/.codeium/windsurf/mcp_config.json
Windows / Linux path
%USERPROFILE%\.codeium\windsurf\mcp_config.json~/.codeium/windsurf/mcp_config.json{
"mcpServers": {
"io-form-formio-mcp": {
"command": "npx",
"args": [
"-y",
"@formio/mcp"
],
"env": {
"FORMIO_PROJECT_URL": "<VALUE>",
"FORMIO_BASE_URL": "<VALUE>",
"FORMIO_API_KEY": "<YOUR_VALUE>",
"FORMIO_LOGIN_FORM": "<VALUE>",
"FORMIO_AUTH_HOST": "<VALUE>",
"FORMIO_AUTH_PORT": "<VALUE>",
"FORMIO_AUTH_TIMEOUT": "<VALUE>",
"FORMIO_FORCE_BROWSER": "<VALUE>",
"FORMIO_REQUEST_TIMEOUT": "<VALUE>",
"FORMIO_INSECURE_TLS": "<VALUE>"
}
}
}
}
Restart Windsurf (or refresh its MCP servers panel) to activate the new server.
Windsurf Next uses ~/.codeium/windsurf-next/mcp_config.json. Devin Desktop (the Windsurf rebrand) uses ~/.config/devin/mcp_config.json and imports the Windsurf file.
Add to ~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
Windows / Linux path
%APPDATA%\Code\User\globalStorage\saoudrizwan.claude-dev\settings\cline_mcp_settings.json~/.config/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json{
"mcpServers": {
"io-form-formio-mcp": {
"command": "npx",
"args": [
"-y",
"@formio/mcp"
],
"env": {
"FORMIO_PROJECT_URL": "<VALUE>",
"FORMIO_BASE_URL": "<VALUE>",
"FORMIO_API_KEY": "<YOUR_VALUE>",
"FORMIO_LOGIN_FORM": "<VALUE>",
"FORMIO_AUTH_HOST": "<VALUE>",
"FORMIO_AUTH_PORT": "<VALUE>",
"FORMIO_AUTH_TIMEOUT": "<VALUE>",
"FORMIO_FORCE_BROWSER": "<VALUE>",
"FORMIO_REQUEST_TIMEOUT": "<VALUE>",
"FORMIO_INSECURE_TLS": "<VALUE>"
}
}
}
}
Cline reloads cline_mcp_settings.json automatically; if the server does not appear, reload the VS Code window.
Open it from Cline's MCP Servers panel → Configure. Roo Code uses a different file and format.
Configuration
Environment variables this server reads. Secrets stay on your machine.
| Name | Required | Description |
|---|---|---|
| FORMIO_PROJECT_URL | Yes | Full URL of your Form.io project. Example: https://myproject.form.io or https://forms.example.com/myproject |
| FORMIO_BASE_URL | Yes | Full base URL of your Form.io deployment. Example: https://api.form.io or https://forms.example.com |
| FORMIO_API_KEY secret | No | Long-lived project API key. When set, skips browser login flow. Optional. |
| FORMIO_LOGIN_FORM | No | Override the portal login form URL used by the JWT login flow. Optional. |
| FORMIO_AUTH_HOST | No | Address the browser-login page binds to. Optional; defaults to 127.0.0.1. Set it to 0.0.0.0, together with FORMIO_AUTH_PORT, when the server runs in a container or on a remote machine and the login page must be reachable through a published port. 0.0.0.0 exposes the page on every interface for the duration of a login. |
| FORMIO_AUTH_PORT | No | Fixed port for the browser-login page, so a container can publish it (e.g. 43117). Optional; a positive integer, and by default the page takes an ephemeral port. |
| FORMIO_AUTH_TIMEOUT | No | Seconds to wait for a browser login before the call fails with an error naming the remedies. Optional; a positive integer no larger than 2147483, and any other value is ignored. Defaults to 900. |
| FORMIO_FORCE_BROWSER | No | Set to 1 to attempt the browser login even where the server detects it cannot present one (CI, a container, a remote shell with no display). Use it when the login page is reachable from a browser elsewhere. |
| FORMIO_REQUEST_TIMEOUT | No | Seconds a Form.io request may go unanswered before the call fails with a network error naming the URL. Optional; a positive integer no larger than 2147483, and any other value is ignored. Defaults to 60. project_import and project_export wait 300 seconds, or this value when it is longer. |
| FORMIO_INSECURE_TLS | No | When 'true', skips TLS certificate verification for self-hosted deployments. Do not use against production. Optional. |