System Designer MCP Server
A Model Context Protocol (MCP) server that provides AI agents with tools to create, validate, and export UML system models. Built with a tool-based approach that empowers LLMs rather than trying to replace their natural language understanding capabilities.
📚 Documentation
API Reference - Detailed API documentation for all MCP tools
CLI Guide - Command-line interface usage and examples
Integration Guide - Platform integration instructions
Examples - Sample models and use cases
Features
Core Tools
create_mson_model: Create and validate MSON models from structured data
validate_mson_model: Validate MSON model consistency and completeness
generate_uml_diagram: Generate UML diagrams in PlantUML and Mermaid formats
export_to_system_designer: Export models to System Designer application format
Key Capabilities
✅ Tool-Based Architecture: LLMs handle understanding, server handles validation/formatting
✅ Type Safety: Comprehensive Zod schema validation for all inputs and outputs
✅ Multiple UML Formats: Support for both PlantUML and Mermaid diagram generation
✅ System Designer Integration: Direct export to System Designer macOS application
✅ Comprehensive Testing: Full test coverage for all tools and functionality
Installation
Prerequisites
Bun JavaScript runtime
Node.js compatibility through Bun
Setup
Quick Start
Installation
Using the MCP Server
Start the server:
Example tool usage:
CLI Usage
The server includes a CLI tool for testing and model management:
See the CLI Guide for detailed usage instructions.
Example MSON Model Structure
Tool Reference
For detailed API documentation, see the API Reference.
Available Tools
create_mson_model - Create and validate MSON models from structured data
validate_mson_model - Validate MSON model consistency and completeness
generate_uml_diagram - Generate UML diagrams in PlantUML and Mermaid formats
export_to_system_designer - Export models to System Designer application format
Platform Integration
The server can be integrated with various platforms:
Claude Desktop - Native MCP integration
VS Code - Extension development support
Web Applications - React/Node.js integration
CLI Tools - Command-line interface
See the Integration Guide for detailed setup instructions.
Architecture
Tool-Based Approach
This server uses a tool-based architecture that:
Empowers LLMs: The LLM handles understanding requirements and creating structured data
Validates Input: Server validates structured input using comprehensive Zod schemas
Processes Efficiently: Simple, fast processing without complex parsing logic
Exports Flexibly: Multiple output formats for different use cases
Benefits Over Parser-Based Approaches
Simplicity: No complex NLP parsing to maintain
Flexibility: Works with any domain the LLM understands
Reliability: Fewer moving parts, less error-prone
Performance: Faster validation and processing
Extensibility: Easy to add new tools and features
Development
Running Tests
Building
Code Structure
Integration with System Designer
The server exports models in a format compatible with the System Designer macOS application:
File Export: Models are saved as JSON files
Automatic Integration: Files can be imported directly into System Designer
Format Compatibility: Uses MSON (Metamodel JavaScript Object Notation) format
Contributing
This project follows a simple contribution model:
Fork the repository
Create a feature branch
Add tests for new functionality
Ensure all tests pass
Submit a pull request
License
MIT License - see LICENSE file for details.
Acknowledgments
Model Context Protocol (MCP) for the tool integration framework
System Designer for the target macOS application
Zod for type-safe validation
Bun for the fast JavaScript runtime
This server cannot be installed
hybrid server
The server is able to function both locally and remotely, depending on the configuration or use case.
Enables AI agents to create, validate, and export UML system models using structured MSON format. Supports generating PlantUML and Mermaid diagrams with direct export to System Designer macOS application.