Serveur MCP AI Form API
Commit 30 oct. 2026Permet aux agents IA de créer des formulaires, de partager des liens et de récupérer des réponses aux formats JSON ou CSV.
Aussi connu sous sum-eet/aiformapi-mcp, aiformapi-mcp
- Étoiles
- 0
- Outils
- 11
- Téléchargements, 30 jours
- —
- Dernière version
- 0.1.0
- Dernier commit
- 30 oct. 2026
- Licence
- MIT
Qu'est-ce que AI Form API MCP ?
AI Form API est un serveur MCP. Permet aux agents IA de créer des formulaires, de partager des liens et de récupérer des réponses aux formats JSON ou CSV. Il expose 11 outils, comme create_form, list_forms, get_form.
Résumé généré à partir du README du projet
À propos du MCP server AI Form API
AI Form API propose deux serveurs MCP distincts conçus pour combler le fossé entre les agents IA et la collecte de données. Le serveur Creator permet aux propriétaires de formulaires de gérer l'intégralité du cycle de vie d'un sondage, de l'utilisation de l'outil create_form pour générer de nouvelles structures à la récupération des données collectées via get_responses aux formats JSON ou CSV. Ce serveur nécessite une clé API commençant par afk_ et fonctionne avec des clients tels que Claude Code, Cursor, VS Code et n8n via un transport Streamable HTTP.
Le serveur Fill est conçu pour les utilisateurs finaux qui souhaitent que leurs propres agents IA remplissent des formulaires. Il fonctionne sans authentification, en utilisant plutôt un code de remplissage unique fourni dans un prompt. Cela permet à un agent d'utiliser l'outil get_fill_form pour lire un formulaire et de soumettre des réponses via submit_fill après confirmation de l'utilisateur. Cette configuration est compatible avec Claude Desktop, ChatGPT et d'autres interfaces IA majeures, offrant un moyen mains libres d'interagir avec des formulaires web en langage naturel.
Ce que vous pouvez faire avec
- 1Génération automatisée de formulairesUn agent IA peut créer un nouveau sondage en définissant des champs et des titres spécifiques via le serveur creator.
- 2Remplissage de formulaires assisté par IAUn utilisateur peut fournir un jeton de remplissage à son agent IA pour remplir et soumettre automatiquement un formulaire.
Extrait du README du projet. Chaque cas d'utilisation est vérifié par rapport à une citation du document.
Comment installer AI Form API MCP
Formats vérifiés le 10 nov. 2026Ajouter à CursorAjouter à GooseInstaller AI Form API MCP dans Claude Code
$ claude mcp add --transport http aiformapi-mcp https://aiformapi.com/mcpInstaller AI Form API MCP dans Cursor
~/.cursor/mcp.json
{
"mcpServers": {
"aiformapi-mcp": {
"url": "https://aiformapi.com/mcp"
}
}
}Installer AI Form API MCP dans VS Code
.vscode/mcp.json
{
"servers": {
"aiformapi-mcp": {
"type": "http",
"url": "https://aiformapi.com/mcp"
}
}
}Installer AI Form API MCP dans VS Code CLI
$ code --add-mcp '{"name":"aiformapi-mcp","type":"http","url":"https://aiformapi.com/mcp"}'Installer AI Form API MCP dans Codex
$ codex mcp add aiformapi-mcp --url https://aiformapi.com/mcpInstaller AI Form API MCP dans Codex config.toml
~/.codex/config.toml
[mcp_servers.aiformapi-mcp] url = "https://aiformapi.com/mcp"
Installer AI Form API MCP dans Gemini CLI
$ gemini mcp add -s user --transport http aiformapi-mcp https://aiformapi.com/mcpInstaller AI Form API MCP dans Gemini settings.json
~/.gemini/settings.json
{
"mcpServers": {
"aiformapi-mcp": {
"url": "https://aiformapi.com/mcp",
"type": "http"
}
}
}Outils MCP AI Form API 11
Détectés depuis le READMEcreate_formlist_formsget_formupdate_formclose_formreopen_formget_responsesadd_webhookget_usageget_fill_formsubmit_fill
| create_form | — | |
| list_forms | — | |
| get_form | — | |
| update_form | — | |
| close_form | — | |
| reopen_form | — | |
| get_responses | — | |
| add_webhook | — | |
| get_usage | — | |
| get_fill_form | — | |
| submit_fill | — |
Configuration
AIFORMAPI_AUTHAIFORMAPI_KEY
| Nom | Description | Type |
|---|---|---|
| AIFORMAPI_AUTH | — | |
| AIFORMAPI_KEY | — |
Vérifications automatisées
Exécuté le 14 nov. 2026Rapport complet →Pas encore vérifié. Un serveur nécessite un score de 80, aucune faille sérieuse et suffisamment de données pour que nous puissions effectuer les vérifications. Fonctionnement des vérifications · Ce qu'il faut corriger pour gagner des points
- Dépôt source lié et accessiblesum-eet/aiformapi-mcp is public and reachablegithub.com/sum-eet/aiformapi-mcp ↗Réussi
- Le nom du package correspond au dépôt sourceNon vérifié
- Provenance du build (attestation Sigstore)Non vérifié
- Licence open source (OSI)MITspdx.org/licenses/MIT.html ↗Réussi
- Commit ou version publiée au cours de l'année écouléeLast commit or release 2026-10-30github.com/sum-eet/aiformapi-mcp ↗Réussi
- OpenSSF ScorecardNon vérifié
- Nom du package non proche d'un package populaireNon vérifié
- Aucun avis critique dans le package ou ses dépendancesNon vérifié
- Aucune instruction cachée destinée au modèle11 tool descriptions and the README read; no override phrases, credential paths or hidden charactersRéussi
- Les outils destructifs sont étiquetésNo tool named like delete, drop or execRéussi
- Le point de terminaison distant répond à la poignée de main MCPHTTPS endpoint answered 401 (sign-in required)Réussi
README
Voir sur GitHubAI Form API: MCP servers
AI Form API is a forms API and MCP server. Your AI agent creates a form, you share the link, people answer, and the agent reads the answers as JSON or CSV.
This repo holds the connection docs, the server.json files for the official MCP Registry and code examples. The service runs at https://aiformapi.com. This repo has no server code.
- Docs: https://aiformapi.com/docs
- MCP setup page: https://aiformapi.com/docs/mcp
- OpenAPI 3.1 spec: https://aiformapi.com/openapi.json
- Full reference for agents: https://aiformapi.com/llms-full.txt
- Contact: hello@aiformapi.com
The 2 MCP servers
Both servers use the Streamable HTTP transport.
| Server | URL | Auth | Who uses it |
|---|---|---|---|
| Creator | https://aiformapi.com/mcp |
Authorization: Bearer afk_... |
You, the form owner. Create forms and read responses. |
| Fill | https://aiformapi.com/mcp/fill |
None. The fill code is an argument. | A person who hands a form to their own AI agent. |
Get an API key for the creator server from the dashboard at https://aiformapi.com. See Authentication. The key starts with afk_. Keep it out of files you commit.
The fill server needs no login. A visitor presses "Want your AI agent to fill this?" on a public form page and copies a prompt with a one-time fill code. The agent reads the form, asks the person for anything missing, shows all answers, and submits only after the person says yes.
Which apps work today
| App | Creator server | Fill server |
|---|---|---|
| Claude Code | Yes, with a header | Yes |
| Cursor | Yes, with a header | Yes |
| VS Code | Yes, with a header | Yes |
| Claude Desktop | Yes, through mcp-remote with a header |
Yes, as a custom connector |
| n8n | Yes, with a header | Yes |
| Claude.ai | Not yet. It needs OAuth, which is planned. | Yes, as a custom connector |
| ChatGPT | Not yet. It needs OAuth, which is planned. | Yes, as a custom connector |
Connect the creator server
Set your key in your shell first. Use your own key.
export AIFORMAPI_KEY="afk_paste_your_key_here"
Claude Code
claude mcp add --transport http aiformapi https://aiformapi.com/mcp \
--header "Authorization: Bearer $AIFORMAPI_KEY"
This stores the key in your local Claude Code config. To keep the key out of a shared file, use a project .mcp.json that reads the environment variable (example):
{
"mcpServers": {
"aiformapi": {
"type": "http",
"url": "https://aiformapi.com/mcp",
"headers": {
"Authorization": "Bearer ${AIFORMAPI_KEY}"
}
}
}
}
Run /mcp in Claude Code to see the connection. Claude Code docs: https://code.claude.com/docs/en/mcp
Cursor
Put this in .cursor/mcp.json for one project, or in ~/.cursor/mcp.json for all projects (example). Set AIFORMAPI_KEY in your shell profile first.
{
"mcpServers": {
"aiformapi": {
"url": "https://aiformapi.com/mcp",
"headers": {
"Authorization": "Bearer ${env:AIFORMAPI_KEY}"
}
}
}
}
Cursor docs: https://cursor.com/docs/context/mcp
VS Code
Put this in .vscode/mcp.json, or run MCP: Open User Configuration for a profile-wide file (example). VS Code uses the top-level key servers, not mcpServers. It asks for the key when the server starts for the first time.
{
"inputs": [
{
"type": "promptString",
"id": "aiformapi-key",
"description": "AI Form API key",
"password": true
}
],
"servers": {
"aiformapi": {
"type": "http",
"url": "https://aiformapi.com/mcp",
"headers": {
"Authorization": "Bearer ${input:aiformapi-key}"
}
}
}
}
VS Code docs: https://code.visualstudio.com/docs/agents/reference/mcp-configuration
Claude Desktop (through mcp-remote)
Claude Desktop reads local servers from claude_desktop_config.json. The mcp-remote package turns a remote server with a header into a local one. You need Node.js.
- Open the file. On macOS it is
~/Library/Application Support/Claude/claude_desktop_config.json. On Windows it is%APPDATA%\Claude\claude_desktop_config.json. You can also open it from Settings, Developer, Edit Config. - Add the server (example). The space of
Bearerlives in the environment variable, not inargs, so the entry also works on Windows.
{
"mcpServers": {
"aiformapi": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://aiformapi.com/mcp",
"--header",
"Authorization:${AIFORMAPI_AUTH}"
],
"env": {
"AIFORMAPI_AUTH": "Bearer afk_your_key_here"
}
}
}
}
- Quit Claude Desktop fully and open it again.
This file holds your key in plain text. Do not share it or commit it.
n8n
Use the MCP Client Tool node and connect it to an AI Agent node. Set the endpoint to https://aiformapi.com/mcp, the transport to HTTP Streamable, and the authentication to Bearer with your key. Field names change between n8n versions, so check yours. n8n docs: https://docs.n8n.io/integrations/builtin/cluster-nodes/sub-nodes/n8n-nodes-langchain.toolmcp/
Connect the fill server
The fill server has no login, so it needs no header.
Claude.ai and Claude Desktop
Add it as a custom connector.
- Go to Customize, then Connectors.
- Press + Add, then Add custom connector.
- Enter a name, for example
AI Form API fill. - Enter the URL
https://aiformapi.com/mcp/fill. - Choose No sign in for authentication.
- Press Add.
- In a chat, press +, then Connectors, and switch the connector on.
Anthropic says custom connectors are available on Free, Pro, Max, Team and Enterprise plans, and that Free plans have a limit of 1 custom connector. See https://support.claude.com/en/articles/11175166-get-started-with-custom-connectors-using-remote-mcp
ChatGPT
ChatGPT adds remote servers as connectors in developer mode. Create a connector, enter the URL https://aiformapi.com/mcp/fill, and choose no authentication. Menu names and plan availability change often. Check OpenAI's current help page for the exact steps.
Claude Code, Cursor, VS Code and n8n
Add it the same way as the creator server, without the header.
claude mcp add --transport http aiformapi-fill https://aiformapi.com/mcp/fill
{
"mcpServers": {
"aiformapi-fill": {
"url": "https://aiformapi.com/mcp/fill"
}
}
}
Tools
Creator server (/mcp)
The tools return rows and form definitions. They do not summarise. Your own model reads the rows and writes the summary.
| Tool | Arguments | Same as |
|---|---|---|
create_form |
title, description (optional), fields, settings (optional) |
POST /v1/forms |
list_forms |
limit (optional), cursor (optional) |
GET /v1/forms |
get_form |
form_id |
GET /v1/forms/{id} |
update_form |
form_id, and any of title, description, fields, settings |
PATCH /v1/forms/{id} |
close_form |
form_id |
POST /v1/forms/{id}/close |
reopen_form |
form_id |
POST /v1/forms/{id}/reopen |
get_responses |
form_id, and any of format, since, limit, cursor, order |
GET /v1/forms/{id}/responses |
add_webhook |
form_id, url |
POST /v1/forms/{id}/webhooks |
get_usage |
none | GET /v1/usage |
The arguments match the body or query of the REST call. The form id is the argument form_id, not a path part. format is json (default) or csv. order is asc or desc. In update_form, fields replaces the whole list and settings merges key by key. There is no tool to delete a form. Use the REST API or the dashboard.
A failed call returns a tool error with the same JSON error body as the REST API. See API error codes.
Fill server (/mcp/fill)
| Tool | Arguments | Does |
|---|---|---|
get_fill_form |
fill_token |
Returns the form and instructions. Does not use up the code. |
submit_fill |
fill_token, answers |
Stores the answers. answers maps field ids to values. |
fill_token is the code from the prompt. It starts with fil_. A successful submit_fill returns response_id, receipt and submitted_at.
Limits on the free plan
| Scope | Free plan |
|---|---|
| API key (REST and creator MCP together) | 30 requests per minute, 1,000 per day |
| Open forms per account | 3 |
| Responses per account per calendar month (UTC), all sources | 100 |
| Fill MCP calls, per IP | 20 per minute |
| One fill code | 1 successful use, 60 minutes lifetime, 5 POST attempts |
POST /v1/fill/{token}, per IP |
10 per minute |
| Webhooks per form | 3 |
| Request body size | 64 KB |
Creator MCP calls count against the same limit as REST calls for the key. The API, MCP, agent fill and CSV export are included in the free plan. A 429 response has a Retry-After header. The full table, with the RateLimit-* headers, is at https://aiformapi.com/docs/rate-limits
Examples
The examples/ folder has copy-paste code from the quickstart. Each example creates a small RSVP form and reads the responses back.
examples/curl/create-and-read.shexamples/javascript/create-and-read.mjs(Node 18 or newer,fetch)examples/python/create_and_read.py(requests)examples/mcp/: the client config files from this README
MCP Registry
The two servers are listed in the official MCP Registry with the server.json files in this repo:
server.json: creator server,io.github.sum-eet/aiformapiserver-fill.json: fill server,io.github.sum-eet/aiformapi-fill
License
The docs and examples in this repo use the MIT license. AI Form API is a hosted service. This license does not cover the service.
Questions sur AI Form API MCP
Comment ajouter AI Form API MCP à Claude Code ?
Exécutez claude mcp add --transport http aiformapi-mcp https://aiformapi.com/mcp dans votre terminal. Ajoutez --scope user pour le rendre disponible dans tous les projets.
Comment ajouter AI Form API MCP à Cursor ?
Ouvrez ~/.cursor/mcp.json et ajoutez le serveur sous mcpServers, avec la configuration Cursor indiquée dans la section d'installation ci-dessus.
Quels outils AI Form API MCP fournit-il ?
Il expose 11 outils, dont create_form, list_forms, get_form, update_form, close_form.
Comment fonctionne le serveur Fill ?
Le serveur Fill permet à l'agent IA d'une personne de lire un formulaire à l'aide d'un jeton de remplissage, de demander les informations manquantes et de soumettre les réponses après approbation de l'utilisateur.