jordnlvr

OneTech MCP Server

Community jordnlvr
Updated

OneTech MCP Server - Extract Mendix modules via MCP

OneTech MCP Server

NPM VersionLicense: MIT

Extract and document Mendix Studio Pro modules via Model Context Protocol (MCP)

OneTech MCP Server enables AI assistants like GitHub Copilot to interrogate local Mendix .mpr files and extract comprehensive module documentation including domain models, pages, microflows, and enumerations.

๐Ÿš€ Quick Start

Install Globally (Recommended)

npm install -g @jordnlvr/onetech-mcp-server

Or Use with NPX (No Install)

npx @jordnlvr/onetech-mcp-server

Configure in VS Code

Add to your VS Code settings.json:

{
	"github.copilot.chat.mcp.enabled": true,
	"github.copilot.chat.mcp.servers": {
		"onetech": {
			"command": "npx",
			"args": ["@jordnlvr/onetech-mcp-server"]
		}
	}
}

Or use global install:

{
	"github.copilot.chat.mcp.enabled": true,
	"github.copilot.chat.mcp.servers": {
		"onetech": {
			"command": "onetech-mcp-server"
		}
	}
}

๐Ÿ“š Usage

Once configured, use GitHub Copilot to extract module documentation:

You: "Extract the RequestHub module from D:\Projects\OneTech.mpr"

Copilot: [Uses onetech_extract_module tool]
โœ… Successfully extracted 4 files from module 'RequestHub':
  - DomainModel.json (57KB)
  - Pages.json (42KB)
  - Microflows.json (0KB)
  - Enumerations.json (4KB)

๐Ÿ› ๏ธ Available Tools

onetech_extract_module

Extracts domain model, pages, microflows, and enumerations from a Mendix module using mx.exe.

Parameters:

  • mprPath (required): Absolute path to the .mpr file
  • moduleName (required): Name of the module to extract
  • outputPath (required): Absolute path to output directory for JSON files
  • mxPath (optional): Path to mx.exe (default: D:\Program Files\Mendix\11.3.0.80734\modeler\mx.exe)

Returns:

  • JSON files containing complete module structure
  • File sizes and extraction status
  • Success/error messages

๐Ÿ“‹ Requirements

  • Node.js: >= 18.0.0
  • Mendix Studio Pro: Version 11.3.0 or compatible
  • mx.exe: Command-line tool (included with Studio Pro)

๐Ÿ”’ Privacy & Security

  • 100% Local: All processing happens on your machine
  • No Cloud: Your .mpr files never leave your computer
  • No Tracking: No telemetry, analytics, or data collection
  • Open Source: Full transparency, audit the code yourself

๐ŸŽฏ Use Cases

  • Documentation Generation: Extract module structure for AI-powered docs
  • Code Review: Analyze domain models and microflows
  • Migration Planning: Understand module dependencies
  • Teaching: Demonstrate Mendix architecture to students
  • Onboarding: Help new developers understand existing apps

๐Ÿ“ฆ What Gets Extracted

For each module, the tool generates 4 JSON files:

  1. DomainModel.json: Entities, attributes, associations, validation rules
  2. Pages.json: Page layouts, widgets, data sources
  3. Microflows.json: Logic flows, actions, parameters
  4. Enumerations.json: Enumeration types and values

๐Ÿ—๏ธ Architecture

Your Machine
โ”œโ”€โ”€ VS Code + GitHub Copilot
โ”œโ”€โ”€ OneTech MCP Server (this package)
โ”‚   โ””โ”€โ”€ Calls mx.exe with your .mpr file
โ”œโ”€โ”€ mx.exe (Mendix CLI)
โ””โ”€โ”€ Your .mpr files (local, never uploaded)

๐Ÿค Contributing

Built by the OneTech Team for the Mendix developer community.

Found a bug? Open an issue on GitHub. Have a feature request? Let us know!

๐Ÿ“„ License

MIT License - See LICENSE file for details

๐Ÿ”— Links

Version: 0.1.0 Status: MVP Release First Mendix MCP Server ๐ŸŽ‰

MCP Server ยท Populars

MCP Server ยท New

    WordPress

    MCP Adapter

    An MCP adapter that bridges the Abilities API to the Model Context Protocol, enabling MCP clients to discover and invoke WordPress plugin, theme, and core abilities programmatically.

    Community WordPress
    HzaCode

    OneCite

    ๐Ÿ“š An intelligent toolkit to automatically parse, complete, and format academic references, with Model Context Protocol (MCP) support.

    Community HzaCode
    cexll

    Codex MCP Tool

    Codex Mcp Server

    Community cexll
    wise-vision

    WiseVision ROS 2 MCP Server

    Advanced MCP Server ROS 2 bridging AI agents straight into robotics

    Community wise-vision
    aahl

    ๐Ÿ“ˆ AkTools MCP Server

    ๐Ÿ“ˆ ๆไพ›่‚ก็ฅจใ€ๅŠ ๅฏ†่ดงๅธ็š„ๆ•ฐๆฎๆŸฅ่ฏขๅ’Œๅˆ†ๆžๅŠŸ่ƒฝMCPๆœๅŠกๅ™จ

    Community aahl