SysML-v2-API
A MCP server written in C++ that provides AI models and agents with a SysML v2 model as context.
claude mcp add --transport stdio redsteve-sysml-v2-api-mcp-server docker run -i redsteve/sysml-v2-api-mcp-server:latest \ --env MCP_LOG_LEVEL="info" \ --env SYSML_API_ENDPOINT="https://example.org/sysml-v2-api"
How to use
The SysML v2 API MCP-Server provides an MCP-compliant interface to a SysML v2 model context. Designed as a C++-based server, it exposes resources and methods aligned with the SysML v2 API & Services specification, enabling AI models and agents to query and reason over a SysML v2 model context via MCP operations. This enables tools to fetch model information, perform model queries, and receive structured responses that can be used as contextual grounding for reasoning tasks. The server is modular by design to allow easy extension to additional MCP transport layers or HTTP clients as needed.
To use the server, run the container or binary (depending on your deployment choice) and connect to the MCP endpoint as defined by the MCP protocol. The server will provide MCP endpoints for model context requests, such as retrieving SysML v2 model elements, services, and relevant metadata. When integrated with an AI agent, you can issue MCP commands to fetch model context, resolve references, and obtain structured data suitable for reasoning, analysis, and plan generation within the SysML v2 domain.
How to install
Prerequisites:
- A supported environment with Docker installed (or a build environment for C++ if you prefer building from source).
- Basic familiarity with the MCP protocol and HTTP-based APIs.
Option A: Run via Docker
- Ensure Docker is installed and running.
- Pull and run the image (adjust image tag as needed): docker pull redsteve/sysml-v2-api-mcp-server:latest docker run -d --name sysml-v2-api-mcp -p 8080:8080 redsteve/sysml-v2-api-mcp-server:latest
- The MCP endpoint will be available at the container's exposed port (e.g., http://localhost:8080).
Option B: Build from source (C++ source required)
- Install prerequisites: a modern C++ compiler, CMake, and Git.
- Clone the repository: git clone https://github.com/redsteve/sysml-v2-api-mcp-server.git cd sysml-v2-api-mcp-server
- Create a build directory and configure: mkdir build && cd build cmake .. -DCMAKE_BUILD_TYPE=Release
- Build the project: cmake --build . --config Release
- Run the server (adjust path to the built executable as needed): ./sysml_v2_api_mcp_server
- Ensure the server is reachable at the configured endpoint (default 8080 or as defined in the build/run configuration).
Notes:
- If environment variables are required by your deployment, set them before starting the server (for example, MCP_LOG_LEVEL or SYSML_API_ENDPOINT).
- Since the project is a work in progress, expect ongoing changes and potential breaking updates during development.
Additional notes
Tips and common issues:
- The project is marked as WORK IN PROGRESS; verify compatibility with your MCP client and SysML v2 API services before production use.
- If using Docker, ensure the host ports do not conflict with other services and that network access to the SysML v2 API endpoints is configured if the container needs to reach external services.
- Environment variables can be added to tune logging and external API endpoints. For example, MCP_LOG_LEVEL controls verbosity, and SYSML_API_ENDPOINT can point to the SysML v2 API services if the MCP server fetches model data remotely.
- When extending the server, the codebase is designed to support adding more MCP transport layers or HTTP clients; consider contributing via the repository if you implement additional capabilities.
- If you encounter build issues on Linux vs macOS, ensure you have the correct compiler toolchain and dependencies as indicated in the build scripts or CONTRIBUTING guidelines.
Related MCP Servers
xiaozhi-esp32
An MCP-based chatbot | 一个基于MCP的聊天机器人
unreal
Enable AI assistant clients like Cursor, Windsurf and Claude Desktop to control Unreal Engine through natural language using the Model Context Protocol (MCP).
deeppowers
DEEPPOWERS is a Fully Homomorphic Encryption (FHE) framework built for MCP (Model Context Protocol), aiming to provide end-to-end privacy protection and high-efficiency computation for the upstream and downstream ecosystem of the MCP protocol.
cpp
Lightweight C++ MCP (Model Context Protocol) SDK
x64dbgMCP
Model Context Protocol for x64dbg & x32dbg
mcp-cpp
A C++ SDK for the Model Context Protocol (MCP). The SDK will provide a framework for creating MCP servers and clients in C++.