REST API for MES Test Automation

MaConSim provides a REST API that exposes all frontend functionality for programmatic access. Use it to integrate machine simulation into test automation frameworks, CI/CD pipelines, or custom integrations with MES, SCADA and other IoT systems.

Availability: The REST API is available in the Docker deployment only — it is not part of the Windows, macOS or Linux desktop versions. See Docker deployment.

Back to the product overview.

MaConSim REST API — Swagger UI with all endpoints

How the REST API works

# List all plants
curl -X POST http://localhost:8080/api/get_plants \
  -H "Content-Type: application/json" \
  -d '{}'

# Export plant 1 as a portable YAML file
curl -X POST http://localhost:8080/api/export_plant_yaml \
  -H "Content-Type: application/json" \
  -d '{"plant_id": 1}' \
  --output plant-export.yaml

Interactive documentation

Typical use cases

Technical details

Aspect Detail
Availability Docker deployment only (backend service, port 8080)
Authentication None — designed for local access only; do not expose to the internet
Transport HTTP POST + JSON body in, JSON out
Documentation Swagger UI /swagger-ui, OpenAPI /api-docs/openapi.json
CORS Any origin allowed
MCP The same API is exposed to AI agents as MCP tools — see MCP Server

FAQ

Is the REST API available in the desktop app? No — only when running MaConSim via Docker. The desktop versions do not expose the REST API.

Does the API require authentication? No. It is designed for local clients only and is not intended to be exposed to the internet. In Docker, keep the port mapping local.

Can I generate a client from the API? Yes — download the OpenAPI specification from /api-docs/openapi.json and use it with any OpenAPI code generator.

Technical documentation

Read the REST API chapter of the User Manual: Accessing the API and Usage Notes, plus the Docker deployment.

Related: MCP Server for AI agents · Automation Flows · Machine Simulation.

Download the free version.

Download Area

Or schedule a demo.

Schedule Demo