fillout-mcp-server
Enables form management, response handling, and analytics via the Fillout.io API, allowing users to create, update, and fetch forms and submissions through natural language.
README
Fillout.io MCP Server
MCP Server for the Fillout.io API, enabling form management, response handling, and analytics.
Token Setup
-
Get your Fillout.io API Key:
- Log in to your Fillout.io account
- Go to Account Settings → API & Webhooks
- Click "Create new API Key"
- Copy your new API key
-
API Key Information:
- Production keys start with
fo_live_ - Test keys start with
fo_test_ - Test keys only work with test forms
- API keys provide access to all resources in your account
- Production keys start with
-
Replace
your-fillout-api-keyin the configuration with your API key.
⚠️ Security Notes:
- Keep your API key secure and private
- Use test keys for development
- Store keys in environment variables
- Rotate keys periodically
- Never commit keys to version control
Token Troubleshooting
Common Error Messages
-
"Invalid API key provided" or "Authentication failed"
- Cause: API key is missing, malformed, or invalid
- Solution:
- Verify key starts with
fo_live_orfo_test_ - Check for extra spaces or characters
- Ensure environment variable is set correctly
- Create a new key if necessary
- Verify key starts with
-
"Test mode key used with live form"
- Cause: Using test key (
fo_test_) with production form - Solution:
- Use live key for production forms
- Create test form for development
- Switch to appropriate key type
- Cause: Using test key (
-
"Rate limit exceeded"
- Cause: Too many API requests
- Solution:
- Implement request throttling
- Check usage in dashboard
- Optimize request patterns
Validation Steps
-
Check API Key Format:
# Key should: - Start with 'fo_live_' or 'fo_test_' - Be approximately 50 characters - Contain only letters, numbers, and underscores -
Test API Key:
curl -H "Authorization: Bearer your-api-key" \ https://api.fillout.com/v1/api/forms
Features
Form Management
- List all forms
- Get form details
- Create new forms
- Delete forms
- Update form settings
Response Handling
- Submit form responses
- Get form submissions
- Filter responses
- Export responses
Analytics
- Response rates
- Completion times
- Submission trends
Tools
-
list_forms- Get all accessible forms
- Parameters:
limit(optional): Number of forms to returnoffset(optional): Pagination offset
- Returns: Array of form objects
-
get_form- Get detailed form information
- Parameters:
formId(string): Form identifier
- Returns: Form details including questions and settings
-
create_form- Create a new form
- Parameters:
name(string): Form namedescription(optional string): Form descriptionquestions(array): Array of question objectstype: Question type (e.g., 'ShortAnswer', 'MultipleChoice')name: Question textrequired: Whether question is requiredchoices: Array of choices for multiple choice questions
- Returns: Created form object
-
get_form_responses- Get form submissions
- Parameters:
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 status
- Returns: Array of form responses
-
submit_form_response- Submit a new response
- Parameters:
formId(string): Form identifierresponses(array): Array of answersquestionId: Question identifiervalue: Response value
calculations(optional): Custom calculations
- Returns: Submission confirmation
Setup
Usage with Claude Desktop
Docker Configuration
{
"mcpServers": {
"fillout": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"FILLOUT_API_KEY",
"mcp/fillout"
],
"env": {
"FILLOUT_API_KEY": "your-fillout-api-key"
}
}
}
}
NPX Configuration
{
"mcpServers": {
"fillout": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-fillout"
],
"env": {
"FILLOUT_API_KEY": "your-fillout-api-key"
}
}
}
}
Building
Prerequisites
- Node.js 18 or later
- npm or yarn
- Docker (optional)
Local Development
# Install dependencies
npm install
# Run in development mode
npm run dev
# Build for production
npm run build
Docker Build
# Build image
docker build -t mcp/fillout .
# Run container
docker run -e FILLOUT_API_KEY=your-key mcp/fillout
Examples
Creating a Form
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"]
}
]
});
Submitting a Response
const response = await client.submitFormResponse(formId, {
responses: [
{
questionId: "q1",
value: "Great customer service!"
},
{
questionId: "q2",
value: "Yes"
}
]
});
Error Handling
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
}
}
License
This project is licensed under the MIT License. See the LICENSE file for details.
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。