← Files Build MCP Apps & AgentsARCHIVED FILE

references/testing.md

1.06 KB · Nov 3, 2026 · 00:15 UTC

↓ Download file

# Evidence-based MCP tests

| Layer | Evidence expected |
|---|---|
| Build | dependency install, typecheck, build, unit test command output |
| MCP | initialize, capabilities, tools/list, tools/call and resources/read (where relevant) |
| Contracts | valid/invalid schemas, empty data, pagination, timeout, error envelope |
| Security | forbidden object/tenant, bad auth/scope, unauthorized write, input abuse |
| UI | resource URI + MIME, host bridge, real tool calls, keyboard/focus, responsive/empty/loading/error |
| Compatibility | tool-only fallback for host without UI and known client versions |
| Release | real endpoint reachability only if publishing, rollback notes, no secret logs |

**Status**: PASS = actual observed result; FAIL = actual observed defect; NOT RUN = not attempted; BLOCKED = environmental requirement missing. Code review, static lint, mocked screenshots and hypothetical tests must not be labeled PASS for end-to-end functionality.

Write a report based on `templates/evidence-report.md`. MCP Inspector: https://github.com/modelcontextprotocol/inspector

SHA-256: 6340fba1020bd80dfd208e6d921e6aca5538f6544b43e842da4671794e7b2fa8