MEOK MCP Test MCP
A test harness for MCP servers that validates server JSON, tool schemas, performs golden file diffing and schema drift detection, and generates signed test reports with Shields.io badges.
README
MEOK MCP Test MCP
Drop-in golden-file + schema-drift + tool-failure test harness for ANY MCP server. Generates a pytest template, produces an HMAC-signed test report, prints a Shields.io grade badge for your README.
๐งช Part of the MEOK Governance Substrate (ยฃ499/mo) โ combine with
mcp-spec-compliance-mcp(spec audit) +meok-mcp-hardening-mcp(security red-team) for the full pre-publish gate.
Why this exists
Thousands of MCPs ship zero tests. MCP Inspector is debug-only. Anthropic Registry will probably enforce some baseline by Q4 2026. Every MCP author wants a green check before submitting.
This MCP gives you:
| Test | What it catches |
|---|---|
validate_server_json |
Missing name/version/description/repo |
validate_tool_schema |
Tool name not alphanumeric, description <5 or >1024 chars, invalid JSON Schema type |
diff_server_json |
Breaking changes (removed keys, type flips) |
run_golden_diff |
Snapshot drift |
check_idempotency_static |
Non-deterministic read-only tools |
generate_test_template |
Pytest scaffolding so authors can drop tests in CI |
run_test_suite |
The full default flow above as one call |
sign_test_report |
HMAC seal + Shields.io badge URL |
Quick start
pip install meok-mcp-test-mcp
# or
uvx meok-mcp-test-mcp
from server import run_test_suite, sign_test_report
report = run_test_suite(
server_json=my_server_json,
golden_pairs=[
{"name": "list_chains", "actual": actual_out, "expected": expected_out},
],
schema_drift_baseline=last_known_good_server_json,
)
sealed = sign_test_report(report)
print(sealed["badge_url"]) # paste in your README
Tools exposed
run_test_suite(server_json, golden_pairs?, schema_drift_baseline?)โ full default suitevalidate_server_json(server_json)โ structural validationvalidate_tool_schema(tool)โ single tool deep-checkdiff_server_json(old, new)โ structural diff with breaking-change flagrun_golden_diff(actual, expected)โ single snapshot checkcheck_idempotency_static(samples)โ given N samples, return whether all equalgenerate_test_template()โ pytest scaffoldingsign_test_report(report)โ HMAC-seal + Shields.io badge
Wire it up to your CI
# .github/workflows/mcp-test.yml
name: MEOK MCP Test
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with: { python-version: "3.11" }
- run: pip install meok-mcp-test-mcp
- run: python -m server # runs the included pytest scaffold
Scoring
- A โฅ 90% passed
- B โฅ 75%
- C โฅ 60%
- D โฅ 40%
- F otherwise
Verify any signed report
Paste any signed test report at https://meok.ai/verify โ the HMAC signature is checked against MEOK's public JWKS.
Pricing
- Self-host: free (MIT)
- Starter: ยฃ29/mo โ 1K test runs/mo + signed badge SLA
- Pro: ยฃ79/mo โ 10K runs/mo + custom badge + public dashboard
- Governance Substrate: ยฃ499/mo โ bundled with 10 governance MCPs
- A2A Substrate: ยฃ999/mo โ bundled with all 12 A2A MCPs
Companion MCPs
mcp-spec-compliance-mcpโ registry-spec conformity auditmeok-mcp-hardening-mcpโ OWASP LLM Top 10 + 5 MCP-specific risksmeok-mcp-cardgen-mcpโ generate.well-known/mcpcardsmeok-agents-md-lint-mcpโ AGENTS.md spec lint
Legal
Built by MEOK AI Labs โ trading name of CSOAI LTD, UK Companies House 16939677.
Founder: Nicholas Templeman (nicholas@meok.ai).
License: MIT.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.