Write .kern, compile to secure MCP servers (TypeScript + Python), auto-review with 13 OWASP MCP rules. Inline diagnostics, security scoring, quick fixes. Command injection, path traversal, missing auth, secrets exposure, prompt injection detection. Build + scan in one tool.
Single tool 'scan_mcp_server' has a reasonable name and description (89 chars), but critical gaps undermine quality. Input schema is present with two parameters (source, filePath), both with descriptions. However, the output schema is completely undocumented, no return type specification visible in the source. The tool description lacks actionable guidance on what the scan returns, when to use it, or how to interpret results. No error handling guidance provided. The tool appears to be a static analysis scanner, but the definition does not explain what vulnerabilities it detects, what the output structure is, or how an LLM should act on results. This is a read-only tool (no state modification), which is correct, but the definition quality is insufficient for reliable LLM integration.
Scan an MCP server source file for security vulnerabilities
Output schema completely undocumented. No return type, field names, or structure specified. LLM cannot plan downstream actions or extract results.
Tool description lacks context on what vulnerabilities are detected, what the output contains, or how to interpret results. Description is 89 chars but provides minimal actionable guidance.
No error handling guidance. What happens if source code is invalid, too large, or unsupported language? How should LLM recover?
Parameter 'filePath' description is minimal ('File path for language detection'). Does it accept absolute paths, relative paths, URIs? What formats are supported?
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | F | 47 | 2026-07-28+ | v2 |
No documentation of what OWASP MCP rules are checked, what severity levels exist, or how results are structured. LLM cannot reason about findings.