Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| 262:mcpserver [2026/10/23 10:47] – [How to get started] Fuhl, Alexander | 262:mcpserver [2026/10/28 10:46] (current) – Policnik, Florian | ||
|---|---|---|---|
| Line 5: | Line 5: | ||
| 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 **valid versions of workspaces only**. | + | In the currently provided MCP solution Stages provides access to **valid versions of workspaces only**. |
| ===== What it offers ===== | ===== What it offers ===== | ||
| Line 11: | Line 12: | ||
| Currently it offers 10 tools to browse and search workspaces and elements. This is subject to change. | Currently it offers 10 tools to browse and search workspaces and elements. This is subject to change. | ||
| + | |||
| ===== Availability ===== | ===== Availability ===== | ||
| - | The Stages MCP server is integrated into Stages 26.2.0.0 and later. | + | The Stages MCP server is integrated into Stages 26.2.0.0 and later. |
| - | + | ||
| - | < | + | |
| Note: Stages 7.12.5.1 or later and Stages 26.1.0.0 or later had a beta implementation of this feature that worked quite differently. | Note: Stages 7.12.5.1 or later and Stages 26.1.0.0 or later had a beta implementation of this feature that worked quite differently. | ||
| - | ==== Installation | + | ===== Configuration |
| - | * Stop Stages | + | Authentication is currently available only through an external identity provider |
| - | * Activate [[262: | + | |
| - | * 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 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 check the path ''/ | + | ==== IdP configuration ==== |
| - | ==== Configure credentials ===== | + | To enable MCP, add a resource configuration to your IdP, typically by creating an app or client registration. If you already use OIDC, you can use that configuration. |
| - | Access to the MCP server and Stages data is protected. A [[262: | + | Add the custom scope to the client: |
| - | * Process Modeler | + | '' |
| - | * CollectorData Read and Create permission | + | |
| - | * Permission according to the data collector (e.g. Process Read) | + | |
| + | Depending on your IdP, you may find this under " | ||
| + | ''< | ||
| - | ==== Configure AI system ===== | + | Use this value as the audience in the configuration. In other systems, the audience may be the application' |
| - | Configuration depends on Stages | + | ==== Stages |
| - | === Stages 7.12 / Tomcat 9 === | + | Add the following to the ''< |
| - | Currently Stages MCP server supports Server-Sent Events (SSE) protocol for Tomcat 9 version. The endpoint is ''/ | + | < |
| - | + | <method type="JWT" | |
| - | ''< | + | |
| - | + | < | |
| - | The API token that was created must be provided to the MCP server via the header '' | + | < |
| - | + | < | |
| - | An example MCP configuration: | + | |
| - | + | < | |
| - | < | + | < |
| - | { | + | |
| - | | + | </ |
| - | " | + | </ |
| - | "mcp-remote", | + | |
| - | | + | |
| - | "--header", | + | |
| - | | + | |
| - | ], | + | |
| - | | + | |
| - | "AUTH_TOKEN": "eyJh..." | + | |
| - | }, | + | |
| - | | + | |
| - | } | + | |
| </ | </ | ||
| + | * '' | ||
| + | * '' | ||
| + | * '' | ||
| + | * Configure the filter as you would for [[.: | ||
| - | === Stages | + | ==== Stages |
| - | Currently Stages | + | The MCP integration acts on behalf of the authenticated user. In addition to the usual permissions to view workspaces and process elements, the user must have the MCP permission to access them through MCP. |
| - | ''< | + | To let all users use MCP, add the MCP domain to the default group. |
| - | The API token that was created must be provided to the MCP server via the header '' | + | ==== MCP client configuration ==== |
| - | An example | + | Configure your MCP client to connect to the Stages MCP server at this URL: |
| - | <code javascript> | + | '' |
| - | { | + | |
| - | " | + | |
| - | " | + | |
| - | " | + | |
| - | "https:// | + | |
| - | " | + | |
| - | " | + | |
| - | ], | + | |
| - | " | + | |
| - | " | + | |
| - | }, | + | |
| - | " | + | |
| - | } | + | |
| - | </code> | + | |
| + | Stages currently supports Streamable HTTP. | ||