StarUML documentation
v7
v7
  • Introduction
  • User Guide
    • Introduction
    • Basic Concepts
    • Managing Project
    • Managing Diagrams
    • Diagram Editor
    • Editing Elements
    • Formatting Elements
    • Annotation Elements
    • Managing Extensions
    • User Interface
    • CLI (Command Line Interface)
    • Validation Rules
    • Keyboard Shortcuts
    • TouchBar (MacBook)
    • Customization
    • Mermaid Support
    • AI integration via MCP
  • Working with UML Diagrams
    • Class Diagram
    • Package Diagram
    • Composite Structure Diagram
    • Object Diagram
    • Component Diagram
    • Deployment Diagram
    • Use Case Diagram
    • Sequence Diagram
    • Communication Diagram
    • Timing Diagram
    • Interaction Overview Diagram
    • Statechart Diagram
    • Activity Diagram
    • Information Flow Diagram
    • Profile Diagram
  • Working with SysML Diagrams
    • Requirement Diagram
    • Block Definition Diagram
    • Internal Block Diagram
    • Parametric Diagram
  • Working with Additional Diagrams
    • Entity-Relationship Diagram
    • Flowchart Diagram
    • Data Flow Diagram
    • C4 Diagram
    • BPMN Diagram
    • Mindmap Diagram
    • Wireframe Diagram
    • AWS Architecture Diagram
    • GCP Architecture Diagram
  • Developing Extensions
    • Getting Started
    • Commands
    • Menus
    • Keymaps
    • Toolbox
    • Accessing Elements
    • Creating, Deleting and Modifying Elements
    • Working with Selections
    • Defining Preferences
    • Using Dialogs
    • Registering to Extension Registry
Powered by GitBook
On this page
  1. User Guide

AI integration via MCP

PreviousMermaid SupportNextClass Diagram

Last updated 1 month ago

CtrlK

StarUML supports integration with various AI services (such as Claude Desktop, Cursor, etc.) through the MCP server. The StarUML MCP Server is open-sourced in the GitHub repository. Installation and usage instructions are described in detail in the repository.

StarUML MCP Server

https://github.com/staruml/staruml-mcp-server

Configure API Server

The MCP Server communicates with StarUML's API Server using the HTTP protocol. You can disable the API Server or change the communication port.

If you want to configure API server, you can edit settings.json at the user configuration path:

  • /Users/<user>/Library/Application Support/StarUML for Mac OS.

  • C:\Users\<user>\AppData\Roaming\StarUML for Windows.

  • ~/.config/StarUML for Linux.

To control whether the API Server runs, modify the apiServer field. To change the API Server port number, edit the apiServerPort field as below. Default port number is 58321.

{
  ...
  "apiServer": true,
  "apiServerPort": 58321
}