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 16:09] – 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 | + | Please request |
| ==== Installation ===== | ==== Installation ===== | ||
| - | * In Stages go to Administration -> Jobs and create a job for mcp (e.g. " | ||
| - | * Upload '' | ||
| - | * Run job once | ||
| - | * Specify a cron expression to keep data up to date | ||
| * Stop Stages | * Stop Stages | ||
| - | * Activate [[261: | + | * Activate [[261: |
| - | * Add '' | + | * Add '' |
| - | * Extract | + | * Choose |
| + | * Stages 7.12: '' | ||
| + | * Stages 26.1: '' | ||
| + | * Extract the WAR file to '' | ||
| * Start Stages | * Start Stages | ||
| + | * Go to the Company workspace and add the workspace variable '' | ||
| + | * In Stages go to Administration -> Jobs and create a job for MCP (e.g. " | ||
| + | * Upload the '' | ||
| + | * Run the job once | ||
| + | * Specify a cron expression to keep the data updated | ||
| - | If Stages is running you can test if MCP Server is running by checking | + | If Stages is running, you can check the path ''/ |
| ==== Configure credentials ===== | ==== Configure credentials ===== | ||
| - | TODO | ||
| - | * user mit token und permission | ||
| + | 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> | ||
| + | { | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | ], | ||
| + | " | ||
| + | " | ||
| + | }, | ||
| + | " | ||
| + | } | ||
| + | </ | ||