loading…
Search for a command to run...
loading…
Enables AI clients to create multi-field forms, send approval requests via email, and retrieve structured human responses. It facilitates human-in-the-loop work
Enables AI clients to create multi-field forms, send approval requests via email, and retrieve structured human responses. It facilitates human-in-the-loop workflows by allowing agents to collect data and check form completion status.
Remote MCP (Model Context Protocol) server for FormFor. Runs on Cloudflare Workers as a McpAgent Durable Object with SSE transport. Lets any MCP-compatible AI client create forms, collect data, and check responses.
Connect any MCP client to:
https://mcp.formfor.ai/sse
With header:
Authorization: Bearer ff_live_...
| Tool | Description |
|---|---|
formfor_ask |
Ask a human a yes/no question. Sends an email, returns { approved: true/false }. |
formfor_collect |
Collect structured data via a multi-field form. Supports 14 field types. |
formfor_check |
Check if a form has been completed and retrieve the response data. |
formfor_list |
List recent forms with optional status filter. |
{
"question": "Deploy to production?",
"to": "[email protected]",
"context": "All tests passing on staging",
"expires": "4h"
}
{
"title": "Bug Report Triage",
"to": "[email protected]",
"fields": [
{ "id": "severity", "type": "select", "label": "Severity", "options": ["P0", "P1", "P2"] },
{ "id": "description", "type": "textarea", "label": "Description", "required": true }
],
"expires": "24h"
}
{
"form_id": "form_abc123"
}
{
"status": "pending",
"limit": 10
}
MCP Client --> SSE (/sse) --> FormForMCP (McpAgent Durable Object)
|
+-- API (service binding) -- form CRUD
+-- Agents (service binding) -- agent state
+-- D1 -- API key auth
/sse with Authorization: Bearer ff_live_...onConnect and forwarded to API service binding on every tool callSSE (Server-Sent Events) via the Agents SDK McpAgent.serveSSE(). CORS is configured for cross-origin access.
npm install
npm run dev
npm run deploy
| Binding | Type | Description |
|---|---|---|
MCP_AGENT |
Durable Object | FormForMCP class |
DB |
D1 | API key authentication |
API |
Service | formfor-api worker |
AGENTS |
Service | formfor-agents worker |
MIT
Добавь это в claude_desktop_config.json и перезапусти Claude Desktop.
{
"mcpServers": {
"formfor-mcp-server": {
"command": "npx",
"args": []
}
}
}