Connect CustomGForm to AI Agents via MCP
CustomGForm provides an official Model Context Protocol (MCP) server via native Streamable HTTP (2026-07-28 specification).
This enables your favorite AI agents and IDE assistantsβincluding Claude, Codex, Antigravity, GitHub Copilot, and Cursorβto directly manage, customize, troubleshoot, and integrate your Google Forms using natural language.
What Can AI Agents Do With CustomGForm?
Once connected, your AI agents have access to 10 specialized tools:
| Tool Name | Capability |
|---|---|
create_google_form | Imports and parses any public Google Form into CustomGForm, returning an active form ID. |
customize_google_form | Restyles themes, fonts, colors, dark mode, custom CSS, submit button text, branding, partial submissions (Pro), and thank-you redirects. |
save_theme_to_template | Saves active form styling or custom CSS variables as a reusable template appearing under Manual Configuration β Templates. |
configure_field_addon | Attaches, configures, or removes File Upload and Geolocation addons on existing form fields. |
sync_google_form | Re-fetches questions and structure from Google Forms while preserving custom addons and styling. |
add_form_integration | Configures real-time submission webhooks to a destination URL (currently webhook only). |
troubleshoot_form_connection | Tests public accessibility and diagnoses Google sign-in or permission restrictions with actionable fix steps. |
get_form_share_instructions | Generates shareable URLs with prefilled or hidden parameters, as well as HTML and React/Next.js embed code snippets. |
get_form_analytics | Retrieves performance metrics, views, starts, submissions, completion rate, avg completion time, and drop-off rates. |
get_form_responses | Searches, filters (all, completed, or partial drop-offs), views, and exports form responses as an interactive preview table or downloadable CSV. |
Plan Limits & Feature Gating
Ask AI and MCP tools enforce the same plan allowances as the dashboard:
| Feature / Tool Capability | Hobby (Free) | Starter | Pro |
|---|---|---|---|
Active Form Quota (create_google_form) | 1 form | 5 forms | Unlimited |
| Custom Google Fonts & CSS | β | Included | Included |
| White-Labeling (Hide CustomGForm Branding) | β | Included | Included |
| Thank-You Submission Redirects | β | Included | Included |
Geolocation Addon (configure_field_addon) | β | Included | Included |
File Upload Addon (configure_field_addon) | β | Up to 10MB | Up to 100MB |
Form Analytics (get_form_analytics) | β | Included | Included |
Partial Submissions Capture (customize_google_form) | β | β | Included |
Partial Responses & Drop-off Recovery (get_form_responses) | β | β | Included |
When an AI action exceeds your plan limits, tools return a structured upgradeRequired: true response with direct upgrade links:
- Dashboard Ask AI: Prompts an interactive Upgrade Plan card directing you to
/dashboard/usege-and-plans. - External MCP: Returns a direct link to
https://customgform.com/dashboard/usege-and-plansso agents can instruct you on how to upgrade.
Step 1: Generate an MCP Access Token
Open Dashboard Settings
Log into your CustomGForm account and navigate to Settings.
Navigate to "AI & MCP Access Tokens"
Scroll down to the AI & MCP Access Tokens section. This panel displays your active tokens, creation dates, expiration status, and recent activity logs.
Click "Generate Token"
Click the Generate Token button to open the token creation modal.
- Token Name: Enter a descriptive name so you remember which agent uses it (e.g.,
Claude Desktop Mac,Antigravity IDE,Cursor Work). - Expiration: Choose an expiration period:
30 days90 days(Recommended)1 yearNever expires
Save Your Secret Key
Click Generate Token. Your raw token will be displayed once (starting with cgf_mcp_...).
Important: Save Your Secret Now
For your security, CustomGForm hashes tokens using SHA-256 and will never display the raw secret key again. Copy it to your clipboard or password manager immediately.
Step 2: Configure Your AI Agent
Select your tool or agent below for specific setup instructions:
Claude Desktop
Add the CustomGForm MCP server to your claude_desktop_config.json:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"customgform": {
"url": "https://customgform.com/api/mcp",
"headers": {
"Authorization": "Bearer YOUR_CUSTOMGFORM_API_TOKEN"
}
}
}
}Restart Claude Desktop. You will see the hammer icon π¨ indicating CustomGForm tools are active.
Claude Code (CLI)
If you are using the claude CLI, run:
claude mcp add customgform --url https://customgform.com/api/mcp --header "Authorization: Bearer YOUR_CUSTOMGFORM_API_TOKEN"Step 3: Test Your Connection
Now you can speak to your AI agent naturally. Here are sample prompts to test:
1. Diagnose a Google Form
"Can you troubleshoot my Google Form connection? Link: https://docs.google.com/forms/d/e/1FAIpQLScQNAKF0rg3JtFFpAOTvQVsO7R5g9Hmcng_DpxqMKBxf7hsoQ/viewform"
The agent will run troubleshoot_form_connection and confirm if it is public or if Google sign-in settings need adjustments.
2. Import and Restyle a Form
"Import this Google Form into CustomGForm, apply a dark green minimal theme, change the submit button to 'Send Feedback', and enable submission redirect to https://example.com/thank-you"
The agent will call create_google_form followed by customize_google_form. CustomGForm's built-in Color Harmony Guardian automatically balances contrast ratios (WCAG 2.1 AA), cascades matching interactive accents, and ensures high legibility across light and dark surfaces.
3. Save Form Theme as Template
"Save the current theme of form [form_id] as a reusable template named 'Dark Emerald' with description 'Modern dark theme with emerald highlights'"
The agent will run save_theme_to_template. The template will immediately become available in your dashboard under Manual Configuration β Design β Templates to apply to any other form.
4. Add File Upload Addon
"On form [form_id], attach a file upload addon to the 'Resume' question allowing up to 3 PDF or Word documents, max 20MB."
The agent will find the question and run configure_field_addon. If allowed file formats, max size, or file count are omitted, the agent will ask for clarification first.
5. Get Share Link or Embed Code
"Give me a shareable link for form [form_id] with email prefilled as '[email protected]' and the company field hidden. Also give me the React component code with popup mode enabled."
The agent will run get_form_share_instructions and return the ready-to-share URL, HTML embed snippet, and React component code.
6. Analyze Form Conversion & Drop-off
"How is my form [form_id] performing this month? What is my completion rate and where are people dropping off? Can you also export a CSV report?"
The agent will run get_form_analytics (with optional format: 'csv') and report total impressions, engagement starts, completed submissions, completion rate, average completion time, wizard step drop-off points, and full CSV export data.
7. Search, Filter, and Export Responses
"Show me partial drop-off responses for form [form_id] where respondents dropped off before completing. Can you also give me the CSV?"
The agent will run get_form_responses (with status: 'partial') and return structured rows with drop-off progress, an interactive table preview, and a full CSV export.
Audit & Activity Tracking
Every tool call executed by external AI agents is logged in your CustomGForm account for full transparency.
- Go to Settings.
- Click Activity Log.
- View timestamps, tool names, execution status, input parameters, and origin badges:
UI Chat: Initiated directly from the internal dashboard chat.MCP: <TokenName>: Initiated externally from your configured agent (e.g.,MCP: Claude Desktop,MCP: Antigravity).
You can revoke an API token at any time by clicking the trash icon in your tokens table. Revoked tokens immediately lose all access.