Formgong
com.formgongv1.0.0更新于 Oct 3, 2026
Create contact forms, get HTML/React/Next.js snippets and read recent submissions on Formgong.
概览
让助手在 Formgong 上创建联系表单、获取 HTML、React 或 Next.js 嵌入代码,并读取最近的表单提交。
- 功能
- 这是一个面向 Formgong(为静态网站和 AI 生成网站提供托管表单后端)的远程 MCP 服务器。工具可以列出你的表单及其公开访问密钥和本月提交数,用名称和通知邮箱创建表单,返回可直接粘贴的 HTML、React 或 Next.js 代码(含访问密钥、蜜罐和 Turnstile 设置),并读取最多 50 条最近提交,仅包含时间和提交字段。服务器无状态,返回 JSON 响应。
- 适用场景
- 适合在搭建或维护网站时使用:让助手端到端接入联系表单,创建表单、返回嵌入代码,并查看收到的提交,无需手动复制访问密钥。
- 运行要求
- 无需安装,服务器以 Streamable HTTP 远程运行在 Formgong 端点上。需要 Formgong 账号和个人 API 令牌(fgp_...),通过 Authorization 头以 Bearer fgp_... 形式发送。令牌权限包括 forms:read、forms:write 和 submissions:read。仅支持 stdio 的客户端需要 mcp-remote 桥接,且需要 Node.js。不支持 OAuth。
安装
在 SourceWeft 中
- 打开 控制台中的 Formgong,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。
其他 MCP 客户端
把它添加到你客户端的 mcpServers 配置中。
{
"mcpServers": {
"mcp": {
"type": "http",
"url": "https://formgong.com/mcp"
}
}
}README
Formgong MCP server
A remote Model Context Protocol server for Formgong, a hosted form backend for static and AI-built websites. Your AI assistant can create contact forms, get ready-to-paste form code and read recent submissions, so you never have to copy access keys by hand.
- URL:
https://formgong.com/mcp - Transport: Streamable HTTP. It's stateless and returns JSON responses.
- Auth:
Authorization: Bearer fgp_…with a personal API token. OAuth is not supported yet. - Docs: https://formgong.com/en/docs/mcp/ (in 12 languages)
There's nothing to install: the server runs on formgong.com. This repo holds the documentation and the server.json for the official MCP Registry (com.formgong/mcp).
Tools
1. Create an API token
- Sign up at https://formgong.com (the free plan includes 300 submissions a month, and data is stored in the EU), then confirm your email.
- Open Dashboard → Account → API tokens.
- Name the token after the tool that will use it, and choose the access:
- "Create forms" is on by default.
- "Read recent submissions" is off unless you turn it on.
- You can set an optional expiry.
- Copy the token (
fgp_…). It's shown only once, and Formgong stores only a hash of it. You can revoke it from the same page at any time.
2. Add the server to your client
Cursor
~/.cursor/mcp.json (all projects) or .cursor/mcp.json (one project):
Claude Code
Claude Desktop
Custom connectors in Settings → Connectors require OAuth, which Formgong doesn't support yet. Instead, use the mcp-remote bridge (it requires Node.js) in claude_desktop_config.json, then restart Claude Desktop:
VS Code (Copilot agent mode)
.vscode/mcp.json. VS Code asks for the token once and stores it securely:
Windsurf
~/.codeium/windsurf/mcp_config.json:
Lovable and Bolt
- Lovable: go to Settings → Connectors → Custom MCP server. Enter URL
https://formgong.com/mcp, choose "Bearer token or API key", and paste only the token (without the wordBearer). - Bolt: go to Settings → Connectors (MCP) → Custom MCP server. Enter URL
https://formgong.com/mcp, set Transport to HTTP and Authentication to API key, then paste the token.
Other clients
Any client that supports remote MCP over Streamable HTTP with custom headers works with the same URL and header. Clients that only support stdio can use the mcp-remote bridge shown above.
Try it
- "Create a Formgong form called 'Contact – acme.com' and add it to the contact page as a React component."
- "List my Formgong forms and give me the Next.js snippet for the newest one in German."
- "Show the last 5 submissions of my contact form." (This needs a token with "Read recent submissions".)
Security
- Tokens are scoped (
forms:read,forms:write,submissions:read), stored only as hashes, can expire, and can be revoked in the dashboard. - Each token can make 60 requests a minute, and failed authentication attempts are rate-limited per IP.
- The tools only see forms the token owner owns. Submissions never include IP addresses or user agents.
- Report security issues to [email protected].
Related
- Starters: nextjs-starter, astro-starter, html-starter, react-contact-form
- npm:
create-formgong,@formgong/react - Docs for AI builders: https://formgong.com/en/docs/
License
MIT © Formgong. This license covers the documentation and config in this repo. The hosted service is covered by https://formgong.com/terms.
来源:README.md,提交 b9b22a0
工具
0版本历史
1- v1.0.0最新Oct 3, 2026

