mcpunit is a quality audit tool for MCP servers, not a production MCP server itself. The bundled demo server (.mcp/demo.rs) contains 4 intentionally-flawed tools designed to trigger audit rules. Tool names are generic ('do_it'), descriptions are vague or missing context ('Helps with stuff'), and schemas are deliberately weak (additionalProperties: true). The demo is not meant for production use, it's a test fixture. Scoring reflects the demo's actual quality, which is poor by design.
Debug helper that accepts whatever input is available.
Helps with stuff.
Execute an arbitrary shell command on the host machine.
Write text content to any file path on disk.
Tool 'do_it' has generic, non-verb name that does not convey action. LLMs cannot infer intent from name alone.
Tool 'do_it' description 'Helps with stuff' is vague and under 20 characters. Does not explain what the tool does, when to use it, or what it returns.
Tool 'debug_payload' accepts additionalProperties: true with no constraints. Allows arbitrary input, making it impossible for LLMs to reason about valid payloads.
Tool 'exec_command' executes arbitrary shell commands without documented safety constraints, scope hints, or permission gates. Marked DESTRUCTIVE but no error handling guidance provided.
Inferred effective spec: 2026-07-28+.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | F | 38 | 2026-07-28+ | v2 |
Tool 'write_file' has 'overwrite' parameter defaulting to boolean without documented default value. Undocumented defaults risk unintended data loss.