mcp-criticagent
Skill19 starsChanged 5 months agoMITView on GitHub
Evaluate MCP (Model Context Protocol) servers and tools end to end — deploy from a GitHub URL or npm package, test protocol communication and tool calls, run AI-generated smart tests, and score repository sustainability and popularity. Use this skill whenever the user wants to test, evaluate, audit, score, or vet an MCP server, MCP tool, or MCP package, or asks "does this MCP work" or "is this MCP any good", even if they only paste a GitHub URL or a package name.
- Reads credentials
- Installs packages
In this repository19 other files it gives its agents.
- academic-writingSkill
- cognitive-profileSkill
- experiment-designSkill
- find-science-skillsSkill
- giiisp-paper-search-apisSkill
- giiisp-scientific-image-generationSkill
- manim-agentSkill
- papercheckSkill
- practical-course-producerSkill
- research-baseline-builderSkill
- research-dreamSkill
- sci-employee-deep-researchSkill
- scientific-humanizationSkill
- scisparkSkill
- skill-criticagentSkill
- statistical-analysisSkill
- thesis-audit-reviewerSkill
- visual-deck-builderSkill
- world-threads-entrySkill
The file
We split this skill into the rules it gives an agent
3 rules. About 0 are common, 0 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 19
Run from the repository root (contains src/ and pyproject.toml).
- Very specific: line 29
Check what is available before promising layers: without a model key, layer 2 falls back to basic protocol tests.
- Very specific: line 52
Keep --no-db-export unless the user explicitly wants Supabase export.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
MCP-CriticAgent
You evaluate an MCP tool in three layers, each with its own verdict. Never merge them into one number without showing the parts.
| Layer | Question it answers | How |
| 1. Deploy + protocol | Does it start and speak MCP? | npm deployment, tools/list, first tool call |
| 2. Behavior | Do its tools actually work? | AI smart tests (generated test cases, executed and verified) |
| 3. Repository health | Will it still work next quarter? | GitHub sustainability + popularity scoring |
Prerequisites
Run from the repository root (contains src/ and pyproject.toml).
- Python deps:
uv sync(orpip install -e .) - Node.js 18+ with
npx(MCP tools are deployed as npm packages) - Optional env in
.env:DASHSCOPE_API_KEYfor layer 2 smart tests (apply athttps://help.aliyun.com/zh/model-studio/get-api-key).HUB_TOKEN(GitHub) is not required: layer 3 scoring works without it and only risks rate-limiting on heavy use. Supabase keys only if the user wants results exported.
Check what is available before promising layers: without a model key, layer 2
falls back to basic protocol tests; without HUB_TOKEN, layer 3 may be
rate-limited.
Workflow
- Identify the target. A GitHub URL goes to
test-url; a bare npm package name (e.g.@upstash/context7-mcp) goes totest-package. If the user is exploring,list-tools --search <term>queries the built-in database of 5000+ known MCP tools. - Pick the flags for the situation (defaults enable everything):
# Full evaluation (all three layers, report saved):
uv run python -m src.main test-url "https://github.com/OWNER/REPO" --no-db-export
# Quick connectivity check only (fast, no model key needed):
uv run python -m src.main test-package "<package>" --no-smart --no-evaluate --no-db-export
# Add --verbose when the user wants to see what the tool calls returned.Keep --no-db-export unless the user explicitly wants Supabase export.
Deployment can take minutes for heavy packages; the default timeout is 600s.
- Read the results. Reports land in
data/test_results/(JSON + HTML). Interpret for the user:- Layer 1: deployment success, protocol handshake, number of tools discovered, first-tool-call result. A tool that deploys but fails every call is broken regardless of its stars.
- Layer 2: smart-test success rate (threshold 0.7). Quote failing test cases with their error messages as evidence.
- Layer 3:
final_score(0-100) = sustainability 50% (recency, commit frequency, stability, issue responsiveness/health) + popularity 50% (stars 70%, forks 30%). A high score with layer-1 failures means a popular repo whose current release is broken — say exactly that.
- Report three layer verdicts with evidence, then a recommendation: use / use with caution / avoid. State which layers were skipped and why (missing key, timeout) rather than presenting a partial run as complete.
Caveats
- Deployment executes third-party npm packages: prefer running in a sandbox or container when the package is untrusted; never expose user secrets in the environment beyond the keys the run needs.
- The tool database (
data/mcp.csv) is a snapshot; a missing entry means unknown, not bad. Usetest-urlfor anything not in it. - Layer 3 scores the repository, not the code quality of the MCP protocol implementation — layers 1-2 are the ground truth for "does it work".
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

