io.github.CSOAI-ORG/meok-mcp-test-mcp
MEOK MCP Test MCP — golden-file + schema-drift + tool-failure tests for any MCP server. Drop-in
Versions
1.0.0latestTools 8
run_golden_diff Diff two structures. Returns matches=bool + unified diff if not.
validate_tool_schema Validate a single tool definition against MCP spec basics.
validate_server_json Validate the top-level server.json + walk every tool.
diff_server_json Structural diff old → new. Flags breaking changes (removed keys / type changes).
check_idempotency_static Given N samples of the same call's output, return whether they all match. Use this when you've already collected results client-side. For remote idempotency testing you'd call your tool N times then pass results here.
generate_test_template Return a minimal pytest template authors can drop into their MCP repo.
run_test_suite Run the full default suite against a static server.json + optional golden-file pairs + optional baseline server.json for drift check. `golden_pairs` is a list of { "name": str, "actual": ..., "expected": ... }.
sign_test_report HMAC-seal a test report so it can be used as a pre-publish badge.
Permissions 3
filesystem low env_vars low network medium