Ottorev — Review MCP Server

v0.3.0
io.github.ottonic/review-mcp-server Checked 6 hours ago Published 1 month ago

Durable review context for CAD: entity names, notes, tags, and revision-bound decisions.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

remember Remember a Review

Save a durable review about geometry: a semantic feature (give it a name, e.g. 'mounting holes') or a plain note (no name). Re-remembering a named feature REPLACES it (use this to correct the AI). Re-remembering the same entities without a name APPENDS facts. The more you save, the more the system understands the part across sessions.

ParameterTypeDescription
artifact *object
entities *arrayGeometry this review refers to, e.g. ['face:26','face:27'] or component-scoped ['component:wheel-axle/face:0']. IDs come from a Geometry find_entities result.
entity_id_scheme *stringID scheme the entity IDs come from, as reported by the producer, e.g. 'occt-topology-v1' for Geometry. IDs are meaningless across schemes.
namestringOptional feature name (a semantic, reusable label). Provide it when this is a named group like 'mounting holes' or 'bottom face'; omit for a plain note.
notestringProse about the geometry. What does it do, what did we decide, what should we remember?
tagsarraySearchable tags (without '#'), e.g. ['holes','mount'].

recall Recall Reviews

Retrieve saved reviews for a STEP file, optionally filtered by an entity, free-text search, or tags. Pass the current ArtifactRef from Geometry inspect; its revision is used to mark each returned record stale or current. Each record returns one artifact reference, its entity IDs and the ID scheme; use these together when handing an annotation to another tool. An entity filter matches only reviews written against the supplied revision, because a face ID denotes different geometry in a different revision; text and tag filters are not scoped that way. Use early in a conversation to restore persis…

ParameterTypeDescription
artifact *object
entity_idstringIf set, only return reviews that include this entity (e.g. 'face:2' or a component-scoped 'component:wheel-axle/face:0').
limitintegerMax reviews. Default 100.
offsetintegerSkip N reviews for pagination.
searchstringFree-text match across feature names and note bodies (case-insensitive).
tagsarrayOnly return reviews carrying all these tags (without '#').

forget Forget a Review

Delete a saved record. Pass the feature name to remove a named feature, an entity id to remove the anonymous notes attached to that entity, or a subject to remove a decision. Idempotent. Use only when the user explicitly asks to remove it.

ParameterTypeDescription
artifact *object
entity_idstringEntity whose anonymous notes to remove (when not named).
namestringFeature name to remove (when a named feature).
subjectstringSubject of the decision to remove (when forgetting a decision).

remember_decision Remember a Decision

Save the disposition reached about an artifact revision, with the basis it rests on: a list of requirement-checks, each saying where its requirement came from and what happened when it was checked. Re-remembering the same subject on the same artifact revision REPLACES that decision, which is how a decision is revised as the engineer answers questions or disagrees with a line. A different subject starts a separate decision, because one part can carry several at once. Record each engineer verdict when they have given one: a requirement the engineer accepted is a different thing from one that was…

ParameterTypeDescription
artifact *object
basis *arrayThe requirement-checks the recommendation rests on.
confidence *stringHow much weight the evidence carries.
recommendation *stringThe disposition, stated as a decision rather than a summary of the conversation.
subject *stringWhat is being decided, in the engineer's words. Part of the record key: reuse the same subject to revise this decision, or a new subject starts a separate one.
statusstringSet 'confirmed' only once the engineer has accepted the disposition itself.
supersedesstringRevision whose decision for this subject this one replaces, when a part was revised.

recall_decisions Recall Decisions

Retrieve decisions saved for an artifact, newest first, each marked stale when it was made against a different revision than the one supplied. Pass the current ArtifactRef from Geometry inspect. Filter by subject text, status, or an entity that appears in the basis. An entity filter matches only decisions made against the supplied revision, because a face ID is scoped to the revision that produced it: a decision about face:3 in an older revision is not a decision about face:3 now. Use this when a revision reappears, to recover what was already concluded instead of reaching it again.

ParameterTypeDescription
artifact *object
entity_idstringOnly decisions whose basis names this face, within the supplied revision. A face ID from another revision denotes different geometry, so it is not matched.
limitintegerMax decisions. Default 100.
offsetintegerSkip N decisions for pagination.
statusstringOnly decisions in this state.
subjectstringOnly decisions whose subject contains this text, case-insensitive.