mcp-test-harness — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited mcp-test-harness (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
Build production-ready, fully automated integration test suites for MCP servers using STDIO transport. Tests run against live servers and validate real data.
| Server Language | Testing Stack | Reference |
|---|---|---|
| Python (FastMCP) | pytest + pytest-asyncio + FastMCP Client | Python Guide |
| TypeScript/Node | Vitest + @modelcontextprotocol/sdk | TypeScript Guide |
| Any language | MCP Inspector CLI (bash/PowerShell) | Inspector CLI |
These are integration tests, not unit tests:
Before writing tests, ask the user for:
Python/FastMCP (Recommended for Python servers):
Client(server) - no subprocess neededTypeScript/Vitest (Recommended for TS servers):
StdioClientTransportMCP Inspector CLI (Universal fallback):
Follow the test patterns in references/test-patterns.md:
tools/list# Python
pytest tests/ -v --tb=short
# TypeScript
npx vitest run
# Inspector CLI (any language)
npx @modelcontextprotocol/inspector --cli <server-command> --method tools/listWhen running commands in Claude Code on Windows:
| Unix Command | Windows Equivalent |
|---|---|
python3 | python |
pip3 | pip |
export VAR=value | set VAR=value (cmd) or $env:VAR="value" (PowerShell) |
./script.sh | bash script.sh (Git Bash) or native PowerShell |
which command | where command |
Path separators / | Use / in Python/Node, \ in native Windows commands |
For npx and npm commands, use them directly - they work cross-platform.
Python virtual environments on Windows:
# Create venv
python -m venv .venv
# Activate (PowerShell)
.venv\Scripts\Activate.ps1
# Activate (cmd)
.venv\Scripts\activate.bat
# Activate (Git Bash)
source .venv/Scripts/activateBefore considering tests complete:
tools/list have corresponding testsLoad these as needed during implementation:
Copy and customize these starter files:
assets/python/ - pyproject.toml snippet, conftest.py, test templateassets/typescript/ - vitest.config.ts, package.json snippet, test template~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.