Alison Aquinas logoAlison's LLM Plugins

mcp-validation

Included in pluginshared-skillsView on GitHub ↗

Files

SKILL.mdagentsreferences

Install

Install the containing plugin
/plugin install shared-skills@llm-skills
Invoke this skill after installation
/shared-skills:mcp-validation
Download mcp-validation-skill.zip
This skill is bundled inside shared-skills. Install the plugin once, then Claude Code can use any of its included skills. Browse the full plugin repository at github.com/alisonaquinas/llm-shared-skills.

SKILL.md


name: mcp-validation description: > Quality and completeness validation phase for MCP server development. Use when scoring an MCP server against a quality rubric, evaluating tool discoverability, checking interface completeness, assessing error handling quality, reviewing documentation, validating safety properties, or determining if a server is ready for production use. Covers six quality dimensions scored as PASS, WARN, or FAIL with an overall APPROVE, REVISE, or REJECT verdict.

MCP Validation

Quality scoring against six dimensions before production use.

Intent Router

Load reference files on demand — only when the corresponding topic is active:

  • references/mcp-quality-rubric.md — Load to score each dimension; contains PASS/WARN/FAIL thresholds, examples, and fix recipes for M01–M06
  • references/validation-report-template.md — Load when producing the validation report

Quick Start — Quality Dimensions

IDDimensionFocus
M01DiscoverabilityTool names and descriptions enable correct client routing
M02Interface CompletenessAll planned tools/resources/prompts present and callable
M03Error HandlingGraceful degradation; proper JSON-RPC error responses; no crashes
M04DocumentationREADME present; tool descriptions complete; examples included
M05SafetyNo credential leakage; input validation; path traversal prevention
M06PerformanceConnection lifecycle managed; no resource leaks; prompt startup

Run mcp-verification before scoring — a server that fails the verification checklist cannot receive valid dimension scores.

Scoring Workflow

  1. Run the mcp-verification checklist — confirm all items PASS
  2. Load references/mcp-quality-rubric.md
  3. Score each dimension M01–M06 as PASS, WARN, or FAIL
  4. Document rationale for each score (1–2 sentences)
  5. Compute overall verdict using the thresholds below
  6. Load references/validation-report-template.md and write the report

Verdict Thresholds

VerdictCondition
APPROVE≥5 dimensions PASS; 0 dimensions FAIL; M05 Safety = PASS
REVISE3–4 PASS; 1–2 FAIL (fixable); resubmit after fixes
REJECT<3 PASS; or ≥3 FAIL; or M05 FAIL (safety block)

M05 (Safety) is a hard gate — a Safety FAIL always produces REJECT regardless of other dimension scores.

Common Failures

M01: Generic tool descriptions ("Process the input"), tool names that don't hint at their function. Fix: rewrite descriptions to state action, output, and domain clearly.

M03: Uncaught exceptions in handlers that crash the server or disconnect the transport. Fix: wrap all handler code in try/catch; return isError: true content.

M05: Path parameters passed directly to fs.readFile or open() without path.resolve() validation. Fix: use an allowed-directory check before any file system access.

Safety Notes

Score M05 with particular care — a server that exposes path traversal or shell injection vulnerabilities must not ship regardless of other scores. Load references/mcp-quality-rubric.md M05 section for specific fix recipes.

Resource Index

Reference FileLoad When
references/mcp-quality-rubric.mdScoring any dimension; fix recipes
references/validation-report-template.mdWriting the final validation report
← Back to marketplace