mcp-check
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
IsoKron MCP check
Grades an MCP server's tools/list against the MCP specification 2026-07-28, the Claude (Anthropic) and ChatGPT (OpenAI) directory rules, hidden-instruction patterns, schema quality and write-surface design. Every finding has a stable check ID, the source rule quoted verbatim, and a fix.
One engine, four ways to run it:
Web | isokron.ai/mcp-check: paste a tool list; it is graded in your browser and never uploaded. |
CLI |
|
GitHub Action |
|
MCP server |
|
All four run the same file, engine/core.js, under the published rubric (rubric_version 2.2.0). It reads only the JSON it is given: no network access, nothing stored.
Command line
Requires Node.js 20 or later.
npx @isokron/mcp-check tools.json # grade a saved tools/list answer
npx @isokron/mcp-check tools.json --min-grade B # exit 1 if a gated section is below B
npx @isokron/mcp-check tools.json --format sarif -o mcp-check.sarif
cat tools.json | npx @isokron/mcp-check --stdin --format mdOr point it at a server, a client config, a repository or a registry entry. A server is sent initialize and tools/list (every page) and nothing else; no tool is ever called.
npx @isokron/mcp-check --url https://mcp.example.com/mcp --header "Authorization: Bearer $TOKEN"
npx @isokron/mcp-check -- npx -y @modelcontextprotocol/server-everything
npx @isokron/mcp-check --command "uvx mcp-server-time" --env TZ=UTC
npx @isokron/mcp-check --config auto # every server your MCP clients run
npx @isokron/mcp-check --config .vscode/mcp.json --server github --min-grade B
npx @isokron/mcp-check --repo github.com/owner/repo # reads the source, runs nothing
npx @isokron/mcp-check --repo-dir . # the same, from a local checkout (no network)
npx @isokron/mcp-check --registry io.github.owner/name --save tools.jsonInput | |
| A saved |
| A remote server over Streamable HTTP. Speaks both protocol eras: the 2026-07-28 stateless |
| A local server over stdio, started and stopped by the checker. |
| Every server in an MCP client config: Claude Desktop, Claude Code ( |
| A GitHub repository, read without running anything: committed tool lists and snapshots, MCPB manifests, tool literals, and TypeScript, Python, Go and Rust SDK registrations reproduced as the SDK lists them (tool names held in constants, imports and enums, tool factories and classes, Python decorators, registries and low-level |
| A folder on this machine, read the same way as |
| An MCP Registry entry: its public https remote, else its GitHub source. |
Every report of a fetched list carries a Source: line (and source in JSON). --save file keeps the fetched list for --compare or the web checker. capture -- <command> prints a stdio server's tools/list answer without grading it.
Option | |
| Output format (default |
| Exit 1 when a gated section grades below this. |
| Sections to gate: |
| Write the list with safe fixes applied: invisible characters stripped, root |
| Diff by SHA-256 definition hash; exit 1 when an annotation change lets a client run a tool with less confirmation (for example |
| With |
| One overall limit for reaching a server and listing its tools (default 60). |
| Write the report to a file. With a format other than |
| Print the version, or this list of inputs and options. |
Exit codes: 0 pass, 1 below --min-grade or a high-risk change, 2 bad input or usage, 3 a server could not be reached or listed, or the source gave no list to grade (no tool definitions, names only, or more than one server).
Related MCP server: agents-handoff
GitHub Action
Zero-config: with no inputs, the Action reads the tool definitions from your repository's code, the same way --repo-dir does, and runs nothing.
# .github/workflows/mcp-check.yml
name: MCP check
on:
push:
pull_request:
permissions:
contents: read
jobs:
mcp-check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
with:
persist-credentials: false
- uses: isokron-ai/mcp-check@v1Behaviour change in 1.1.1. With neither
commandnortools-file, a repository that gives nothing to grade (no tool definitions, names only, or more than one server) no longer fails the job: it ends with a warning, thepassedoutput is empty, and withpr-commenton the comment says "not graded on this run". If your workflow relied on that red job, setfail-on-no-tools: true.
The job summary says the list was read from source and that its grades are approximate: the reader reproduces what your SDK registrations would list, and can miss or misread tools. It never fails the job on grades unless you set min-grade (a gate on approximate grades is at your own risk). When the source gives nothing to grade (for example a Go, Rust or C# server, a manifest with names only, or a monorepo with several servers), the job ends with a warning and the fix, not red (fail-on-no-tools: true to fail it). For exact grades of the list your server sends, start it with command (or give a saved list with tools-file):
- uses: actions/setup-node@v7
with:
node-version: 22
- run: npm ci && npm run build
- uses: isokron-ai/mcp-check@v1
with:
command: node dist/index.js # or: tools-file: tools.json
min-grade: B
pr-comment: auto # needs permissions: pull-requests: writeThe job summary shows the grade table and the blocking and attention findings with their docs links. The reports (report.md, report.json, report.sarif, and the captured tools-list.json) are uploaded as an artifact. Set upload-sarif: true (with permissions: security-events: write) to send the findings to code scanning, and baseline: to a committed tool list to fail on rug-pull annotation changes. With pr-comment: auto the Action comments on a pull request (one comment, updated in place, never on pull requests from forks) when a gated section falls below min-grade; always comments on every run. On a public repository the job summary ends with a link to get the server listed in the IsoKron MCP registry (beta) for free (publish-hint: false to leave it out; no request is made).
README badge
With badge: true the Action writes a shields.io endpoint file, .github/mcp-check/badge.json, and the full report.md beside it, and commits both on runs of the default branch when the grades or the tool list changed. The badge is served from your own repository; nothing is stored by IsoKron.
permissions:
contents: write
# ...
- uses: isokron-ai/mcp-check@v1
with:
command: node dist/index.js
badge: true[](https://github.com/OWNER/REPO/blob/main/.github/mcp-check/report.md)The badge reads, for example, MCP check | Claude A · ChatGPT A · spec A. The job summary prints the snippet with your owner, repository and branch filled in. badge.json also records the grades of every section, rubric_version, the date the grades were recorded, the catalog hash, the commit and the workflow run.
All inputs, outputs, permissions and security notes: docs/github-action.md.
MCP server
Three read-only tools for agents that build or review MCP servers. The server speaks MCP over stdio.
Claude Code
claude mcp add mcp-check -- npx -y @isokron/mcp-check serveClaude Desktop (claude_desktop_config.json), Cursor (.cursor/mcp.json) and other clients:
{
"mcpServers": {
"mcp-check": { "command": "npx", "args": ["-y", "@isokron/mcp-check", "serve"] }
}
}Tool | What it does |
| Grades a |
| Documentation for one check ID: severity, the source rule quoted verbatim, what it means, how to fix it, an example. |
| Diffs two |
Every tool declares an outputSchema and returns structuredContent plus a short text summary. Annotations on all three: readOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: false. Each list may be up to 2 MiB of JSON, 64 levels of nesting and 2,000 tools (the same limits apply in the CLI and the Action); larger inputs get an error naming the limit before anything is parsed. The server is also published to the MCP Registry as io.github.isokron-ai/mcp-check.
Graded by itself
Output of npm run dogfood, which lists this server's own tools over MCP and grades them (npm test fails if this section goes stale):
Section | Grade | Score | Blocking | Attention | Advice | Note |
MCP spec 2026-07-28 | A | 100 | 0 | 0 | 0 | |
Anthropic directory | A | 100 | 0 | 0 | 0 | |
OpenAI directory | A | 100 | 0 | 0 | 0 | |
Poisoning and hidden text | A | 100 | 0 | 0 | 0 | |
Schema and description quality | A | 100 | 0 | 0 | 0 | |
Write-surface design | no grade | Advice only, not graded. Every tool declares readOnlyHint: true or is named as a read, so there is no write surface. |
Rubric 2.2.0, 3 tools, catalog hash 3b6986dcdac856b5a8baaf4836be4c726f8076da7bca547fe4e186931cf02919.
What it checks
Section | Graded against |
MCP spec 2026-07-28 | The rules a tool list can decide: tool shape, |
Anthropic directory | The connector pre-submission checklist: |
OpenAI directory | The plugin guidelines: |
Poisoning and hidden text | Every string and key of every tool: Unicode tag characters (hidden text decoded), bidi controls, zero-width and control characters, look-alike letters, HTML comments, prompt markup, instruction phrases, cross-tool steering, encoded blocks, outside instructions, secret seeking. |
Schema and description quality | Argument descriptions, enums, |
Write-surface design | Guard coverage, not a grade: how many of the guards the write tools could offer they do offer (retry keys on creates, preconditions on updates and deletes, dry-run or confirm on deletes), plus advice on full replacements and bulk deletes. Below 3 guard opportunities it says there is not enough to judge. Left out of the text report's grade lines, badges and PR comments. |
Grades run A to F per graded section, from severity-weighted deductions with published bands and caps; the directory sections also carry a separate "ready" flag (no blocking item). The full method is in RUBRIC.md, and each check has a page at https://isokron.ai/mcp-check/checks/<id>.
Annotations are hints a client may rely on, not enforcement. A grade reports what the list declares; it does not test what the server does when a tool is called. For that, see the MCP Write-Safety Requirements and the mcp-writecheck Action.
Library
import { analyse, parseInput, toMarkdown } from '@isokron/mcp-check';
const report = analyse(parseInput(jsonText));
console.log(report.sections.anthropic.grade, report.rubric_version);CommonJS: const M = require('@isokron/mcp-check') loads the same engine. Also exported: @isokron/mcp-check/capture (read tools/list from a stdio server), /tools (the MCP tool handlers as plain functions), /report (SARIF locations, job-summary Markdown, badge file) and /server (createServer()).
Versions
The package follows semantic versioning. The rubric has its own version, rubric_version, carried in every report, export and badge: a change to a weight, band, cap or severity bumps it, and grades from different rubric versions are not comparable. Release notes: CHANGELOG.md.
Privacy
The CLI, the library, the Action and the MCP server run on your machine or runner. They read the JSON they are given, or fetch the tool list themselves from the server, repository or registry you name (directly, from your machine: GitHub, jsDelivr or the MCP Registry for --repo and --registry; --repo-dir and the zero-config Action read local files only). Nothing is sent to IsoKron. The Action keeps its results on GitHub, in your repository and run: it uploads the reports as a workflow artifact, uploads SARIF to code scanning when upload-sarif is on, commits the badge files when badge is on, and writes a pull-request comment when pr-comment is on. The docs URLs in findings are links for you to open. Links to isokron.ai that the tools print (in --help and the text report, the job summary, the PR comment, SARIF help links, the badge's report.md and the MCP server's websiteUrl) carry a fixed channel tag, for example utm_source=mcp-check-cli&utm_medium=cli, so the site can count visits per channel. The tag names the place the link was printed and nothing about you, your server or the run; the docs values in JSON reports and in the MCP server's tool results carry no tag.
Development
npm ci
npm test # engine checks, catalogs, CLI, capture, MCP server over stdio, Action script, corpus grader
npm run dogfood # grade this server's own tools/list
npm run vendor:verify # engine/ matches engine/VENDORED.jsonThe engine is the same file as the web checker; engine/VENDORED.json records its SHA-256. See CONTRIBUTING.md (contributions are accepted under the DCO) and SECURITY.md.
Licence
MIT, Copyright (c) 2026 Stormhaven Enterprises LLC / IsoKron, Joshua Bryan. Third-party notices: NOTICE.
Built by IsoKron, which audits and builds write-safe MCP servers.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
One MCP server for all your MCP servers: code mode, per-tool permissions, approvals and audit.
Audit, pin and diff agent tool lists; preflight and watch remote MCP servers. Free tier; x402.
Evidence-readiness MCP server: validate, audit, and score briefs, memos, and evidence packs.
The MCP server that vets MCP servers: identity, risk grade and per-tool risk before you install.
Related MCP Servers
- AlicenseNot gradedqualityBmaintenanceEnables coding agents to preflight MCP server submissions against store rejection causes, publish where automation is allowed, prepare form-based store submissions, and detect listing drift.61 npm3MIT
- AlicenseNot gradedqualityCmaintenanceMCP tools that let a coding agent assemble, validate and store a structured handoff document describing a change just finished, then let a receiving agent read that handoff narrowed to its own repository's required actions.MIT
- FlicenseNot gradedqualityAmaintenanceEnables MCP-enabled editors and agents to run structured thesis–antithesis–synthesis analysis and player–coach verified coding loops, with tools for independent verification and session persistence.-
- AlicenseAqualityBmaintenanceEnables agents to discover, search, compare, and inspect tested MCP tools by problem or keyword, with certification verdicts, scorecard summaries, certified scope, and explicit not-tested details.659 PyPIMIT