Prepare a form and read responses with MCP

Use a local MCP client to prepare a form draft for review. On Pro and Growth, connect a read key for selected forms and responses.

Add Wiztrom to your MCP client

Use Node.js 22 or later and a client that can launch a local MCP server over standard input and output. Download the connector script from Wiztrom and save it on your computer. In your client, set the program to node and pass the absolute path to the downloaded file as its argument.

Shell
curl --fail --output wiztrom-mcp.mjs https://wiztrom.com/downloads/wiztrom-mcp.mjs

Prepare questions and review the draft

Use prepare_form_setup with a form name and up to 30 questions. It returns HTML for you to review. Draft preparation runs on your device and is available on every plan without a key. In Forms, choose New form, then Import an existing HTML form. Paste the HTML and choose Review imported fields. Check the fields and any required answers before choosing Create form. Publish and share controls when the hosted form becomes available to visitors.

MCP tool arguments
{
  "name": "Support request",
  "questions": [
    { "label": "Email address", "type": "email", "required": true },
    { "label": "How can we help?", "type": "textarea", "required": true }
  ]
}

Verify your setup

Open the form’s More actions menu and choose Synthetic workflow tests. Enter fictional answers and select Preview workflow. The result stays in the test panel. To check actual intake and delivery, use Verify your form on a staging page with destinations you have permission to test.

Choose which forms the agent can read

On Pro or Growth, a workspace owner can open Server API and create a dedicated key with Read selected for the forms the client needs. Pass the key in the local connector process environment as WIZTROM_SERVER_API_KEY using your client’s secret settings. Keep the key out of prompts, source code and shared client configuration. Revoke it in Server API when you disconnect the client.

List forms and read a response

Use list_forms to see the forms in the key’s scope. Pass a formId to list_responses for up to 25 response summaries at a time. To continue, pass the returned nextCursor as cursor. Use get_response with the formId and the responseId to read the answers and see the attachment count. The tools use the existing API request limits, form scopes and retention settings.

Review how your client handles response data

Your MCP client receives the results of each authorized read. Review its model, history and retention settings before giving it access to responses. Keep form creation, publishing, delivery settings and verification in the dashboard.

References