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 分