Thread Kit: posts that fit every network
Free post-length counter (X, Bluesky, Farcaster, Mastodon, Threads); paid thread split + AI writers
我該用這個嗎
品質與安全性
發現項目(12)
- HIGH
- MEDIUM在 split_thread 中
- MEDIUM在 check_post_length 中
- MEDIUM在 write_thread_from_article 中
- MEDIUM在 count_post_length 中
- MEDIUM在 network_rules 中
- LOW在 generate_changelog_from_commits 中
- INFO在 split_thread 中
- INFO在 check_post_length 中
- INFO在 write_thread_from_article 中
根據工具定義與協定合規性的自動化分析。
上下文成本
這是每次將伺服器的工具載入模型上下文時所消耗的約略 token 數量。數量越高,可用於其他工作的注意力就越少。
安裝
一鍵安裝
將以下內容加入你的 `claude_desktop_config.json` 檔案:
{
"mcpServers": {
"thread-kit": {
"url": "https://thread-kit.agent-arena-base.workers.dev/mcp"
}
}
}遠端端點
https://thread-kit.agent-arena-base.workers.dev/mcpstreamable-http它能做什麼
工具清單
工具(11)
🟢split_thread(network, text, limit, numbering)
Split long text into a thread where every post fits the network's limit, counted the way that network counts. X: weighted, CJK and emoji count 2, every link 23, limit 280. Bluesky: 300 graphemes and 3000 bytes. Farcaster: UTF-8 bytes, 320 per cast (1024 long cast). Mastodon: 500, links 23. Threads (Meta): 500, emoji count as their UTF-8 bytes. Breaks at paragraph, sentence, clause, then word boundaries (CJK-aware), never inside a URL or @mention, adds n/N numbering that is included in the count, and re-checks every post. Returns posts with their lengths. Pure computation. PAID: $0.002 per call in USDC on Base via x402 over MCP, or from prepaid credits if this server is configured with an Authorization: Bearer tkc_... header (see payment_options).
輸入結構描述
{
"type": "object",
"properties": {
"network": {
"type": "string",
"enum": [
"x",
"bluesky",
"farcaster",
"mastodon",
"meta-threads"
],
"description": "Target network: x (X/Twitter, default), bluesky, farcaster, mastodon or meta-threads (Threads by Meta)"
},
"text": {
"type": "string",
"description": "The text to split (any language, max 25000 characters)"
},
"limit": {
"type": "integer",
"description": "Optional max length per post in that network's unit; default is the network's own limit (see network_rules)"
},
"numbering": {
"type": "string",
"enum": [
"suffix",
"prefix",
"none"
],
"description": "Where to put \"n/N\": suffix (default), prefix or none; counted in each post's length"
}
},
"required": [
"text"
],
"additionalProperties": false
}🟢check_post_length(network, text, limit)
Full check of one post for a network: valid or not, exact length in that network's unit, remaining, issues (over the limit, byte cap, too many links, invalid characters, NFC) and a "fitted" version cut at a sentence or word boundary with an ellipsis when it is too long. X: weighted, CJK and emoji count 2, every link 23, limit 280. Bluesky: 300 graphemes and 3000 bytes. Farcaster: UTF-8 bytes, 320 per cast (1024 long cast). Mastodon: 500, links 23. Threads (Meta): 500, emoji count as their UTF-8 bytes. For the length alone use the free count_post_length. PAID: $0.001 per call in USDC on Base via x402 over MCP, or from prepaid credits if this server is configured with an Authorization: Bearer tkc_... header (see payment_options).
輸入結構描述
{
"type": "object",
"properties": {
"network": {
"type": "string",
"enum": [
"x",
"bluesky",
"farcaster",
"mastodon",
"meta-threads"
],
"description": "Target network: x (X/Twitter, default), bluesky, farcaster, mastodon or meta-threads (Threads by Meta)"
},
"text": {
"type": "string",
"description": "The post text (any language)"
},
"limit": {
"type": "integer",
"description": "Optional max length per post in that network's unit; default is the network's own limit (see network_rules)"
}
},
"required": [
"text"
],
"additionalProperties": false
}🟢write_thread_from_article(text, platform, posts, tone, lang, ...)
Turn an article, blog post, notes, changelog or transcript into a ready-to-post thread (hook first, one point per post, wrap-up last) for X, Bluesky, Farcaster, Mastodon or Threads. An open model on Cloudflare Workers AI writes it; Thread Kit re-measures and re-splits every post so each one fits, removes links that are not in the source and flags numbers that are not in it. A failed generation is not charged. PAID: $0.010 per call in USDC on Base via x402 over MCP, or from prepaid credits if this server is configured with an Authorization: Bearer tkc_... header (see payment_options).
輸入結構描述
{
"type": "object",
"properties": {
"text": {
"type": "string",
"description": "Source to turn into a thread: article, notes or transcript (100-3000 characters)"
},
"platform": {
"type": "string",
"description": "Target network: x (default), bluesky, farcaster, mastodon or meta-threads",
"enum": [
"x",
"bluesky",
"farcaster",
"mastodon",
"meta-threads"
]
},
"posts": {
"type": "integer",
"description": "Number of posts, 3-12; omit to let the writer choose from the source length"
},
"tone": {
"type": "string",
"description": "clear (default), punchy, casual or formal",
"enum": [
"clear",
"punchy",
"casual",
"formal"
]
},
"lang": {
"type": "string",
"description": "Output language: auto = same as the source (default), or en, zh, zh-TW, ja, ko, es, fr, de, pt, ru, id, vi, tr, it",
"enum": [
"auto",
"en",
"zh",
"zh-TW",
"ja",
"ko",
"es",
"fr",
"de",
"pt",
"ru",
"id",
"vi",
"tr",
"it"
]
},
"numbering": {
"type": "string",
"description": "Where to put \"n/N\": suffix (default), prefix or none. Counted in each post's length.",
"enum": [
"suffix",
"prefix",
"none"
]
}
},
"required": [
"text"
],
"additionalProperties": false
}🟢write_short_video_script(text, seconds, platform, tone, lang)
Turn an article, notes or product description into a 15/30/45/60-second vertical-video script: hook first, then beats with voiceover, on-screen text and a shot description (usable as a text-to-video prompt), plus title, caption, up to 5 hashtags and SRT subtitles. Timed from speaking rate and trimmed to fit (+10%). No video or voice is generated. A failed generation is not charged. PAID: $0.020 per call in USDC on Base via x402 over MCP, or from prepaid credits if this server is configured with an Authorization: Bearer tkc_... header (see payment_options).
輸入結構描述
{
"type": "object",
"properties": {
"text": {
"type": "string",
"description": "Source to turn into a script: article, notes or product description (100-3000 characters)"
},
"seconds": {
"type": "integer",
"description": "Target length in seconds: 15, 30 (default), 45 or 60",
"enum": [
15,
30,
45,
60
]
},
"platform": {
"type": "string",
"description": "tiktok (default), reels (Instagram Reels) or shorts (YouTube Shorts)",
"enum": [
"tiktok",
"reels",
"shorts"
]
},
"tone": {
"type": "string",
"description": "clear (default), punchy, casual or formal",
"enum": [
"clear",
"punchy",
"casual",
"formal"
]
},
"lang": {
"type": "string",
"description": "Language of voiceover, on-screen text, title and caption: auto = same as the source (default), or en, zh, zh-TW, ja, ko, es, fr, de, pt, ru, id, vi, tr, it. Shot descriptions are in English.",
"enum": [
"auto",
"en",
"zh",
"zh-TW",
"ja",
"ko",
"es",
"fr",
"de",
"pt",
"ru",
"id",
"vi",
"tr",
"it"
]
}
},
"required": [
"text"
],
"additionalProperties": false
}🟢audit_x402_listing(origin, task)
For sellers of paid APIs. Reads the public listing of the origin you name (openapi.json, /.well-known/x402, llms.txt, up to 3 unpaid calls that should answer 402) and returns a 0-100 score, ranked fixes with the reason each one costs sales, per-operation issues (missing schemas, generic operationIds, required inputs without examples that make blind paid calls fail) and 402 checks (400 before 402, payTo checksum, network names, price mismatch, bazaar metadata). Optional task = what buyers ask for. Deterministic; origin "sample" audits a built-in example. An origin that does not answer is not charged. PAID: $0.040 per call in USDC on Base via x402 over MCP, or from prepaid credits if this server is configured with an Authorization: Bearer tkc_... header (see payment_options).
輸入結構描述
{
"type": "object",
"properties": {
"origin": {
"type": "string",
"description": "Host of the paid API to audit, e.g. api.example.com or https://api.example.com/v1/tool (a path is probed first). \"sample\" = a built-in example listing (no network request)."
},
"task": {
"type": "string",
"description": "Optional: what a buyer would ask a router for, in their words (max 160 characters), e.g. \"split text into an X thread\"; the report shows which operation matches it best and which words are missing."
}
},
"required": [
"origin"
],
"additionalProperties": false
}🟢rewrite_x402_listing(origin, task)
For sellers of paid APIs. Same audit, then an open model rewrites the operationId, summary, description and tags of up to 5 operations (worst first) from your own listing only; sentences with numbers or links not in your listing, or hype words, are removed. Returns before/after with score and task-word coverage, and a JSON merge patch for openapi.json. AI-written, not human-reviewed. No openapi.json or no usable model output is not charged. PAID: $0.250 per call in USDC on Base via x402 over MCP, or from prepaid credits if this server is configured with an Authorization: Bearer tkc_... header (see payment_options).
輸入結構描述
{
"type": "object",
"properties": {
"origin": {
"type": "string",
"description": "Host of the paid API to audit, e.g. api.example.com or https://api.example.com/v1/tool (a path is probed first). \"sample\" = a built-in example listing (no network request)."
},
"task": {
"type": "string",
"description": "Optional: what a buyer would ask a router for, in their words (max 160 characters), e.g. \"split text into an X thread\"; the report shows which operation matches it best and which words are missing."
}
},
"required": [
"origin"
],
"additionalProperties": false
}🟢generate_changelog_from_commits(commits, previous, version, date, repo, ...)
Turn git commit messages (one per line, e.g. git log --oneline, or a JSON array of messages / GitHub commit objects) into a Keep a Changelog section, GitHub release notes (breaking changes first, contributors, compare link), the semver bump and next version from the previous one, and a launch post that fits X. Reads Conventional Commits, gitmoji and plain subjects; docs, tests, CI, dependency bumps and merges are counted, not listed. Deterministic, no AI, nothing stored. PAID: $0.020 per call in USDC on Base via x402 over MCP, or from prepaid credits if this server is configured with an Authorization: Bearer tkc_... header (see payment_options).
輸入結構描述
{
"type": "object",
"properties": {
"commits": {
"type": "string",
"description": "Commit messages, one per line (URL-encoded; indented lines and \"BREAKING CHANGE:\" footers attach to the commit above; an optional leading short SHA is kept), or a JSON array of strings or commit objects ({sha, message} or GitHub's {sha, commit: {message}, author: {login}})"
},
"previous": {
"type": "string",
"description": "Previous released version, e.g. v1.4.2: gives the suggested next version and the compare link"
},
"version": {
"type": "string",
"description": "Version of this release, e.g. 1.5.0 (default: the suggested next version when previous is given, else \"Unreleased\")"
},
"date": {
"type": "string",
"description": "Release date YYYY-MM-DD (default: today, UTC, when there is a version)"
},
"repo": {
"type": "string",
"description": "GitHub owner/name (or URL) to link #refs, commits and the compare view"
},
"name": {
"type": "string",
"description": "Product name for the launch post (default: the repo name), max 60 characters"
}
},
"required": [
"commits"
],
"additionalProperties": false
}🟢count_post_length(network, text, limit)
FREE. Exact length of one post for X, Bluesky, Farcaster, Mastodon or Threads (Meta), in that network's own unit, with the limit, remaining and whether it fits. X: weighted, CJK and emoji count 2, every link 23, limit 280. Bluesky: 300 graphemes and 3000 bytes. Farcaster: UTF-8 bytes, 320 per cast (1024 long cast). Mastodon: 500, links 23. Threads (Meta): 500, emoji count as their UTF-8 bytes. Use it before posting; if it does not fit, check_post_length returns a shortened version and split_thread a thread.
輸入結構描述
{
"type": "object",
"properties": {
"network": {
"type": "string",
"enum": [
"x",
"bluesky",
"farcaster",
"mastodon",
"meta-threads"
],
"description": "Target network: x (X/Twitter, default), bluesky, farcaster, mastodon or meta-threads (Threads by Meta)"
},
"text": {
"type": "string",
"description": "The post text"
},
"limit": {
"type": "integer",
"description": "Optional limit; default is the network's own limit"
}
},
"required": [
"text"
],
"additionalProperties": false
}🟢network_rules
FREE. Limits, counting units and sources for X, Bluesky, Farcaster, Mastodon and Threads (Meta).
輸入結構描述
{
"type": "object",
"properties": {},
"additionalProperties": false
}🟢writing_examples
FREE. A hand-written example of what write_thread_from_article and write_short_video_script return, with the input that produced it. No model call.
輸入結構描述
{
"type": "object",
"properties": {},
"additionalProperties": false
}🟢payment_options
FREE. Receiving address, prices and how to pay the paid tools: x402 over MCP (USDC on Base, per call), or the same endpoints over plain HTTP x402 / MPP.
輸入結構描述
{
"type": "object",
"properties": {},
"additionalProperties": false
}社群
證據