This is an old revision of the document!
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.jsfile 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.propertiesto Stages conf folder - Extract the war file to
stages/tomcat/webapps/mcp. Ensue that the foldersMETA-INFandWEB-INFare directly in themcpfolder - 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-web/status
Configure credentials
TODO * user mit token und permission