
Agentvet
io.github.MukundaKatta由 GitHub 账号 MukundaKatta 发布v0.1.0更新于 Oct 24, 2026
Validate tool-call args before execution. Returns LLM-friendly retry hints.
概览
让助手在执行前按形状规范校验 LLM 生成的工具调用参数,并生成重试提示。
- 可以做什么
- 提供 agentvet 库的三个工具:validate_tool_args 按一个简单的形状规范检查参数对象,返回是否有效、错误信息以及可直接发送的重试提示;lint_tool_definition 检查工具定义中的常见问题,例如名称不是 snake_case、缺少描述或没有必填字段;generate_retry_message 根据校验错误和尝试过的参数生成规范的、面向 LLM 的重试文本。
- 适用场景
- 适合在聊天中快速确认某个参数对象对某个工具是否有效、审查一批工具定义以提升 LLM 工具调用准确度,或在实时智能体循环之外准备重试反馈文本。若要在 Node 智能体循环内做运行时校验,则直接使用底层库。
- 运行要求
- 通过 stdio 在本地运行,通常用 npx 从 npm 包 @mukundakatta/agentvet-mcp 启动,因此需要 Node.js 以及拉取软件包的网络访问。未声明任何账号、API 密钥、环境变量或请求头。仅支持桌面端 MCP 客户端。
安装
在 SourceWeft 中
- 打开 控制台中的 Agentvet,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
agentvet-mcp
MCP server for @mukundakatta/agentvet. Lets Claude Desktop, Cursor, Cline, Windsurf, Zed, or any other MCP client validate LLM-generated tool-call args before execution and produce LLM-friendly retry messages when something's wrong.
Three tools:
validate_tool_args— check args against a small shape spec; returns{ valid, error?, retry_hint? }whereretry_hintis a ready-to-send LLM feedback message.lint_tool_definition— sanity-check a tool definition for common mistakes that hurt LLM tool-use accuracy.generate_retry_message— given a validation error, build the canonical LLM-facing retry message using agentvet'sToolArgError.toLLMFeedback()formatting.
Add to your client
Claude Desktop
Edit ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):
Same shape for Cursor (~/.cursor/mcp.json), Cline, Windsurf, Zed.
Tool examples
validate_tool_args:
Returns:
lint_tool_definition:
Returns warnings about non-snake_case name, missing description, missing field descriptions, and no required fields.
generate_retry_message:
Returns the canonical retry feedback string the runtime callers see — so you can prepare retry text outside the live agent loop.
Why a separate MCP server
@mukundakatta/agentvet is a zero-dependency JavaScript library. This MCP server makes its validation primitives accessible from any MCP-aware AI assistant. Useful for quickly auditing a registry of tools, or asking the assistant "is this args object valid for my send_email tool?" without leaving the chat.
For runtime arg validation in your agent loop, use @mukundakatta/agentvet directly inside your Node process (it wraps your tool fn and throws ToolArgError synchronously).
Sibling MCP servers
Part of the agent-stack series:
@mukundakatta/agentfit-mcp— Fit it.@mukundakatta/agentguard-mcp— Sandbox it.@mukundakatta/agentsnap-mcp— Test it.@mukundakatta/agentvet-mcp— Vet it. (this)@mukundakatta/agentcast-mcp— Validate it.
License
MIT
来源:README.md,提交 814875f
工具
0版本历史
1- v0.1.0最新Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分