Capstone — Rubric (objective self-assessment)
MCP Engineering course · M5
The printable rubric for lesson L17. Each criterion is judged only by the automated self-check (./run.sh check); a person's opinion plays no part. The check prints this table at the end of every run.
What changed in V2: the earlier rubric used four levels (Insufficient / Good / Excellent) judged by a reader, placed Origin validation only under "Excellent", and contradicted the OAuth material on whether remote servers need auth. V2 uses eight binary, machine-checked criteria, puts transport security and exact pins in the baseline, and keeps OAuth as a separate, optional track.
How a status is decided
| Status | Rule |
|---|---|
| Demonstrated | Every check mapped to the criterion ran and passed |
| Needs repair | At least one mapped check ran and failed |
| Not observed | No mapped check reached a verdict: it was skipped (for example, no LAN address or no uv on PATH) or the self-check was not run |
There is no score, grade or pass mark. "Demonstrated" means the observable behaviour was present in this run on this machine. It is not an accredited assessment of competence, and it does not assess code quality or security judgement beyond the listed behaviours.
Criteria
| ID | Criterion | Course outcome (V2 lesson) | Self-check tests (selfcheck/test_capstone.py) |
|---|---|---|---|
| C1 | Runs and is discoverable by a 2026-07-28 client and a legacy (2025-11-25) client | Discovery and interoperability (L06, L07, L12); official Python SDK 2.x (L08) | test_modern_client_negotiates_2026_07_28, test_legacy_client_still_works |
| C2 | Exactly three tools, each with a description, a constrained inputSchema and an outputSchema | Server primitives, outputSchema/structuredContent (L04); tool design (L15) | test_exactly_three_named_tools, test_every_tool_has_description_and_output_schema, test_input_schemas_carry_constraints |
| C3 | Correct behaviour on valid input: structured results and a visible state change | Server primitives (L04); designed tools over a data source (L11) | test_list_plants_structured_and_filtered, test_get_plant_returns_the_plant, test_log_watering_changes_state |
| C4 | Errors come back as isError results: unknown id, schema-invalid input, refused action | isError versus protocol errors (L04); error diagnosis (L09) | test_unknown_plant_is_an_error_result, test_invalid_input_rejected, test_dormant_plant_refused |
| C5 | Annotations separate read-only tools from the state-changing one | Annotations as untrusted hints supporting host consent (L03, L04, L14) | test_annotations |
| C6 | The resource garden://care-guide is listed and readable | Server primitives: resources (L04) | test_resource_listed_and_readable |
| C7 | Loopback binding; a foreign Origin gets 403 and a foreign Host gets 421 | Streamable HTTP security (L07); DNS rebinding (L14) | test_bound_to_loopback_only, test_foreign_origin_rejected, test_foreign_host_rejected |
| C8 | Exact pins, including mcp==2.3.0, and a current uv.lock | Pinned, reproducible environments (L02); supply chain (L14) | test_dependencies_pinned_exactly, test_lock_file_present_and_current |
Spec conformance (2026-07-28, server/discover) is part of C1; pinned dependencies are C8. Testing itself (L09) is demonstrated by running the self-check.
What "finished" looks like
- Every row reads Demonstrated, the run ends with
18 passed, and the last line before the count isSelf-assessment only: this is not an accredited assessment of competence. - C7 can show Not observed if your machine has no non-loopback IPv4 address, and C8 if
uvis not on PATH. That is not a failure, but it is not evidence either. - Connecting to a host is not machine-checked. Record it as Not observed unless you keep your own evidence (a screenshot or transcript).
Recorded evidence (2026-11-26, macOS arm64, Python 3.12.12, mcp 2.3.0)
| ID | Untouched starter | Reference solution |
|---|---|---|
| C1 | Demonstrated (2/2) | Demonstrated |
| C2 | Needs repair (0/3) | Demonstrated |
| C3 | Needs repair (1/3) | Demonstrated |
| C4 | Needs repair (0/3) | Demonstrated |
| C5 | Needs repair (0/1) | Demonstrated |
| C6 | Needs repair (0/1) | Demonstrated |
| C7 | Needs repair (1/3) | Demonstrated |
| C8 | Needs repair (0/2) | Demonstrated |
| Total | 4 passed, 14 failed | 18 passed |
C1 passes on the starter because the SDK gives discovery for free; C3 passes 1 of 3 because list_plants is the worked example; C7 passes 1 of 3 because the starter already binds 127.0.0.1 but has Origin and Host protection switched off (TODO 6).
If a criterion needs repair
- Read the first failing assertion only, fix that, rerun. Many failures share one cause (a missing
log_wateringbreaks C2, C3 and C4 together). - Do not edit
selfcheck/. - C4 says input was not rejected by schema validation → the constraint is in your code instead of
Field(...). - C7 fails on Origin or Host → check
enable_dns_rebinding_protection=Trueand allow-lists containing only127.0.0.1:PORTandlocalhost:PORT. - No attempt limit, no deadline.
Outside this rubric
- Security review (L14 checklist): least privilege, untrusted output, no secrets in config or repo, reproducible pins. Not machine-checked; do it yourself.
- Optional remote track (OAuth): lab L13 has its own 49-check verifier (RFC 9728 metadata, 401 with
resource_metadata, issuer/audience/scope validation, PKCE S256,resource, no token passthrough). Run it as separate evidence. A server exposed beyond loopback that handles a user's data or actions must sit behind authorization; this rubric only covers the loopback contract.
Turning Point Academy · MCP Engineering course · Module 5 · Lesson 17 (L17) · V2, spec 2026-07-28