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 09:32] – [How it works] 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 ===== | ||
| The Stages MCP server grants access to the valid versions of all workspaces the authenticated user has access to and for which the " | The Stages MCP server grants access to the valid versions of all workspaces the authenticated user has access to and for which the " | ||
| - | ===== How to get started ===== | + | Currently it offers 10 tools to browse and search workspaces and elements. This is subject to change. |
| - | This feature is currently in beta. It requires Stages 7.12.5.1 or later, or Stages 26.1.0.0 or later. | + | ===== Availability ===== |
| - | Please request the current version of the MCP package from Stages | + | The Stages MCP server |
| - | ==== Installation ===== | + | 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. |
| - | * Stop Stages | + | ===== Configuration ===== |
| - | * 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 | + | Authentication |
| - | ==== Configure credentials ===== | + | ==== IdP configuration |
| - | Access | + | To enable MCP, add a resource configuration |
| - | * Process Modeler | + | Add the custom scope to the client: |
| - | * CollectorData Read and Create permission | + | |
| - | * Permission according | + | |
| + | '' | ||
| + | Depending on your IdP, you may find this under " | ||
| - | ==== Configure AI system ===== | + | ''< |
| - | Configuration depends on Stages | + | Use this value as the audience in the configuration. In other systems, the audience may be the application' |
| - | === Stages | + | ==== Stages |
| - | Currently Stages MCP server supports Server-Sent Events (SSE) protocol for Tomcat 9 version. The endpoint is '' | + | Add the following to the '' |
| - | ''< | + | < |
| - | + | <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. | ||