System Designer MCP Server
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@System Designer MCP Servercreate a UML class diagram for an e-commerce system with Customer, Order, and Product classes"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
System Designer MCP Server
A Model Context Protocol (MCP) server that provides AI agents with tools to create, validate, and export UML system models and System Runtime bundles. Built with a tool-based approach that empowers LLMs to generate complete, executable System Runtime applications.
π Documentation
API Reference - Detailed API documentation for all MCP tools
System Runtime Integration Guide - Complete guide to System Runtime bundle creation
Cloudflare Deployment Guide - Deploy to Cloudflare Workers as remote MCP server
CLI Guide - Command-line interface usage and examples
Integration Guide - Platform integration instructions
Examples - Sample models and use cases
Contributing Guide - How to contribute to the project
Code of Conduct - Community guidelines and behavior expectations
Security Policy - Security vulnerability reporting and policies
Related MCP server: OpenKer Modeler MCP Server
Features
Core MSON 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
System Runtime Tools
create_system_runtime_bundle: Convert MSON models to complete System Runtime bundles
validate_system_runtime_bundle: Validate System Runtime bundles for correctness and compatibility
Key Capabilities
β Tool-Based Architecture: LLMs handle understanding, server handles validation/formatting
β Type Safety: Comprehensive Zod schema validation for all inputs and outputs
β System Runtime Integration: Full support for System Runtime bundle generation and validation
β Bidirectional Relationships: Automatic bidirectional relationship creation
β Multiple Inheritance: Support for classes implementing multiple interfaces
β Multiple UML Formats: Support for both PlantUML and Mermaid diagram generation
β System Designer Integration: Direct export to System Designer macOS application
β Comprehensive Testing: 46 tests with 302 expect() calls covering all functionality
β Critical Bug Fixes: Resolved SDMCP-001 through SDMCP-005 (property preservation, ID management, validation consistency)
β Streamable HTTP Transport: Modern MCP protocol (2025-03-26 specification)
β Stateless Operation: Each request creates new server instance
β Single Endpoint: Single
/mcpendpoint handles all operationsβ Workers Optimized: Stateless design perfect for Cloudflare Workers
Installation
Prerequisites
Bun JavaScript runtime
Node.js compatibility through Bun
Setup
# Clone the repository
git clone https://github.com/chevyphillip/system-designer-mcp.git
cd system-designer-mcp
# Install dependencies
bun install
# Build the project
bun run build
# Run tests
bun testQuick Start
# Clone the repository
git clone https://github.com/chevyphillip/system-designer-mcp.git
cd system-designer-mcp
# Install dependencies
bun install
# Build the project
bun run build
# Run tests
bun testDeployment Options
The System Designer MCP Server can run in two modes:
Local Mode (stdio transport)
Start the local server:
bun run devRemote Mode (Cloudflare Workers)
Deploy as a remote MCP server accessible over HTTP with SSE transport:
# Test locally with Wrangler
bun run dev:worker
# Deploy to Cloudflare Workers
bunx wrangler login
bun run deployYour MCP server will be available at:
https://system-designer-mcp.<your-subdomain>.workers.devNote: Replace <your-subdomain> with your actual Cloudflare Workers subdomain.
Key Features:
β SSE (Server-Sent Events) transport for remote access
β No authentication required (configurable)
β All 6 MCP tools available
β Returns JSON data directly (no file system)
β Automatic session management
β CORS support for web clients
See CLOUDFLARE_DEPLOYMENT.md for detailed deployment instructions.
Usage Examples
Example tool usage:
// Create a MSON model
const model = await mcpClient.callTool('create_mson_model', {
name: 'Student Management System',
type: 'class',
description: 'A system for managing students and courses',
entities: [
{
id: 'student',
name: 'Student',
type: 'class',
attributes: [
{ name: 'id', type: 'string', visibility: 'private' },
{ name: 'name', type: 'string', visibility: 'public' },
],
methods: [{ name: 'enroll', returnType: 'void', visibility: 'public' }],
},
],
relationships: [],
});
// Generate UML diagram
const diagram = await mcpClient.callTool('generate_uml_diagram', {
model: model.content[1].json,
format: 'plantuml',
});
// Export to System Designer
const exported = await mcpClient.callTool('export_to_system_designer', {
model: model.content[1].json,
filePath: './student_system.json',
});
// Create System Runtime bundle
const bundle = await mcpClient.callTool('create_system_runtime_bundle', {
model: model.content[1].json,
version: '1.0.0',
});
// Validate System Runtime bundle
const validation = await mcpClient.callTool('validate_system_runtime_bundle', {
bundle: bundle.content[2].text, // JSON bundle from previous step
});CLI Usage
The server includes a CLI tool for testing and model management:
# Test System Designer integration
bun run src/cli.ts test-integration
# Export a test model
bun run src/cli.ts export-model MyModel "Test model description"
# Show configuration
bun run src/cli.ts configSee the CLI Guide for detailed usage instructions.
Example MSON Model Structure
{
"id": "student_system",
"name": "Student Management System",
"type": "class",
"description": "A system for managing students and courses",
"entities": [
{
"id": "student",
"name": "Student",
"type": "class",
"attributes": [
{
"name": "id",
"type": "string",
"visibility": "private"
},
{
"name": "name",
"type": "string",
"visibility": "public"
}
],
"methods": [
{
"name": "enroll",
"parameters": [
{
"name": "course",
"type": "Course"
}
],
"returnType": "void",
"visibility": "public"
}
]
}
],
"relationships": [
{
"id": "enrollment",
"from": "student",
"to": "course",
"type": "association",
"multiplicity": {
"from": "1",
"to": "0..*"
},
"name": "enrolls in"
}
]
}Tool Reference
For detailed API documentation, see the API Reference.
Available Tools
create_mson_model - Create and validate MSON models from structured data with automatic ID generation and relationship mapping
validate_mson_model - Validate MSON model consistency and completeness with detailed error messages and relationship validation
generate_uml_diagram - Generate UML diagrams in PlantUML and Mermaid formats
export_to_system_designer - Export models to System Designer application format
create_system_runtime_bundle - Convert MSON models to complete System Runtime bundles with schemas, models, types, behaviors, and components
validate_system_runtime_bundle - Validate System Runtime bundles for correctness and compatibility
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
Modular Structure
The codebase follows SOLID principles with clear separation of concerns:
src/types.ts- TypeScript type definitions for MSON modelssrc/schemas.ts- Zod validation schemas for all data structuressrc/tools.ts- MCP tool registration using modern SDK patternssrc/index.ts- Local MCP server with stdio transport (Node.js/Bun)src/worker.ts- Remote MCP server with SSE transport (Cloudflare Workers)src/cli.ts- Command-line interface for testing and integrationsrc/integration/- System Designer app integrationsrc/transformers/- MSON to System Runtime transformation logicsrc/validators/- System Runtime bundle validation logic
Modern MCP SDK Patterns
The server uses the modern MCP TypeScript SDK (v1.18.2) patterns:
server.registerTool()- Modern tool registration API (not legacyserver.tool())Zod Input Schemas - Type-safe input validation with Zod schema shapes
Title Metadata - Each tool includes a
titlefield for better UXType Inference - Handler methods use Zod-inferred types for parameters
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
# Run all tests
bun test
# Run tests in watch mode
bun test --watchBuilding
# Build for production
bun run build
# Start production server
bun startCode Structure
src/
βββ types.ts # TypeScript type definitions for MSON models
βββ schemas.ts # Zod validation schemas for all data structures
βββ tools.ts # MCP tool registration using modern SDK patterns
βββ index.ts # Local MCP server (stdio transport)
βββ worker.ts # Remote MCP server (SSE transport for Workers)
βββ cli.ts # Command-line interface
βββ integration/
β βββ system-designer.ts # System Designer app integration
βββ transformers/
β βββ system-runtime.ts # MSON to System Runtime transformation
βββ validators/
βββ system-runtime.ts # System Runtime bundle validation
test/
βββ tool-based.test.ts # Comprehensive test suite
docs/
βββ API-REFERENCE.md # Detailed API documentation
βββ CLI-GUIDE.md # CLI usage guide
βββ INTEGRATION-GUIDE.md # Platform integration guide
βββ SYSTEM-RUNTIME-INTEGRATION-GUIDE.md # System Runtime guide
examples/
βββ banking-system.json # Sample banking system model
βββ banking-system-plantuml.puml # PlantUML output example
βββ banking-system-mermaid.md # Mermaid output example
βββ README.md # Example documentation
CLOUDFLARE_DEPLOYMENT.md # Cloudflare Workers deployment guide
test-worker.sh # Automated testing script for Workers
wrangler.toml # Cloudflare Workers configurationIntegration 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
Recent Changes & Improvements
Latest Updates (v1.0.0)
π― Critical Bug Fixes (SDMCP-001-005): Resolved property preservation, ID mapping, validation consistency, and bundle compatibility issues
π§ Enhanced Error Messages: Added detailed, actionable error messages with specific fix suggestions and examples
π‘οΈ Relationship Validation: Proactive validation prevents orphaned references with clear guidance
π Flexible Input Handling: Support for both 'properties' and 'attributes' in entity definitions
π Comprehensive Bug Reports: Detailed documentation of all issues and resolutions in
docs/BUG_REPORTS.mdπ System Runtime Tools: Added complete System Runtime bundle creation and validation functionality
Previous Features
ποΈ Modular Architecture: Complete refactoring for SOLID principles compliance
π§ͺ Enhanced Testing: 46 tests with 302 assertions covering all functionality including edge cases
π Cloudflare Workers Support: Remote MCP server deployment with modern JSON-RPC transport
π Modern MCP SDK: Updated to latest MCP TypeScript SDK (v1.18.2) patterns
π Documentation: Complete API reference, integration guides, and deployment documentation
Contributing
We welcome contributions! Please see our Contributing Guide for details on:
Setting up the development environment
Running tests and code quality checks
Code style guidelines
Submitting pull requests
Reporting issues
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
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityDmaintenanceEnables AI assistants to generate UML diagrams from text descriptions using PlantUML, supporting multiple output formats (PNG, SVG, PDF), syntax validation, and diagram source extraction.11MIT
- -license-quality-maintenanceEnables AI agents to traverse SysML v2 model graphs, query requirements, and perform impact analysis for model-based systems engineering. It allows agents to interact with plain-text models to automate documentation and refine system architectures.
- Alicense-qualityDmaintenanceEnables automatic generation of UML class diagrams and entity-relationship diagrams from natural language descriptions or structured JSON data. It integrates with MCP agents to create visual representations of code structures and system designs without manual Mermaid coding.161MIT
- AlicenseCqualityDmaintenanceEnables AI models to create and manage various types of diagrams (flowcharts, UML, network diagrams, etc.) via the Model Context Protocol.26896ISC
Related MCP Connectors
Generate dynamic Mermaid diagrams and charts with AI assistance. Customize styles and export diagrβ¦
AI Agent with Architectural Memory. Impact analysis (free), tests and code from the graph (pro).
Generate cloud architecture diagrams, flowcharts, and sequence diagrams.
Appeared in Searches
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/chevyphillip/system-designer-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server