
Twig
io.github.Kind-ling由 GitHub 帳號 Kind-ling 發布v0.4.2更新於 Nov 10, 2026
MCP server quality scoring and optimization for the agent economy.
概覽
為 MCP 工具描述評分並改寫,讓 AI 代理更可能選用它,並提供選用的付費監控與競爭報告。
- 可以做什麼
- Twig 會分析 MCP 伺服器、A2A 代理卡片、OpenAPI 規格或本機 JSON schema 檔案中的描述,並從意圖匹配、具體程度和差異化三個面向給出 0 到 100 的評分。它會產生三種最佳化後的描述變體(功能性、結構化、情境化),並可設定每週重新評分、類別排名和意圖趨勢報告。付費層級還提供競爭位置追蹤以及 x402 服務的營收關聯分析。
- 適用情境
- 當你發布 MCP 伺服器或代理服務,並希望其工具描述更清楚、更容易被 LLM 代理選中時使用。它面向已收錄在代理目錄中、希望提高被選擇機率的團隊,以及需要追蹤自身定位隨時間變化的使用者。
- 執行需求
- 以 npm 套件(@kind-ling/twig)透過 stdio 在本機執行,需要 Node.js。它讀取公開 URL 或本機 JSON schema 檔案,並需要網路存取來取得內容。付費命令使用 Base 上的 x402 支付並需要錢包地址;託管公開端點未宣告需要 API 金鑰。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Twig,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
Twig
Agents choose you or they don't. Twig makes them choose you.
Part of Kindling — agent SEO for the agent economy.
Free audit. Paid monitoring. Premium intelligence.
The Problem
Every MCP tool has a description. That description is what an LLM reads when deciding whether to call your service. It's the only signal between "selected" and "skipped".
Most descriptions are garbage.
These tools are useful. Their descriptions are not. And getting indexed in x402-discovery or MCPay doesn't help if agents skip you because they can't tell what you do.
Getting indexed is table stakes. Twig helps you get chosen.
Quick Start
Live API
Twig is available as a hosted API at https://twig.kind-ling.com
Response format:
No API key required for public endpoints. Rate limits apply.
Scoring Model
Three dimensions, 0–100 each:
Grades: A (85+) · B (70+) · C (55+) · D (40+) · F (<40)
Score below 40 = agents are skipping you.
What Twig Monitors
Your descriptions — re-scored weekly against a live intent corpus. Score changes alert you when your positioning drifts.
Your competitive position — how you rank vs. similar services in your category. Know when a competitor improves and overtakes you.
Intent trends — what agents are searching for this week vs. last. The queries change. Your descriptions need to keep up.
Volume correlation — description changes mapped to x402 volume changes. Close the loop between optimization and revenue.
Optimization Variants
Twig generates 3 variants per tool:
Functional — Action verb + what + return type:
"Answers questions with real-time web sources. Returns a cited response with source URLs, confidence score, and supporting quotes. Best for research and fact-checking."
Structured — Input → output with constraints:
"Web Q&A. Input: question string. Returns: answer (string), sources (URL array), confidence (0-1). Supports: factual queries, current events, research synthesis."
Contextual — Use case → action → output (highest LLM selectability):
"Use when you need a factual answer with sourced citations. Queries the web in real-time and synthesizes a response with URLs and supporting quotes. Best for research, fact-checking, and current events."
Before / After
exa/answer
Before: AI-powered answer ← F (28/100)
After (Contextual): Use when you need a factual answer with sourced citations. Queries the web in real-time and synthesizes a response with source URLs and supporting quotes. Best for research, fact-checking, and current events. ← B (72/100)
wordspace/invoke
Before: Run wordspace AI agent loop ← F (31/100)
After (Structured): Executes a Wordspace multi-step agent workflow. Input: task description and optional context. Returns: completed output, intermediate steps, tool calls made. Best for complex tasks requiring multiple tool invocations. $2/call. ← B (74/100)
Revenue Model
Standard (Monitoring)
Weekly reports are gated via x402 on Base. Set up once, runs automatically.
Enterprise (Performance-based)
For services with existing x402 volume:
twig measure 0xWallet --baseline— record 7-day baseline- Deploy Twig-optimized descriptions
twig measure 0xWallet --compare— measure delta (14–30 days later)- Pay 15% of the revenue increase in USDC on Base
- Revenue flat or down? Pay nothing.
Everything measured via on-chain USDC transfer logs. No self-reporting.
Supported Sources
- A2A Agent Cards (
/.well-known/agent.json) - MCP servers (JSON-RPC
tools/list) - OpenAPI specs
- Local JSON schema files
- x402-discovery catalog (for competitive analysis)
CLI Reference
Twig v0.1.0 · Kind-ling · Permanent Upper Class · MIT
來源:README.md,提交 7a8114b
工具
0版本歷史
1- v0.4.2最新Sep 16, 2026
評分
已滿足適用檢查項的 40%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分
請在儲存庫或註冊中心條目中宣告授權條款。