Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| 261:mcpserver [2026/04/14 15:42] – Policnik, Florian | 261:mcpserver [2026/05/07 10:33] (current) – Policnik, Florian | ||
|---|---|---|---|
| Line 3: | Line 3: | ||
| [[https:// | [[https:// | ||
| - | Through our MCP Server, AI systems can access process data managed in Stages for various purposes and use cases. | + | Through our MCP server, AI systems can access process data managed in Stages for various purposes and use cases. |
| + | |||
| + | In the currently provided MCP solution Stages provides access to a **single workspace only**. In future versions of MCP support this limitation is going to be eliminated. | ||
| ===== How it works ===== | ===== How it works ===== | ||
| - | The Stages MCP Server takes advantage of [[261: | + | The Stages MCP server uses the [[261: |
| ===== How to get started ===== | ===== How to get started ===== | ||
| - | This feature is currently in beta. It requires Stages 7.12.5.1 | + | This feature is currently in beta. It requires Stages 7.12.5.1 |
| + | |||
| + | Please request the current version of the MCP package from Stages support. You will receive an MCP server, script, and configuration suitable for processes based on the unified configuration metamodel. | ||
| ==== Installation ===== | ==== Installation ===== | ||
| - | Please request from Stages | + | * Stop Stages |
| + | * Activate [[261: | ||
| + | * Add '' | ||
| + | * Choose the right WAR file: | ||
| + | * Stages 7.12: '' | ||
| + | * Stages 26.1: '' | ||
| + | * Extract the WAR file to '' | ||
| + | * Start Stages | ||
| + | * Go to the Company workspace and add the workspace variable '' | ||
| + | * In Stages go to Administration -> Jobs and create | ||
| + | * Upload the '' | ||
| + | * Run the job once | ||
| + | * Specify a cron expression to keep the data updated | ||
| + | |||
| + | If Stages is running, you can check the path ''/ | ||
| + | |||
| + | ==== Configure credentials ===== | ||
| + | |||
| + | Access to the MCP server and Stages data is protected. A [[261: | ||
| + | |||
| + | * Process Modeler | ||
| + | * CollectorData Read and Create permission | ||
| + | * Permission according to the data collector (e.g. Process Read) | ||
| + | |||
| + | |||
| + | |||
| + | ==== Configure AI system ===== | ||
| + | |||
| + | Currently Stages MCP server supports Server-Sent Events (SSE) protocol. The endpoint is ''/ | ||
| + | |||
| + | ''< | ||
| + | |||
| + | The API token that was created must be provided to the MCP server via the header '' | ||
| + | An example MCP configuration: | ||
| + | <code javascript> | ||
| + | { | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | ], | ||
| + | " | ||
| + | " | ||
| + | }, | ||
| + | " | ||
| + | } | ||
| + | </ | ||