get_quickstart
Add the human-typed input to a site
Ready-to-paste code to embed Proof of Type Input (a text box that proves a human typed the text, not AI) and verify its proof on the server. Pick a framework.
framework
com.proofoftype由 proofoftype.com 发布官方发布者v1.3.0更新于 Oct 24, 2026
Add a text box that proves a human typed it, not AI. Code for any framework; verify proof tokens.
Proof of Type Input 提供嵌入代码与验证能力,用于一个能证明文字由真人输入而非 AI 生成的文本框。
Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。
把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。
阅读 https://sourceweft.com/mcp/com.proofoftype%2Finput/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。把它添加到你客户端的 mcpServers 配置中。
{
"mcpServers": {
"proof-of-type-input": {
"type": "http",
"url": "https://www.proofoftype.com/mcp"
}
}
}A text box that proves a human typed it, not AI.
Add one script tag, and the comments, posts, reviews or articles on your site come with proof that a real person typed them: signed in to Proof of Type, typed letter by letter (no paste, no AI-generated text), and confirmed on their phone with Face ID or a fingerprint. Your server gets the text plus a signed proof token that you, or anyone, can verify.
When the form is submitted, the person confirms on their phone, then your server receives:
Vibe coding a site? Connect the Proof of Type MCP server and ask your agent for "a comment box that proves a human typed it".
Other clients (Cursor, VS Code, …):
Tools: get_quickstart(framework), verify_proof(token, text, origin), explain(topic).
AI-generated text is now free and endless, and AI detectors can only guess from the finished words, so they're wrong both ways. Proof of Type doesn't guess. It proves how the text was made:
Pasted or generated text never gets a proof.
Always check the proof before you save the text. Accept it only if it's valid, matches the text, and was made on your site.
Prefer a helper? Copy server.mjs into your project (verifyProof({ token, text, origin })).
Or call the API directly (no key needed):
Proof tokens are JWTs signed with EdDSA (Ed25519). Public keys: https://www.proofoftype.com/.well-known/jwks.json.
Options: name, placeholder, maxWords (10–3000), theme (auto | light | dark), button, buttonLabel, form, typewriter (show the carriage animation, default true), typewriterColor (e.g. '#e11d48'), sound (default true), allowLinks (default true: one pasted link is signed in the proof, read it as proof.link from the verify response; false blocks all pasting). result.html is display formatting only and isn't covered by the proof: sanitize it, or use result.text. The same options work as data- attributes (data-max-words, data-button-label, …).
Events: ready, signin, change, verified, error, resize, also dispatched on the element as DOM events (proofoftype:verified).
Copy react.jsx into your project. It loads the SDK for you:
TypeScript types: index.d.ts.
This repository: the browser SDK, the React component, the server helper, types and examples (MIT). The checks themselves (keystroke capture, typing timeline, phone signatures) run on Proof of Type, where the host page can't change them. That's what makes the proof worth something.
How do I know a comment on my site was written by a human and not AI? Use this input as the text box and verify the proof on your server. A proof only exists when a signed-in person typed the text in the input and approved it on their phone.
Is this an AI detector? No. It proves the process (typed, timed, signed by a person) instead of guessing from the text.
Do my users need an account? Yes: a free Proof of Type account and the Proof of Type app (iPhone or Android). Signing in is one popup; each proof is one Face ID or fingerprint.
Can people paste? Only links. Autocorrect of typed words is allowed; predictive text, swipe and dictation are not.
What does it cost? Free for humans.
MIT © Proof of Type
来源:README.md,提交 c09852a
Add the human-typed input to a site
Ready-to-paste code to embed Proof of Type Input (a text box that proves a human typed the text, not AI) and verify its proof on the server. Pick a framework.
frameworkCheck a proof token
Verify a Proof of Type proof token (EdDSA JWT). Pass the text and your site origin to confirm the proof is for exactly that text on that site. Returns who typed it, when, and the human score.
texttoken必填originWhat Proof of Type proves
How Proof of Type Input works, what a proof guarantees and what it does not, privacy, limits, the proof token claims, and the SDK options and events.
topic已满足适用检查项的 100%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
<script src="https://www.proofoftype.com/sdk/v1.js" async></script>
<form method="post" action="/comments"> <div data-proofoftype data-name="comment" data-placeholder="Write a comment"></div> <button>Post</button></form>claude mcp add --transport http proofoftype https://www.proofoftype.com/mcp{ "mcpServers": { "proofoftype": { "url": "https://www.proofoftype.com/mcp" } } }const r = await fetch('https://www.proofoftype.com/api/v1/verify', { method: 'POST', headers: { 'Content-Type': 'application/json' }, body: JSON.stringify({ token: req.body.comment_proof, text: req.body.comment, // the exact text origin: 'https://your-site.com', // your site max_age_seconds: 600, // made in the last 10 minutes }),}).then((res) => res.json());
if (!r.valid || !r.text_matches || !r.origin_matches || !r.fresh) { return res.status(400).send('Please type your comment in the box.');}// Use each proof once: store r.proof.id with the comment, refuse repeats// (proof tokens are public — they're in proof links).// r.proof.author: the Proof of Type username who typed it// r.proof.link: a link pasted with the text, if anycurl -s https://www.proofoftype.com/api/v1/verify \ -H 'Content-Type: application/json' \ -d '{"token":"<comment_proof>","text":"<comment>","origin":"https://your-site.com"}'{ "valid": true, "text_matches": true, "origin_matches": true, "proof": { "id": "pot_…", "author": "yogev", "origin": "https://your-site.com", "typed_at": "2026-10-11T18:20:31.000Z", "score": 87, "words": 6, "text_sha256": "…" } }import { createRemoteJWKSet, jwtVerify } from 'jose';import { createHash } from 'node:crypto';
const JWKS = createRemoteJWKSet(new URL('https://www.proofoftype.com/.well-known/jwks.json'));const { payload } = await jwtVerify(token, JWKS, { issuer: 'https://www.proofoftype.com', audience: 'https://your-site.com',});if (payload.text_sha256 !== createHash('sha256').update(text, 'utf8').digest('hex')) throw new Error('Not the signed text');const input = ProofOfType.mount('#editor', { placeholder: 'Write your article…', maxWords: 2000, button: false, // verify from your own button});input.on('change', ({ words }) => {});const proof = await input.verify(); // { text, html, token, author, score, url, … }import { HumanInput } from './react.jsx';
<HumanInput placeholder="Write a comment" onVerified={(r) => save(r.text, r.token)} />