SysML V2 LSP

v1.0.0Developer Toolsstable

SysML v2 Language Server Protocol implementation for VS Code, powered by ANTLR4. Includes MCP server for AI tool integration.

sysml-v2-lspmcpai-integration
Share:
14
Stars
0
Downloads
0
Weekly
0/5

What is SysML V2 LSP?

SysML V2 LSP is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to sysml v2 language server protocol implementation for vs code, powered by antlr4. includes mcp server for ai tool integration.

SysML v2 Language Server Protocol implementation for VS Code, powered by ANTLR4. Includes MCP server for AI tool integration.

This server falls under the Developer Tools category on MCPgee, the world's largest MCP server directory with 33,000+ servers.

Features

  • SysML v2 Language Server Protocol implementation for VS Code

Use Cases

Integrate SysML v2 language support into AI tools with ANTLR4-powered parsing.
Enable AI to analyze and generate SysML v2 models for systems engineering workflows.
daltskin

Maintainer

LicenseMIT
Languagetypescript
Versionv1.0.0
UpdatedMay 15, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

Manual Installation

npx sysml-v2-lsp

Configuration

Configuration Details

Config File

claude_desktop_config.json

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

How to Set Up and Use SysML V2 LSP

The SysML v2 LSP project provides a full Language Server Protocol implementation for SysML v2, the next-generation systems modeling language, powered by an ANTLR4 grammar parser. It includes a VS Code extension, a browser-based web client, a Python client, and an MCP server exposed via the 'sysml-mcp' CLI — enabling AI assistants to analyze, validate, and generate SysML v2 models. Systems engineers and model-based systems engineering (MBSE) practitioners can use it to get diagnostics, completions, hover documentation, complexity analysis, and Mermaid diagram previews for SysML v2 files directly inside AI-assisted workflows.

Prerequisites

  • Node.js 22 or higher and npm installed
  • An MCP-compatible client such as Claude Desktop or Claude Code
  • VS Code (optional, for the editor extension)
  • Python 3.13 and Jupyter (optional, for the Python client demo notebook)
1

Install the npm package

Install the sysml-v2-lsp package from npm, which includes the language server and the sysml-mcp CLI used to start the MCP server.

npm install -g sysml-v2-lsp
2

Or build from source

Clone the repository and build locally if you want the latest development version or want to contribute.

git clone https://github.com/daltskin/sysml-v2-lsp.git
cd sysml-v2-lsp
npm install && npm run build
3

Configure Claude Desktop to use the MCP server

Add the sysml-mcp command to your claude_desktop_config.json. The MCP server is part of the package and runs via the sysml-mcp binary.

{
  "mcpServers": {
    "sysml-v2": {
      "command": "npx",
      "args": ["sysml-mcp"]
    }
  }
}
4

Install the VS Code extension (optional)

For editor integration with syntax highlighting, diagnostics, completions, and Mermaid diagram preview, install the extension from the VS Code Marketplace.

# Search in VS Code Extensions panel:
# "SysML v2.0 Language Support" by JamieD
# Or install via CLI:
code --install-extension JamieD.sysml-v2-support
5

Restart Claude Desktop and open a SysML file

Restart Claude Desktop to activate the MCP server. You can now paste SysML v2 model text or reference a .sysml file and ask Claude to analyze, validate, or extend it.

SysML V2 LSP Examples

Client configuration

Claude Desktop configuration to launch the SysML v2 MCP server using the sysml-mcp CLI included in the npm package.

{
  "mcpServers": {
    "sysml-v2": {
      "command": "npx",
      "args": ["sysml-mcp"]
    }
  }
}

Prompts to try

Example prompts for analyzing and generating SysML v2 models through the AI assistant.

- "Parse this SysML v2 snippet and report any syntax errors"
- "Generate a SysML v2 block definition for a satellite system with mass, power, and data rate attributes"
- "Find all unresolved type references in this SysML v2 model"
- "Calculate the structural complexity metrics for this systems model"
- "Generate a Mermaid diagram from this SysML v2 part definition"
- "Rename the 'VehicleSystem' element to 'AutomotiveSystem' across the entire model"

Troubleshooting SysML V2 LSP

sysml-mcp command not found after npm install

Ensure the npm global bin directory is on your PATH. Run 'npm bin -g' to find the path and add it to your shell profile. Alternatively, use 'npx sysml-mcp' in the Claude Desktop config args instead of a bare command.

ANTLR4 parser errors on valid SysML v2 syntax

The grammar follows the official OMG SysML v2 specification. Run 'make update-grammar' in the repository to pull the latest grammar version. After updating, regenerate the DFA snapshot with 'make dfa'.

Mermaid diagram preview does not generate

Mermaid generation requires the server build to be complete. If running from source, ensure you ran 'npm run build' successfully. The web client (make web) provides an interactive diagram preview at http://localhost:3000 as an alternative.

Frequently Asked Questions about SysML V2 LSP

What is SysML V2 LSP?

SysML V2 LSP is a Model Context Protocol (MCP) server that sysml v2 language server protocol implementation for vs code, powered by antlr4. includes mcp server for ai tool integration. It connects AI assistants to external tools and data sources through a standardized interface.

How do I install SysML V2 LSP?

Follow the installation instructions on the SysML V2 LSP GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.

Which AI clients work with SysML V2 LSP?

SysML V2 LSP works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.

Is SysML V2 LSP free to use?

Yes, SysML V2 LSP is open source and available under the MIT license. You can use it freely in both personal and commercial projects.

Browse More Developer Tools MCP Servers

Explore all developer tools servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.

Quick Config Preview

{ "mcpServers": { "sysml-v2-lsp": { "command": "npx", "args": ["-y", "sysml-v2-lsp"] } } }

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide →

Ready to use SysML V2 LSP?

Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.

33,000+ ServersFree & Open SourceStep-by-Step Guides