@4da/mcp-server
@4da/mcp-server
面向 AI 编码代理的依赖智能工具。 提供实时 CVE 扫描、依赖健康检查、升级规划、生态系统新闻以及持久化的决策记忆。零配置,隐私优先。
You: "Check my dependency health"
Claude: Health: 72/100. 47 dependencies scanned, 3 vulnerable, 1 deprecated, 8 outdated.
CRITICAL openssl-sys 0.9.93 CVE-2025-4231 -> 0.9.96
HIGH serde 1.0.197 RUSTSEC-2026-12 -> 1.0.210
MEDIUM cookie 0.17.0 deprecated -> 0.18.1
Quick wins: 6 patch upgrades, 2 minor. Run upgrade_planner for full plan.一条命令即可安装。无需 API 密钥。无需账户。代码绝不会离开您的机器。
安装
claude mcp add 4da -- npx @4da/mcp-server添加到 ~/.cursor/mcp.json 或 ~/.windsurf/mcp.json:
{
"mcpServers": {
"4da": {
"command": "npx",
"args": ["@4da/mcp-server"]
}
}
}添加到 ~/.vscode/mcp.json:
{
"servers": {
"4da": {
"type": "stdio",
"command": "npx",
"args": ["@4da/mcp-server"]
}
}
}添加到 ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) 或 %APPDATA%\Claude\claude_desktop_config.json (Windows):
{
"mcpServers": {
"4da": {
"command": "npx",
"args": ["@4da/mcp-server"]
}
}
}npx @4da/mcp-server --setup然后询问您的 AI:"Check my dependency health" (检查我的依赖健康状况) 或 "Scan for vulnerabilities" (扫描漏洞)。
Related MCP server: oss-intel-mcp
工作原理
启动时,服务器会读取您的清单和锁定文件 (package.json, Cargo.toml, go.mod, pyproject.toml),解析确切的依赖版本,并查询实时 API:
OSV.dev:用于跨所有生态系统的已知 CVE
npm registry:用于版本新鲜度、弃用状态和每周下载量
crates.io sparse index:用于 Rust 包版本 (避免 1 req/s 的 API 限制)
PyPI JSON API:用于带有许可证标准化的 Python 包元数据
Go module proxy:用于 Go 模块版本
Hacker News Algolia API:用于根据您的技术栈过滤的生态系统新闻
结果会被缓存(注册表数据缓存 24 小时,漏洞缓存 1 小时,新闻缓存 30 分钟)并按来源进行速率限制。
通过网络发送的内容: 包名称 + 版本,通用的技术关键词。这些数据与您 package.json 中可见的数据相同。不包含源代码,不包含文件路径,不包含个人数据。设置 FOURDA_OFFLINE=true 可禁用所有网络调用。
支持的生态系统: npm, crates.io (Rust), PyPI (Python), Go。
您可以询问的内容
"Check my dependency health" -> dependency_health
"Scan for vulnerabilities" -> vulnerability_scan
"Which deps should I upgrade first?" -> upgrade_planner
"What should I know before I start coding?" -> what_should_i_know
"What's happening in the ecosystem?" -> ecosystem_pulse
"What's my tech stack?" -> get_context
"Record a decision: we chose Postgres" -> decision_memory
"Does switching to MySQL align?" -> check_decision_alignment
"Remember: never use ORM for batch inserts" -> agent_memory全部 14 个工具
依赖安全
工具 | 功能 |
| 通过 OSV.dev 进行实时 CVE 扫描。提供严重程度、修复版本、CVSS 分数。 |
| 健康评分 (0-100) + 版本新鲜度、弃用情况、每个依赖的 CVE 数量。 |
| 排名后的升级建议。区分快速修复与重大变更。按风险排序。 |
智能分析
工具 | 功能 |
| 任务前智能简报:漏洞、决策、信号、生态系统更新。 |
| 来自 Hacker News 的实时生态系统新闻,根据您检测到的技术栈进行过滤。 |
| 您的技术栈、已解析的依赖版本、兴趣、关联偏好。 |
| 评分后的内容源 — 按相关性排名的文章、公告、发布信息。 |
| 分类警报:安全公告、重大变更、热门仓库。 |
| 您每天使用但从未深入了解的依赖项。揭示被遗漏的 CVE 和更新。 |
| 保存或忽略项目以教会 4DA 什么是重要的。优化未来的评分。 |
决策与记忆
工具 | 功能 |
| 在会话间记录、查询和管理架构决策。 |
| 验证提议的技术变更是否与已记录的决策一致。 |
| 在会话、代理和编辑器之间持久存在的记忆。 |
身份识别
工具 | 功能 |
| 您的技术身份:主要技术栈、参与模式、盲点。 |
* 需要 4DA 桌面应用 以获取完整数据。
独立模式 vs. 完整模式
MCP 服务器无需桌面应用即可工作。首次运行时,它会创建一个本地数据库并扫描您的项目:
功能 | 独立模式 | 配合 4DA 桌面版 |
漏洞扫描 (OSV.dev) | 是 | 是 |
依赖健康 (4 个注册表) | 是 | 是 |
升级规划 | 是 | 是 |
生态系统新闻 (Hacker News) | 是 | 是 |
任务前智能简报 | 是 | 是 |
技术栈检测 + 已解析版本 | 是 | 是 |
决策记忆 + 一致性检查 | 是 | 是 |
代理记忆 (跨会话) | 是 | 是 |
评分内容源 (20+ 来源) | -- | 是 |
可操作信号 + 知识缺口 | -- | 是 |
复合智能 (随时间学习) | -- | 是 |
下载 4DA 以获得完整体验。
传输方式
stdio (默认) -- 适用于所有 MCP 主机:
npx @4da/mcp-serverStreamable HTTP -- 适用于远程或多客户端设置:
npx @4da/mcp-server --http --port 4840CLI 参考
npx @4da/mcp-server # Start server (stdio)
npx @4da/mcp-server --http # Start server (Streamable HTTP)
npx @4da/mcp-server --setup # Auto-configure your editors
npx @4da/mcp-server --doctor # Verify installation health
npx @4da/mcp-server --version # Print version环境变量
变量 | 描述 | 默认值 |
| 4DA 的 SQLite 数据库路径 | 自动检测 |
| 禁用所有网络调用 |
|
常见问题解答
这会将我的代码发送到任何地方吗?
不会。服务器仅将包名称和版本发送到公共 API (OSV.dev, npm registry, crates.io, PyPI, Go proxy),并将通用技术关键词发送到 HN Algolia。这些数据与您 package.json 中可见的公共数据相同。不包含源代码,不包含文件路径,不包含个人数据。设置 FOURDA_OFFLINE=true 可禁用所有网络调用。
我需要 4DA 桌面应用吗? 不需要。9 个工具可以独立工作:漏洞扫描、依赖健康、升级规划、生态系统新闻、任务前简报、项目上下文、决策记忆、一致性检查和代理记忆。桌面应用增加了来自 20 多个来源的评分内容,这些内容会随时间积累。
它适用于哪些 AI 工具? 任何支持 MCP 的工具:Claude Code, Claude Desktop, Cursor, Windsurf, VS Code (Copilot) 以及任何自定义 MCP 客户端。
从源码构建
git clone https://github.com/runyourempire/4DA.git
cd 4DA/mcp-4da-server
pnpm install
pnpm build
pnpm test # 71 contract tests许可证
MIT
由 4DA 构建
Available Tools
9 toolsagent_memoryA
Cross-agent persistent memory: what one agent learns, any agent can recall. Call to store a discovery, decision, or warning, or to recall prior context before starting work.
| Name | Required | Description | Default |
|---|---|---|---|
No parameters | |||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations provide no safety or behavioral hints (all false), so the description must convey behavior. It states that memory is persistent and cross-agent ('what one agent learns, any agent can recall'), which is useful. However, it doesn't describe side effects of storing (e.g., overwrite, conflict resolution, retention policy) or any auth/rate limits. The description is transparent about the core functionality but lacks deeper behavioral detail.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is two sentences and front-loaded with the core concept ('Cross-agent persistent memory'). It efficiently conveys the purpose and provides a clear call to action with two examples. Every word earns its place, no fluff or repetition.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given zero parameters, no output schema, and no annotation hints, the description must fully explain how the tool operates. It says 'store' and 'recall' but fails to specify how the agent provides the content or key for storage, what the return format is, or how memory is organized. The lack of operational detail makes the tool difficult to use correctly without further context.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The tool has zero parameters, and the input schema is an empty object, so schema description coverage is effectively 100%. With no parameters to explain, the description doesn't need to add parameter semantics. Per the rubric, a baseline of 4 is appropriate for 0 parameters. The description makes no claims about parameters, which is fine.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool's purpose: it provides cross-agent persistent memory for storing and recalling information. It names specific content types (discovery, decision, warning) and a use case (recall prior context). However, it doesn't explicitly differentiate it from sibling tools like 'get_context' or 'decision_memory', which could have overlapping functionality.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description gives some usage guidance: 'Call to store a discovery, decision, or warning, or to recall prior context before starting work.' This suggests when to use it, but it lacks explicit guidance on when NOT to use it or how it compares to alternatives like 'get_context' or 'decision_memory'. The guidance is implied rather than being definitive about selection criteria.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
check_decision_alignmentARead-only
Check whether a technology or pattern aligns with the developer's recorded decisions. Call BEFORE suggesting a major tech change, new library, or architecture shift.
| Name | Required | Description | Default |
|---|---|---|---|
No parameters | |||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnlyHint=true, and the description's 'Check whether' aligns as a read-only operation. It adds a small behavioral detail by indicating the tool consults 'recorded decisions' as the data source, but it doesn't disclose error handling, return behavior, or what happens on misalignment, so it offers only marginal extra context beyond annotations.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is two sentences, front-loaded with the core verb ('Check'), and immediately followed by a practical trigger condition. Every word earns its place with no redundancy or fluff.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a read-only, no-parameter tool, the description covers the essentials: purpose and when to call. It could elaborate on how to interpret the result or whether the check is blocking, but given the absent output schema and simple nature, it's largely complete.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
With 0 parameters and 100% schema description coverage, the rubric sets a baseline of 4. The description adds no parameter-specific meaning (none needed), but it does imply the tool operates on a global decision set without requiring arguments, which is consistent with a 0-param interface.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states it checks whether a technology/pattern aligns with recorded decisions, using a specific verb+resource construction ('Check whether... aligns with the developer's recorded decisions'). It also differentiates from siblings like decision_memory and agent_memory by specifying its exact role in the workflow, making its purpose unambiguous.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides explicit when-to-use context ('Call BEFORE suggesting a major tech change, new library, or architecture shift'), which effectively guides the agent on appropriate invocation timing. However, it does not name alternative tools or mention when *not* to use it, so it stops short of full 5-level guidance.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
decision_memoryA
Record, list, update, or supersede the developer's architectural and tech decisions. Call when the user makes, changes, or asks about a settled decision or convention.
| Name | Required | Description | Default |
|---|---|---|---|
No parameters | |||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Description lacks behavioral details beyond listing actions. No mention of idempotency, side effects, authentication, or return format. Annotations are all false, so description carries full burden but fails to disclose important traits.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Extremely concise: two sentences with no wasted words. Front-loaded with actions, followed by usage trigger.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given empty schema and no output schema, description is too brief for a multi-action tool. Does not explain how the tool determines which operation to perform (e.g., via user intent or hidden parameters). Missing crucial operational logic.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
No parameters exist (empty schema), so description adds no parameter info. Baseline for 0 parameters is 4, which is appropriate here.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
Description clearly states the tool records, lists, updates, or supersedes architectural decisions. It explicitly names the resource (decisions) and actions, and distinguishes from siblings like vulnerability_scan and get_context.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Provides clear guidance: 'Call when the user makes, changes, or asks about a settled decision or convention.' No explicit when-not or alternatives, but siblings are sufficiently different to infer appropriate usage.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
dependency_healthARead-only
Dependency version freshness, deprecation, and CVE counts across npm/Rust/Python/Go. Call when the user asks whether their dependencies are outdated, stale, or need updating.
| Name | Required | Description | Default |
|---|---|---|---|
No parameters | |||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnlyHint=true and openWorldHint=true. The description adds valuable context by specifying the ecosystems (npm/Rust/Python/Go) and the types of data (freshness, deprecation, CVE counts), implying external lookups. It does not contradict annotations and enriches the agent's understanding of the tool's behavior.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is two sentences: the first states what the tool does, the second gives the usage trigger. It is front-loaded, contains no filler, and every sentence earns its place.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool's simplicity (no parameters, read-only, no output schema), the description is complete. It covers the core purpose, the types of information it provides, and a clear use case. The agent has enough to select and invoke it correctly.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The tool has zero parameters, so schema coverage is trivially complete. The description does not need to explain parameters. The baseline for 0 params is 4, and the description wisely focuses on usage context rather than parameter details.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description states a clear function: it provides dependency version freshness, deprecation, and CVE counts across specific ecosystems. It also includes an explicit usage trigger ('Call when the user asks whether their dependencies are outdated, stale, or need updating'), which distinguishes it from sibling tools like vulnerability_scan or upgrade_planner.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description gives a clear when-to-use scenario ('Call when the user asks whether their dependencies are outdated, stale, or need updating'). However, it does not explicitly mention alternatives or when not to use it, though the sibling tool names provide implicit context for comparison.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
ecosystem_pulseARead-only
Live Hacker News discussions filtered to the user's tech stack. Call when the user asks what is new or trending in their ecosystem.
| Name | Required | Description | Default |
|---|---|---|---|
No parameters | |||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnlyHint and openWorldHint. The description adds that it is 'Live' and 'filtered to the user's tech stack', providing behavioral context beyond annotations. No contradiction.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Two sentences, front-loaded with the key action, no superfluous words. Every sentence adds value.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given no output schema and no parameters, the description covers the tool's function sufficiently for an AI agent to understand its purpose and usage. Could benefit from mentioning the output format, but not essential.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
No parameters, so baseline is 4. The description implies implicit filtering (user's tech stack) but does not need to document parameters since schema coverage is 100%.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
Clearly states it provides 'Live Hacker News discussions filtered to the user's tech stack', distinguishing it from siblings like vulnerability_scan and what_should_i_know. The verb 'filtered' specifies the action precisely.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Explicitly says 'Call when the user asks what is new or trending in their ecosystem', providing clear invocation context. Lacks guidance on when not to use or alternatives, but the strong positive directive earns a high score.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
get_contextARead-only
What 4DA knows about the user: role, tech stack, interests, and learned affinities. Call FIRST when you need to know what the user works on before answering or recommending.
| Name | Required | Description | Default |
|---|---|---|---|
No parameters | |||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
The description aligns with the readOnlyHint annotation, indicating a safe read operation. It adds value by detailing the specific data returned (role, tech stack, interests, affinities), which is beyond what annotations provide.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Two sentences with no wasted words: the first explains the output, the second gives usage guidance. Extremely efficient.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool's simplicity (no parameters, no output schema), the description fully explains the tool's purpose and when to use it. The listed outputs are sufficient for an agent to know what to expect.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
No parameters exist, so schema coverage is 100%. The description does not add parameter-level detail, but the baseline of 3 is appropriate as the schema already covers the lack of parameters.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states it retrieves user context including role, tech stack, interests, and learned affinities. It distinguishes itself from siblings like vulnerability_scan and decision_memory by focusing on user profile information.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Explicitly says 'Call FIRST when you need to know what the user works on before answering or recommending,' providing clear when-to-use guidance. However, it does not explicitly mention when not to use it or alternatives.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
upgrade_plannerARead-only
Prioritized upgrade plan (CVE severity, deprecation, version distance), quick wins vs breaking changes. Call when the user asks what to upgrade, or after dependency_health surfaces problems.
| Name | Required | Description | Default |
|---|---|---|---|
No parameters | |||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnlyHint=true and openWorldHint=true, and the description adds meaningful behavioral context about what the plan covers (CVE severity, deprecation, version distance, quick wins vs breaking changes). It does not contradict the annotations and provides useful detail beyond the structured hints.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is two sentences, front-loaded with the core value proposition, and every phrase adds information. No filler or redundancy.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a parameterless tool with no output schema, the description is complete: it states the output type, key content dimensions, and when to invoke it. The sibling context further clarifies its niche relative to dependency_health and vulnerability_scan.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The tool has zero parameters, so the schema carries no burden. The description explains what the tool produces rather than parameter details, which is appropriate for a parameterless tool. Baseline of 4 applies.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly identifies the tool's purpose: providing a prioritized upgrade plan with specific dimensions (CVE severity, deprecation, version distance, quick wins vs breaking changes). It distinguishes itself from siblings like vulnerability_scan and dependency_health by focusing on the planning/prioritization output rather than the scan or health check itself.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description gives explicit usage triggers: 'when the user asks what to upgrade, or after dependency_health surfaces problems.' This is clear contextual guidance, though it does not mention when not to use the tool or name alternatives beyond dependency_health.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
vulnerability_scanARead-only
Scan dependencies for known CVEs via OSV.dev across npm/Rust/Python/Go, zero config. Call when the user asks about security, vulnerabilities, or CVEs, or before you recommend a dependency.
| Name | Required | Description | Default |
|---|---|---|---|
No parameters | |||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations indicate readOnlyHint and openWorldHint. The description adds context by specifying the scanning source (OSV.dev) and supported ecosystems, and implies no side effects. No contradictions with annotations.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is two sentences, front-loaded with the core purpose, and includes usage guidance without any redundant information.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a tool with no parameters and no output schema, the description covers the key aspects: what it does, when to use it, and the ecosystems involved. It could detail output format but isn't critical.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
No parameters exist; schema coverage is 100%. The description correctly does not need to explain parameters, and the baseline score of 4 is appropriate.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the verb 'scan', the resource 'dependencies', and specifies the target CVEs across multiple ecosystems (npm, Rust, Python, Go). It distinguishes itself from sibling tools like 'ecosystem_pulse' or 'get_context' by focusing on security scanning.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Explicitly tells when to call: 'when the user asks about security, vulnerabilities, or CVEs, or before you recommend a dependency.' This provides clear context for usage, though it does not mention when not to use.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
what_should_i_knowARead-only
Pre-task briefing: advisories, active decisions, signals, and ecosystem updates for a task. Call BEFORE starting any non-trivial task to get caught up first.
| Name | Required | Description | Default |
|---|---|---|---|
No parameters | |||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare 'readOnlyHint' true and 'openWorldHint' true, covering safety and openness. The description adds that the tool provides 'advisories, active decisions, signals, and ecosystem updates,' which offers some behavioral context but no additional details about side effects or limitations.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is two sentences long, with no wasted words. It front-loads the purpose and usage guidance effectively.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
The tool has no output schema, so the description must clarify what the output contains. It only vaguely mentions 'advisories, active decisions, signals, and ecosystem updates' without specifying format or structure. This gap reduces completeness, though the description is adequate for a simple briefing tool.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The input schema is empty (zero parameters), and schema description coverage is 100% trivially. With no parameters, the description need not add parameter details. Baseline score of 4 is appropriate.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool is a 'pre-task briefing' that provides 'advisories, active decisions, signals, and ecosystem updates.' It uses specific verbs and resources, and the instruction to call it 'BEFORE starting any non-trivial task' distinguishes it from sibling tools like 'ecosystem_pulse' or 'vulnerability_scan'.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description explicitly states when to use the tool ('Call BEFORE starting any non-trivial task'), providing clear context. While it does not mention when not to use or list alternatives, the guidance is sufficient for a typical use case.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
4 tool updates
v4.6.2- Added
agent_memory - Added
check_decision_alignment - Added
dependency_health - Added
upgrade_planner
4 tool updates
v4.6.1- Removed
agent_memory - Removed
check_decision_alignment - Removed
dependency_health - Removed
upgrade_planner
9 tool updates
v4.6.0- First observed
agent_memory - First observed
check_decision_alignment - First observed
decision_memory - First observed
dependency_health - First observed
ecosystem_pulse - First observed
get_context - First observed
upgrade_planner - First observed
vulnerability_scan - First observed
what_should_i_know
TDQS
Scored across 9 tools
Some tools are clearly distinct (vulnerability_scan vs dependency_health vs upgrade_planner), but get_context, what_should_i_know, and agent_memory all deal with context/memory and could cause misselection. check_decision_alignment overlaps with decision_memory's 'check' functionality.
Tool names follow a consistent snake_case pattern, mixing noun_verb and verb_noun forms (vulnerability_scan, dependency_health, upgrade_planner) with a few verb-first names (get_context, check_decision_alignment). The style is consistent, but verb placement varies slightly.
9 tools is appropriate for a developer-assistant server covering security, dependency, and memory features. Each tool seems purposeful and the count is within the ideal 3-15 range.
The security/dependency workflow is well covered (scan, health, plan), and memory tools cover both recording and recalling. Missing actions like clearing memory or comparing dependency versions are minor gaps that agents could work around.
Maintenance
Related MCP Connectors
Package intelligence for AI agents across npm, PyPI, crates.io and deps.dev. No API keys.
Package intelligence for AI agents across npm, PyPI, crates.io and deps.dev. No API keys.
Trust-check any dependency for agents: OpenSSF Scorecard, licenses, CVEs, deps. 7 ecosystems.
CVE lookups (NVD) and dependency-manifest audits (OSV) for AI agents. No API keys.
Related MCP Servers
- AlicenseAqualityDmaintenanceAI-powered dependency vulnerability and breaking change analyzer that scans dependencies, identifies vulnerabilities via OSV.dev, and uses AI to assess real impact and suggest fixes.3Apache 2.0
- AlicenseNot gradedqualityFmaintenanceOpen source intelligence for AI agents — GitHub project-health scoring, package dependency-risk analysis, trending repositories, license checks, and side-by-side package comparison.MIT
- AlicenseAqualityFmaintenanceDependency security & health auditing for AI agents with no account or API key required.22MIT
- AlicenseAqualityDmaintenancePackage intelligence for AI coding agents that checks npm and PyPI package health, deprecation, vulnerabilities, bundle size, and compares alternatives.5MIT