get_project
Project metadata (name, description, default branch). Optional project_id overrides the configured project.
| Parameter | Type | Required |
|---|---|---|
project_id | string | no |
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.
export_projectBulk-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.
| Parameter | Type | Required |
|---|---|---|
commit_id | string | no |
project_id | string | no |
validate_modelRun 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.
| Parameter | Type | Required |
|---|---|---|
commit_id | string | no |
project_id | string | no |
export_plantumlExport 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.
| Parameter | Type | Required |
|---|---|---|
commit_id | string | no |
project_id | string | no |
root | string | no |
create_projectCreate a project (name, optional description). The session stays bound to its configured project. PRO tier, requires a licence; applies immediately, no staging.
| Parameter | Type | Required |
|---|---|---|
name | string | yes |
description | string | no |
update_projectRename 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.
| Parameter | Type | Required |
|---|---|---|
project_id | string | no |
name | string | no |
description | string | no |
delete_projectDelete 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.
| Parameter | Type | Required |
|---|---|---|
project_id | string | yes |
confirm | boolean | yes |
list_projectsList projects visible to this API endpoint.
No parameters.
list_branchesList branches (id, name, head commit). Optional project_id overrides the configured project.
| Parameter | Type | Required |
|---|---|---|
project_id | string | no |
create_branchCreate a branch. head_commit_id defaults to the session branch head. PRO tier, requires a licence; applies immediately, no staging.
| Parameter | Type | Required |
|---|---|---|
name | string | yes |
head_commit_id | string | no |
delete_branchDelete 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.
| Parameter | Type | Required |
|---|---|---|
branch_id | string | yes |
confirm | boolean | yes |
merge_branchSquash-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.
| Parameter | Type | Required |
|---|---|---|
source_branch_id | string | yes |
target_branch_id | string | yes |
description | string | no |
confirm | boolean | yes |
set_branchRetarget this session at a branch: staged commits and default read head follow it. Refused while staged work exists.
| Parameter | Type | Required |
|---|---|---|
branch_id | string | yes |
list_tagsList tags (name, tagged commit). Optional project_id overrides the configured project.
| Parameter | Type | Required |
|---|---|---|
project_id | string | no |
create_tagTag a commit (checkpoint). commit_id defaults to the session branch head. PRO tier, requires a licence; applies immediately, no staging.
| Parameter | Type | Required |
|---|---|---|
name | string | yes |
commit_id | string | no |
pingMinimal liveness probe: confirms the endpoint is reachable.
No parameters.
statsReturn a snapshot of server metrics counters.
No parameters.