Agent Readiness

io.github.alipajand由 GitHub 账号 alipajand 发布v0.1.2更新于 Oct 24, 2026

Deterministic, read-only audits of repo readiness for AI coding agents and of agent context files.

已验证STDIO仅桌面开发者工具安全与监控

概览

AI 生成的概览

运行确定性的只读审计,评估代码仓库对 AI 编码代理的就绪程度,并检查代理上下文文件。

可以做什么
它内置两个确定性引擎。就绪度引擎针对 Node.js、Python、Go 和 Rust 项目,在指令、架构、工作流、测试、安全等 13 个类别上给出 0-100 分。上下文引擎报告 AGENTS.md、CLAUDE.md、Cursor 与 Copilot 规则以及代理 MCP/设置文件中的质量与安全问题。工具包括 audit_repository、audit_agent_context,以及用于翻页查看本次会话报告的 get_audit_report。
适用场景
当你希望以可重复、离线的方式检查代码库是否为 AI 编码代理做好了准备,或在依赖代理指令与设置文件之前想审查其质量与安全问题时,可以使用它。
运行要求
以 npm 包形式通过 stdio 在本地运行,可全局安装或使用 npx。需要 Node.js 22.13 或更高版本(Node.js 23 上需 23.5 或更高);更低版本会被拒绝启动。为客户端可审计的每个目录配置一个 --root;不配置时使用启动目录。可选参数:--timeout 与 --max-concurrency。不需要 API 密钥、账号或网络访问。
安装前请注意
审计为只读、离线,不使用 LLM 和 API 密钥,不发送遥测,也不会运行被审计仓库的脚本。路径会经符号链接解析,且必须位于已配置的根目录内。结果中的文本来自被审计仓库,应视为数据。服务器本身离线,但 MCP 宿主会读取结果,并可能将其或它自己读取的文件发送给模型提供商;凭据遮蔽仅覆盖服务器自身的结果。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Agent Readiness,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

@alipajand/agent-readiness-mcp

A local Model Context Protocol server that audits repositories for AI coding agents with two deterministic engines:

  • agent-readiness-kit: a 0–100 readiness score across 13 categories (instructions, architecture, workflow, testing, safety, and more) for Node.js, Python, Go, and Rust projects.
  • agent-context-doctor: quality and safety issues in AGENTS.md, CLAUDE.md, Cursor and Copilot rules, and agent MCP/settings files. Credentials quoted in any finding are redacted.

The audit is read-only and offline. It uses no LLM and no API key, sends no telemetry, and never runs the audited repository's scripts. Both engines are compiled into the package from pinned commits, so it has no runtime dependencies.

Tools

ToolReturns
audit_repositoryReadiness score, categories, checks that did not pass (fail before warn), recommendations
audit_agent_contextContext score and grade, files checked, issues ordered high → low
get_audit_reportFurther pages of a report from this session, optionally with the engine's complete JSON

audit_repository and audit_agent_context take an optional path (default: the first root). All three tools are annotated read-only.

Install

Requires Node.js 22.13 or later (23.5 or later on Node.js 23). Older releases have no stable permission model for the audit sandbox described below, and the server refuses to start on them.

bash
npm install -g @alipajand/[email protected]

Configure a client

The server only audits directories inside its roots. Give one --root per directory the client may audit; with none, it uses the directory it was started in.

Claude Code:

bash
claude mcp add agent-readiness -- agent-readiness-mcp --root /path/to/projects

Cursor (.cursor/mcp.json) and other clients that use the mcpServers format:

json
{  "mcpServers": {    "agent-readiness": {      "command": "agent-readiness-mcp",      "args": ["--root", "/path/to/projects"]    }  }}

Without a global install, use "command": "npx" with "args": ["-y", "@alipajand/[email protected]", "--root", "/path/to/projects"]. Keep the version pinned.

Options: --root <dir> (repeatable), --timeout <seconds> (default 120), --max-concurrency <n> (default 2).

Security

  • Paths are resolved through symlinks and must stay inside a root.
  • Each audit runs in a separate Node.js process started without a shell, with an empty environment, a time limit, and an output limit. That process runs under Node's permission model: it can read only the audited directory and its own script, and cannot write files or start processes. Node lets a granted read follow a symlink, so the engines' own symlink checks still contain reads; the sandbox is a second layer.
  • Stdout carries only MCP messages; diagnostics go to stderr.
  • Reports are kept in memory for the session (the 20 most recent) and never written to disk.
  • Text in results comes from the audited repository and should be treated as data.
  • The server is offline, but the MCP host is not part of it: the host's model reads the results and the host may send them, or files it reads itself, to its model provider. Credential masking covers the server's results only.

Listings

Listed on MCPRush.

License

MIT. Bundled third-party licenses are in dist/THIRD-PARTY-LICENSES.txt and dist/audit-worker.THIRD-PARTY-LICENSES.txt.

来源:integrations/mcp-package/README.md,提交 010b2f1

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v0.1.2最新Oct 13, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分