Realizing a Model Context Protocol (MCP) Server for the Graphical Language Server Platform (GLSP)
Open Access
- 3 October 2026
- conference paper
- Published by Association for Computing Machinery (ACM)
- p. 92-103
Abstract
Model-Driven Engineering (MDE) offers strong abstractions but remains hindered in practice by complex tooling and steep learning curves. Recent advances in Large Language Models (LLMs) promise intuitive, natural-language interaction with modeling environments; however, existing approaches—such as direct API interaction, DSL generation, or manipulation of serialized models—exhibit limited reliability, scalability, and semantic precision. This paper presents a structured integration of LLMs into graphical modeling environments via the Model Context Protocol (MCP). We design and implement a reusable MCP server for the Graphical Language Server Platform (GLSP), enabling LLM agents to interact with models through semantically grounded, tool-based operations rather than direct model generation. We contribute (i) a reference architecture for MCP-based integration into GLSP derived from a systematic literature review of MCP implementations, (ii) design principles for mapping modeling concepts to MCP primitives and abstraction levels, and (iii) an empirical evaluation assessing the impact of MCP-based interaction on downstream modeling tasks. Our results show that MCP-based interactions significantly improve both information retrieval (perfect precision/recall across tasks) and model manipulation (reducing syntactic, semantic, and pragmatic errors), while also improving scalability and efficiency compared to serialization-based approaches. The MCP server enables robust modification of existing models, a key limitation of prior approaches. These findings demonstrate that structured, tool-mediated interaction is a crucial enabler for reliable AI-assisted modeling. The presented MCP–GLSP Server constitutes a reusable artifact applicable across GLSP-based tools, providing a practical foundation to advance intelligent modeling assistance.Keywords
Funding Information
- Austrian Research Promotion Agency (FFG) (FO999925707)
This publication has 29 references indexed in Scilit:
- Uncovering LLM’s Capabilities in Model-Based Question Answering for UML Class Diagrams2026
- Model Context Contracts - MCP-Enabled Framework to Integrate LLMs With Blockchain2025
- On the use of large language models in model-driven engineeringSoftware and Systems Modeling, 2025
- A reference architecture for the development of GLSP-based web modeling toolsSoftware and Systems Modeling, 2025
- Bridging MDE and AI: a systematic review of domain-specific languages and model-driven practices in AI software systems engineeringSoftware and Systems Modeling, 2024
- A survey on large language model based autonomous agentsFrontiers of Computer Science, 2024
- Machine Learning for Managing Modeling Ecosystems: Techniques, Applications, and a Research Vision2023
- On the assessment of generative AI in modeling tasks: an experience report with ChatGPT and UMLSoftware and Systems Modeling, 2023
- Opportunities in intelligent modeling assistanceSoftware and Systems Modeling, 2020
- MDE Adoption in Industry: Challenges and Success Criteria2009