Stages MCP Server (Beta)

MCP (Model Context Protocol) has established itself as the universal way to connect LLMs (Large Language Models) and other AI systems with data sources.

Through our MCP Server, AI systems can access process data managed in Stages for various purposes and use cases.

How it works

The Stages MCP Server takes advantage of Stages Collector Data API. Data that should be provided via MCP can be precisely defined and precalculated. MCP Server then connects the AI systems with the collected data. MCP server adds context so the AI system get domain specific instructions.

How to get started

This feature is currently in beta. It requires Stages 7.12.5.1 and later or Stages 26.1.0.0 and later.

Please request from Stages support current version of MCP package. You will get the MCP server, script and configuration suitable for processes based on unified configuration.

Installation

  • In Stages go to Administration → Jobs and create a job for mcp (e.g. “mcp”)
  • Upload mcp.js file to mcp job
  • Run job once
  • Specify a cron expression to keep data up to date
  • Stop Stages
  • Activate API tokens in Stages and restart Stages
  • Add mcp-server.properties to Stages conf folder
  • Extract the war file to stages/tomcat/webapps/mcp. Ensue that the folders META-INF and WEB-INF are directly in the mcp folder
  • Start Stages

If Stages is running you can test if MCP Server is running by checking path /mcp/status on your Stages server. For example: https://stages.example.com/mcp/status

Configure credentials

TODO * user mit token und permission