Formpaste

com.formpaste由 formpaste.com 发布官方发布者v1.0.0更新于 Oct 24, 2026

Create and wire up contact forms from your coding agent. Forms, snippets, and submissions.

已验证Streamable HTTP可网页运行开发者工具商业与电商

概览

AI 生成的概览

Formpaste 让编码助手在 Formpaste 账户上创建联系表单、获取框架代码片段、验证表单配置并列出提交记录。

可以做什么
创建表单并返回访问密钥和已接好的代码片段,新地址会触发目标邮箱验证。获取 html、react、nextjs、astro、vue 或 svelte 的可复制片段,可填入真实访问密钥。列出并读取表单,查看访问密钥、目标验证状态、允许域名以及通知、自动回复或 webhook 配置。发送测试提交,证明表单已上线并能接收数据。列出某个表单的提交记录,默认返回计数和元数据,也可选择包含留言正文。
适用场景
适合在搭建网站或应用时,让助手直接创建联系表单、插入对应框架的代码片段,并确认表单确实能收到提交,无需离开编辑器。
运行要求
需要 Formpaste 账户,以及在仪表盘 Settings 中生成的 API 令牌,通过 Authorization 请求头以 bearer 方式发送,或放在 FORMPASTE_TOKEN 环境变量中。远程端点使用 streamable HTTP 访问;npm 包 formpaste-mcp 在本地运行,需要 Node.js 18 或更高版本,并通过 mcp-remote 连接托管端点。
安装前请注意
令牌属于凭据,不要写入共享文件。full 范围的令牌会让 list_submissions 读取第三方提交内容,属于个人数据;使用 setup 范围可避免。创建表单会触发目标邮箱验证,需账户所有者在仪表盘中完成。测试提交会存入所有者收件箱,创建表单还可能受套餐限制(upgrade_required)。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Formpaste,将其添加到工作区。
  2. 连接 Authorization token 凭据。它们会被私密存储,绝不会在公开页面上展示。
  3. 为需要使用其工具的对话启用该服务。

Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。

交给智能体安装

把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。

阅读 https://sourceweft.com/mcp/com.formpaste%2Fformpaste/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。

查看智能体所依据的安装指南

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。

{
  "mcpServers": {
    "formpaste": {
      "type": "http",
      "url": "https://api.formpaste.com/mcp",
      "headers": {
        "Authorization": "Bearer <YOUR_TOKEN>"
      }
    }
  }
}

README

formpaste-mcp

Create and wire up contact forms from your coding agent. Six tools for forms, snippets, and submissions.

What this is

This package is a thin wrapper that launches mcp-remote pointed at the hosted Formpaste MCP server (https://api.formpaste.com/mcp, streamable-http transport). The equivalent manual mcp-remote config works identically; this package exists mainly so agents and clients can discover and install Formpaste's MCP server by name, not because it does anything the manual config cannot.

Requirements

  • Node.js 18 or later
  • A Formpaste account
  • An API token from Settings -> API & MCP in the Formpaste dashboard

Install

Each client below is configured to talk to the hosted MCP endpoint at https://api.formpaste.com/mcp. Replace fpat_YOUR_TOKEN with a token minted from Settings -> API & MCP.

Claude Code

claude mcp add formpaste --transport http https://api.formpaste.com/mcp \  --header "Authorization: Bearer fpat_YOUR_TOKEN"

Codex

# ~/.codex/config.toml[mcp_servers.formpaste]command = "npx"args = ["mcp-remote", "https://api.formpaste.com/mcp", "--header", "Authorization: Bearer fpat_YOUR_TOKEN"]

Cursor

// .cursor/mcp.json{  "mcpServers": {    "formpaste": { "command": "npx", "args": ["mcp-remote", "https://api.formpaste.com/mcp", "--header", "Authorization: Bearer fpat_YOUR_TOKEN"] }  }}

Claude Desktop

// claude_desktop_config.json{  "mcpServers": {    "formpaste": { "command": "npx", "args": ["mcp-remote", "https://api.formpaste.com/mcp", "--header", "Authorization: Bearer fpat_YOUR_TOKEN"] }  }}

VS Code

// .vscode/mcp.json{  "servers": {    "formpaste": { "command": "npx", "args": ["mcp-remote", "https://api.formpaste.com/mcp", "--header", "Authorization: Bearer fpat_YOUR_TOKEN"] }  }}

Any MCP client, via this package

FORMPASTE_TOKEN=fpat_YOUR_TOKEN npx formpaste-mcp

formpaste-mcp reads FORMPASTE_TOKEN from the environment (or a --token flag) and starts mcp-remote against the hosted endpoint for you.

The six tools

ToolPurposeScope
create_formCreate a form, return its access key and a wired snippetsetup
get_snippetReturn a copy-paste snippet for html/react/nextjs/astro/vue/sveltesetup
list_formsList all forms with ids, names, access keys, inbox/spam countssetup
get_formRead one form's config to verify it is wired correctlysetup
send_test_submissionStore a test submission to prove a form is livesetup
list_submissionsList submissions, optionally including message bodiesfull

Token scopes

Formpaste API tokens have two scopes:

  • full can do everything, including reading submission content via list_submissions.
  • setup can do everything except list_submissions, so it never reads third-party submission content.

Use a setup-scoped token for agent use. It covers form creation, snippets, and verifying that a form is wired correctly, without granting access to the data your forms collect.

Worked example

See examples/wire-a-form.md for a full walkthrough: create a form, get a snippet, paste it into a page, send a test submission, and confirm the form is wired correctly.

Links

来源:README.md,提交 f7ba697

工具

6

create_form

Create a Formpaste form and return its access key + a wired snippet. Triggers destination verification for a new address (the owner completes it in the dashboard); an already-verified destination delivers immediately. Errors with: unauthorized, upgrade_required.

输入参数name必填frameworkdestinationEmail必填

get_snippet

Return a copy-paste form snippet for a framework (html, react, nextjs, astro, vue, svelte). Pass formId to fill in a real access key; otherwise a placeholder is used. Errors with: unauthorized, invalid_framework.

输入参数formIdframework必填

list_submissions

List submissions for one of your forms. Returns counts + per-submission metadata by default; set includeContent to include message bodies (third-party PII). Errors with: unauthorized, not_found, forbidden. Requires a full-access token.

输入参数limitfolderformId必填includeContent

list_forms

List all forms on your account, each with its id, name, access_key, and inbox/spam counts. Use this to discover form ids or confirm a form you just created exists. Errors with: unauthorized.

无需输入参数。

get_form

Read one of your forms to verify it is wired correctly: returns its access_key, destination_email, destination_verified (whether submissions will be emailed yet), allowed_domains, and notification/autoresponder/webhook config. Never returns the webhook signing secret. Errors with: unauthorized, not_found.

输入参数formId必填

send_test_submission

Store a TEST submission so you can prove a form is live and receiving. Stored only: it appears in the owner's Inbox with a Test badge but sends NO email, runs NO spam scoring, and never counts toward quota. Optionally pass sample fields; omit to use a default payload. Capped at the 5 newest test rows per form. Errors with: unauthorized, not_found, invalid_input, too_many_fields, field_too_large.

输入参数fieldsformId必填

版本历史

1
  1. v1.0.0最新Sep 16, 2026

评分

已满足适用检查项的 100%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通必需25 分
  • 已声明认证方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分