Eclipse SysON SysML v2 bridge MCP server
  • TypeScript 98.8%
  • CSS 0.9%
  • JavaScript 0.2%
Find a file
Erwan Lee Pesle a341f90f2d
Some checks failed
docker.yml / Merge pull request #17 from vidimus-dev/feat/level2-code-mode-snippets (push) Failing after 0s
Verify and release / check (push) Waiting to run
Verify and release / release (push) Blocked by required conditions
Merge pull request #17 from vidimus-dev/feat/level2-code-mode-snippets
feat(code-mode): harmonize mcp-syson to Level-2 @mcpview/compose snippets
2026-12-05 17:51:46 +08:00
.github/workflows ci(docker): enable GHCR multi-arch builds via engineering-toolchain@v1 2026-12-05 15:38:56 +08:00
docs chore: release 0.9.2 2026-10-25 12:10:20 +08:00
scripts docs: one README capture per viewer, light and dark 2026-10-25 10:47:00 +08:00
src feat(code-mode): register Level-2 @mcpview/compose snippets and portSync events 2026-12-05 17:50:07 +08:00
tests feat(code-mode): register Level-2 @mcpview/compose snippets and portSync events 2026-12-05 17:50:07 +08:00
.dockerignore release: harden SysON provider delivery 0.8.1 2026-08-28 23:28:01 +08:00
.gitignore release: keep audited UI checkout clean 2026-08-31 23:55:22 +08:00
CHANGELOG.md chore: release 0.9.2 2026-10-25 12:10:20 +08:00
CITATION.cff chore: add CITATION.cff citation metadata 2026-08-08 10:04:50 +08:00
deno.json feat(code-mode): register Level-2 @mcpview/compose snippets and portSync events 2026-12-05 17:50:07 +08:00
deno.lock feat(code-mode): register Level-2 @mcpview/compose snippets and portSync events 2026-12-05 17:50:07 +08:00
docker-compose.qualification.yml ci(docker): enable GHCR multi-arch builds via engineering-toolchain@v1 2026-12-05 15:38:56 +08:00
docker-compose.yml feat: qualify releases against pinned SysON 2026-08-30 10:12:04 +08:00
Dockerfile ci(docker): enable GHCR multi-arch builds via engineering-toolchain@v1 2026-12-05 15:38:56 +08:00
LICENSE Initial release: @casys/mcp-syson 0.1.0 2026-07-30 03:06:24 +00:00
mod.ts feat(code-mode): register Level-2 @mcpview/compose snippets and portSync events 2026-12-05 17:50:07 +08:00
README.md chore: release 0.9.2 2026-10-25 12:10:20 +08:00
SECURITY.md fix: preserve unverified SysON identities 2026-08-25 00:52:29 +08:00
server.ts feat(code-mode): register Level-2 @mcpview/compose snippets and portSync events 2026-12-05 17:50:07 +08:00

@casys/mcp-syson

Publish JSR License: MIT

A focused Model Context Protocol provider for SysON and SysML v2. An MCP client works with a real SysON model through explicit modelling, navigation, diagram, requirement, constraint and value operations, and shows the results in interactive MCP Apps.

The Fly action flow drawn by the diagram viewer in the automatic layout: actions, start and done nodes, fork and join bars, a decision, guarded successions and an item flow between parameters

Viewers

Every result comes with a compact MCP App that does one job, so a host can compose them without embedding a modelling tool. The diagram viewer draws SysON's General, Interconnection, Action Flow and State Transition views with SysON's notation, in SysON's layout or an automatic one.

The FlightModes state machine: entry actions, nested states, initial states and transitions with triggers and guards
diagram-viewer — a State Transition view: nested states, entry actions, triggers and guards
The Drone interconnection view: a view frame, the Drone part with its parts, ports and connections, and an item flow
diagram-viewer — an Interconnection view: parts, ports, connections and item flows
The model explorer at the root of the Batmobile model: 39 elements, counts by kind, and the first part and item definitions
model-explorer-viewer — the model as a tree, loaded branch by branch, with filters by kind
The part and interface usages of the Batmobile part definition returned by an AQL query, sorted by label
query-results-viewer — AQL and search results, filtered and sorted
The StandBackrest authored requirements: maximum displacement at most 1 mm and maximum von Mises stress at most 55,000,000 Pa
requirements-viewer — authored requirements and their limits
The Batmobile requirements trace: seven requirements with their satisfaction gaps and unknown verification
requirements-trace-viewer — satisfaction and verification coverage, gaps included
The DroneBudget constraints validated against the model's values: three pass and one fails, each with its margin
validation-viewer — constraints evaluated against the model's values, with margins
The wheel width attribute changed from 26 to 28, with the read-back matching the requested value
value-change-viewer — a value before and after its change, with its read-back

Click an element to add it to the AI context of the next turn; double-click or press Enter to open it. See Browse model elements and diagram views.

The images are rendered by deno task docs:viewer-screenshot from recorded sessions and tool results (docs/fixtures, tests/fixtures/live-audit). The same operations work in clients without MCP Apps, and no tool calls a language model: interpretation, approval and orchestration stay with the calling client.

Quick start

You need Deno 2.x and a SysON instance. The included development stack starts a reviewed SysON image and PostgreSQL locally:

docker compose up -d
export SYSON_URL=http://localhost:8180

Run the published package over HTTP:

deno run -A jsr:@casys/mcp-syson@0.9.2/server

The MCP endpoint is http://127.0.0.1:3009/mcp. For a client that launches one local process, use stdio instead:

deno run -A jsr:@casys/mcp-syson@0.9.2/server --stdio

An existing SysON deployment works too; point SYSON_URL at its base URL. The server never guesses an endpoint.

See Getting started for Docker, transport, category, authentication and renderer configuration.

What it helps with

  • Create projects, documents, packages and explicit SysML v2 structures.
  • Browse and query model elements while preserving SysON identifiers.
  • Draw SysON diagrams with their notation, in SysON's layout or an automatic one; a local SVG (or an opt-in external renderer) serves clients without MCP Apps.
  • Trace requirements and derive product structures from model evidence.
  • Evaluate unit-aware constraints and explore bounded what-if values.
  • Update model values and perform fail-closed destructive operations.

The provider does not turn an acknowledgement into proof. Critical writes need read-back, unresolved values stay unresolved, and permanent deletion is only reported after its postcondition is observed. The exact safety and evidence semantics live in Capabilities, safety and evidence.

Documentation

Development

deno task check
deno task lint
deno task fmt
deno task test

Viewer development uses the published MCP View packages and requires a rebuild after source changes. The complete loop is documented in MCP Apps and recorded viewer contracts.

License

MIT