CLASSIFICATION: PUBLIC LICENCE: Proprietary DOC-ID: JGS-SYSMLV2-API-MCP REV 2.0.0

All 39 tools, generated from the live registry

This page lists every MCP tool jgs-sysmlv2-api-mcp registers, with its parameters and which ones are required. It is generated directly from build_server().tool_specs() by scripts/gen_tool_reference_html.py, the same registry that produces docs/TOOL-REFERENCE.md, so this page and the server can never drift apart. Full workflow walkthroughs live in docs/usage.md; this page is the parameter-level lookup.

§02 Export and validation

export_project

Bulk-export a project as a single JSON bundle (project metadata, commit metadata, all elements at a commit) for offline reasoning or backup. Aggregates data already readable one element at a time via get_project/get_commit/get_elements; it is not a new access boundary. commit_id defaults to the branch head.

ParameterTypeRequired
commit_idstringno
project_idstringno

validate_model

Run structural/referential validation over a commit's elements: duplicate @id, dangling source/target references, dangling ownedMemberElement/owningRelatedElement references, and containment cycles. Client-side checks only: no semantic/constraint/multiplicity validation. commit_id defaults to the branch head.

ParameterTypeRequired
commit_idstringno
project_idstringno

export_plantuml

Export a commit's elements as PlantUML text using a simplified, self-defined class-diagram convention (elements as classes, containment as composition, Subclassification/Specialization as generalization, other typed relationships as labelled associations). This is a simplified subset for quick visualization, not the full pilot %viz output. commit_id defaults to the branch head.

ParameterTypeRequired
commit_idstringno
project_idstringno
rootstringno

§03 Staged authoring writes

create_element

Stage creation of a new element under an owner (buffer-only). PRO tier, requires a licence.

ParameterTypeRequired
typestringyes
namestringyes
ownerstringyes

modify_element

Stage a modification to an existing element (buffer-only). PRO tier, requires a licence.

ParameterTypeRequired
element_idstringyes
changesobjectyes

delete_element

Stage deletion of a single element (buffer-only; refuses if it owns children). PRO tier, requires a licence.

ParameterTypeRequired
element_idstringyes

delete_subtree

Stage deletion of an element and its owned subtree (buffer-only). PRO tier, requires a licence.

ParameterTypeRequired
element_idstringyes

create_relationship

Stage a typed relationship (buffer-only). Sets explicit source/target plus the type's concrete end fields (Subclassification, Specialization, Subsetting, Redefinition, FeatureTyping, Dependency); other types take concrete ends via properties. PRO tier, requires a licence.

ParameterTypeRequired
typestringyes
sourcestringyes
targetstringyes
ownerstringno
propertiesobjectno

move_element

Stage a rehome of an element to a new owner (buffer-only; modifies its OwningMembership at the commit). commit_id defaults to the branch head. PRO tier, requires a licence.

ParameterTypeRequired
element_idstringyes
new_ownerstringyes
commit_idstringno

stage_batch

Stage many operations atomically (all-or-nothing, buffer-only). Ops: {op: create|relate|modify|delete, ...}; create ops accept a caller-minted element_id so later ops in the batch can reference it. PRO tier, requires a licence.

ParameterTypeRequired
operationsarrayyes

review_changes

Return the staged ops + a confirm token (must be reviewed before commit).

No parameters.

commit_changes

Commit the staged buffer; requires a fresh confirm token. PRO tier, requires a licence; applies immediately, no staging. If the POST response is lost after the request is sent, the server reconciles the branch head and returns one of three outcomes: landed (write applied; committed ops removed from the buffer; do not re-commit them), not_landed (nothing applied; re-review and commit again), or indeterminate (resolve the branch head later; expected_version is the head to look past).

ParameterTypeRequired
messagestringno
confirm_tokenstringyes

discard_changes

Discard the staged buffer without committing.

No parameters.

§04 Project lifecycle

create_project

Create a project (name, optional description). The session stays bound to its configured project. PRO tier, requires a licence; applies immediately, no staging.

ParameterTypeRequired
namestringyes
descriptionstringno

update_project

Rename or re-describe a project. project_id defaults to the configured project. Only provided fields change. PRO tier, requires a licence; applies immediately, no staging.

ParameterTypeRequired
project_idstringno
namestringno
descriptionstringno

delete_project

Delete a project (destructive; requires confirm: true). The session's configured project is refused; outcome is verified via the project list. PRO tier, requires a licence; applies immediately, no staging.

ParameterTypeRequired
project_idstringyes
confirmbooleanyes

list_projects

List projects visible to this API endpoint.

No parameters.

§05 Branch and tag versioning

list_branches

List branches (id, name, head commit). Optional project_id overrides the configured project.

ParameterTypeRequired
project_idstringno

create_branch

Create a branch. head_commit_id defaults to the session branch head. PRO tier, requires a licence; applies immediately, no staging.

ParameterTypeRequired
namestringyes
head_commit_idstringno

delete_branch

Delete a branch (destructive; requires confirm: true). Outcome is verified via the branch list; the default branch is refused. PRO tier, requires a licence; applies immediately, no staging.

ParameterTypeRequired
branch_idstringyes
confirmbooleanyes

merge_branch

Squash-merge a source branch onto a target branch as one commit (requires confirm: true). Refuses with conflicting element ids if both branches changed the same element. PRO tier, requires a licence; applies immediately, no staging.

ParameterTypeRequired
source_branch_idstringyes
target_branch_idstringyes
descriptionstringno
confirmbooleanyes

set_branch

Retarget this session at a branch: staged commits and default read head follow it. Refused while staged work exists.

ParameterTypeRequired
branch_idstringyes

list_tags

List tags (name, tagged commit). Optional project_id overrides the configured project.

ParameterTypeRequired
project_idstringno

create_tag

Tag a commit (checkpoint). commit_id defaults to the session branch head. PRO tier, requires a licence; applies immediately, no staging.

ParameterTypeRequired
namestringyes
commit_idstringno

§06 Infrastructure

ping

Minimal liveness probe: confirms the endpoint is reachable.

No parameters.

stats

Return a snapshot of server metrics counters.

No parameters.