
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 分
请在仓库或注册中心条目中声明许可证。