gaphor-mcp-server

amolenaar/gaphor-mcp-server

3.1

If you are the rightful owner of gaphor-mcp-server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

Gaphor MCP Server is a concept server designed to work with Gaphor models, allowing for querying, adding, and modifying model elements.

The Gaphor MCP Server is a conceptual implementation of the Model Context Protocol (MCP) designed to interact with Gaphor models. It enables users to query, add, and modify elements within a model, facilitating the creation of various diagrams. This server is particularly useful in coding environments, such as Visual Studio Code (VSCode), where it can assist in validating models against actual code, ensuring proper documentation, and potentially offering additional functionalities. By integrating with Gaphor, a UML modeling tool, the server aims to enhance model management and interaction, making it a valuable tool for developers and modelers who require a seamless connection between their code and model representations.

Features

  • Model Querying: Allows users to query existing elements within a Gaphor model.
  • Element Modification: Supports adding and modifying elements in the model.
  • Diagram Creation: Facilitates the creation of various types of diagrams.
  • Code Validation: Assists in validating models with actual code in environments like VSCode.
  • Documentation Check: Ensures that models are properly documented.

Usages

usage with VSCode

{
  "mcpServers": {
    "gaphor": {
      "command": "python",
      "args": ["gaphor_mcp_server.py"]
    }
  }
}

usage with Claude Desktop

{
  "mcpServers": {
    "gaphor": {
      "command": "python",
      "args": ["gaphor_mcp_server.py"]
    }
  }
}