Sync MCP v2 docs, neighbors edge_types validation, venv cursor rule#54
Conversation
Co-authored-by: Cursor <cursoragent@cursor.com>
Review: PR #54 — Sync MCP v2 docs, neighbors edge_types validation, venv cursor ruleVerdict: Approved with notes Clean chore PR that wraps up the v2 series: docs/copy alignment, a real contract fix in Scope discipline (out-of-scope checks)
Plan / PR-description compliance
TestsPer-file delta vs master (post PR-V2-4 merge): Targeted neighbors regression run separately: The only failing test ( Manual evidence reproduced# 9 edge labels in instructions match runtime taxonomy
$ grep -oE "EXTENDS|IMPLEMENTS|INJECTS|DECLARES|DECLARES_CLIENT|CALLS|EXPOSES|HTTP_CALLS|ASYNC_CALLS" server.py | sort -u | wc -l
9 # ✅
# neighbors empty edge_types rejection (Python REPL)
>>> from mcp_v2 import neighbors_v2
>>> neighbors_v2("sym:x", direction="in", edge_types=[], graph=...)
pydantic_core._pydantic_core.ValidationError: 1 validation error for ...
# ✅ rejected before the try-block fallback could catch it as a generic ExceptionNotes that earned my trust
Observations (non-blocking)
Plan deltas neededNone. The propose doc / completed plan stayed accurate. Bonus catches
Ready to merge. Suggested PR-E1 carries forward:
|
…, schema descriptions Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Summary
user-ragCLI (perpropose/completed/MCP-API-V2-REDESIGN-PROPOSE.md).server.pyFastMCP_INSTRUCTIONSand toolFielddescriptions for weaker models.kuzu_queries.py(point touser-rag refresh).neighbors_v2now rejects emptyedge_typeswithValidationError(matches docs); addtest_neighbors_empty_edge_types_rejected..cursor/rules/python-venv-only.mdc(repo-relative.venvpaths).Testing
pytest tests(per request). Targeted neighbors tests were run during development.Re-index
Made with Cursor