The Fillout.io MCP Server enables interaction with the Fillout.io API, allowing you to manage forms, handle responses, and access analytics through a Model Context Protocol interface. This guide will help you set up and use the server effectively.
To get started with the Fillout.io MCP Server, you'll need an API key:
Get your Fillout.io API Key:
API Key Information:
fo_live_
fo_test_
Replace your-fillout-api-key
in the configuration with your API key.
⚠️ Security Notes:
"Invalid API key provided" or "Authentication failed"
fo_live_
or fo_test_
"Test mode key used with live form"
fo_test_
) with production form"Rate limit exceeded"
Check API Key Format:
Test API Key:
curl -H "Authorization: Bearer your-api-key" \
https://api.fillout.com/v1/api/forms
list_forms
limit
(optional): Number of forms to returnoffset
(optional): Pagination offsetget_form
formId
(string): Form identifiercreate_form
name
(string): Form namedescription
(optional string): Form descriptionquestions
(array): Array of question objects
type
: Question type (e.g., 'ShortAnswer', 'MultipleChoice')name
: Question textrequired
: Whether question is requiredchoices
: Array of choices for multiple choice questionsget_form_responses
formId
(string): Form identifierfilters
(optional): Response filterspageSize
(optional): Results per pageafterDate
(optional): Filter by submission datebeforeDate
(optional): Filter by submission datestatus
(optional): Filter by completion statussubmit_form_response
formId
(string): Form identifierresponses
(array): Array of answers
questionId
: Question identifiervalue
: Response valuecalculations
(optional): Custom calculations{
"mcpServers": {
"fillout": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"FILLOUT_API_KEY",
"mcp/fillout"
],
"env": {
"FILLOUT_API_KEY": "your-fillout-api-key"
}
}
}
}
{
"mcpServers": {
"fillout": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-fillout"
],
"env": {
"FILLOUT_API_KEY": "your-fillout-api-key"
}
}
}
}
const form = await client.createForm({
name: "Customer Feedback",
description: "Please share your experience",
questions: [
{
type: "ShortAnswer",
name: "What did you like most?",
required: true
},
{
type: "MultipleChoice",
name: "Would you recommend us?",
required: true,
choices: ["Yes", "No", "Maybe"]
}
]
});
const response = await client.submitFormResponse(formId, {
responses: [
{
questionId: "q1",
value: "Great customer service!"
},
{
questionId: "q2",
value: "Yes"
}
]
});
The server provides detailed error messages for common issues:
try {
const forms = await client.listForms();
} catch (error) {
if (error instanceof AuthenticationError) {
// Handle invalid API key
} else if (error instanceof FilloutError) {
// Handle API-specific errors
} else {
// Handle unexpected errors
}
}
To add this MCP server to Claude Code, run this command in your terminal:
claude mcp add-json "fillout" '{"command":"npx","args":["-y","@modelcontextprotocol/server-fillout"],"env":{"FILLOUT_API_KEY":"your-fillout-api-key"}}'
See the official Claude Code MCP documentation for more details.
There are two ways to add an MCP server to Cursor. The most common way is to add the server globally in the ~/.cursor/mcp.json
file so that it is available in all of your projects.
If you only need the server in a single project, you can add it to the project instead by creating or adding it to the .cursor/mcp.json
file.
To add a global MCP server go to Cursor Settings > Tools & Integrations and click "New MCP Server".
When you click that button the ~/.cursor/mcp.json
file will be opened and you can add your server like this:
{
"mcpServers": {
"fillout": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-fillout"
],
"env": {
"FILLOUT_API_KEY": "your-fillout-api-key"
}
}
}
}
To add an MCP server to a project you can create a new .cursor/mcp.json
file or add it to the existing one. This will look exactly the same as the global MCP server example above.
Once the server is installed, you might need to head back to Settings > MCP and click the refresh button.
The Cursor agent will then be able to see the available tools the added MCP server has available and will call them when it needs to.
You can also explicitly ask the agent to use the tool by mentioning the tool name and describing what the function does.
To add this MCP server to Claude Desktop:
1. Find your configuration file:
~/Library/Application Support/Claude/claude_desktop_config.json
%APPDATA%\Claude\claude_desktop_config.json
~/.config/Claude/claude_desktop_config.json
2. Add this to your configuration file:
{
"mcpServers": {
"fillout": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-fillout"
],
"env": {
"FILLOUT_API_KEY": "your-fillout-api-key"
}
}
}
}
3. Restart Claude Desktop for the changes to take effect