mcpready-core
v0.1.1
Published
The rule engine behind the mcpready CLI: probe an MCP server over stdio or Streamable HTTP and build a graded, spec-cited readiness report.
Maintainers
Readme
mcpready-core
The rule engine behind the mcpready
CLI. Probes an MCP server over stdio or Streamable HTTP, runs the
version-aware rule sets, and builds a graded report where every finding cites
the exact spec clause it checks. No CLI, no framework.
Usage
import { probeHttp, buildReport } from "mcpready-core";
const report = buildReport(await probeHttp("https://mcp.example.com/mcp"));
console.log(report.score.grade);
for (const finding of report.findings) {
console.log(finding.id, finding.status, finding.basis.url);
}Also exported: probeStdio for stdio servers, runRules / ALL_RULES for the
rule registry, score for grading, validateServerJson for registry-schema
validation, diffReports for drift detection, draftServerCard, and the
Claude/OpenAI directory pre-flight (buildPreflightReport,
ALL_PREFLIGHT_RULES). Renderers for TTY and GitHub job summaries ship as
renderReport / renderGithubSummary.
License
MIT
