Patchwire
Hourly security advisories for JS, AI and web3 packages: ranges, fixes and exploit conditions.
我该使用它吗
质量与安全性
B
发现(3)
- LOW在 get_advisory 中
- LOW在 latest_safe 中
- LOW在 get_platform_bulletins 中
基于对工具定义和协议合规性的自动分析。
上下文开销
~709token 数(工具定义)
~738 B典型响应大小
对注意力有中等影响(占 128k 上下文窗口的 0.55%)
这是每次将服务器的工具加载到模型上下文窗口时所消耗的大致 token 数。数值越高,可用于其他任务的注意力就越少。
安装
一键安装
将以下内容添加到你的 `claude_desktop_config.json` 文件中:
{
"mcpServers": {
"patchwire": {
"url": "https://patchwire.monowire.dev/mcp"
}
}
}远程端点
https://patchwire.monowire.dev/mcpstreamable-http它能做什么
工具清单
工具(5)
🟢 只读🟡 写入🔴 删除⚪ 未知
🟢get_advisories(packages)
Security advisories of the last 120 days for npm package names, with vulnerable ranges and fixed versions. Send names only: compare versions on your side.
输入模式
{
"type": "object",
"properties": {
"packages": {
"minItems": 1,
"maxItems": 50,
"type": "array",
"items": {
"type": "string",
"maxLength": 214,
"pattern": "^(@?[a-z0-9][a-z0-9._~-]*\\/)?[a-z0-9][a-z0-9._~-]*$"
}
}
},
"required": [
"packages"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢get_advisory(id)
One advisory by CVE, GHSA, MAL or Patchwire id (aliases resolve, any case): conditions and sources.
输入模式
{
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^[A-Za-z0-9][A-Za-z0-9._:-]{2,119}$"
}
},
"required": [
"id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢latest_safe(package)
The version that fixes every known advisory, per release line of an npm package.
输入模式
{
"type": "object",
"properties": {
"package": {
"type": "string",
"maxLength": 214,
"pattern": "^(@?[a-z0-9][a-z0-9._~-]*\\/)?[a-z0-9][a-z0-9._~-]*$"
}
},
"required": [
"package"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢list_feed(section, severity, days, limit)
The latest advisories, by sector (js, stack, ai, crypto) and severity.
输入模式
{
"type": "object",
"properties": {
"section": {
"type": "string",
"enum": [
"js",
"stack",
"ai",
"crypto"
]
},
"severity": {
"type": "string",
"enum": [
"critical",
"high",
"medium",
"low",
"watch"
]
},
"days": {
"default": 7,
"type": "integer",
"minimum": 1,
"maximum": 30
},
"limit": {
"default": 20,
"type": "integer",
"minimum": 1,
"maximum": 50
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢get_platform_bulletins(platform)
Advisories and announced changes of hosting and data platforms (Vercel, Supabase, Neon...).
输入模式
{
"type": "object",
"properties": {
"platform": {
"type": "string",
"enum": [
"vercel",
"supabase",
"cloudflare",
"railway",
"neon",
"postgres",
"clerk"
]
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}社区
证据
最近观测
已验证未记录版本5 个工具