Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| 262:mcpserver [2026/10/20 09:44] – [Stages MCP Server] 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**. |
| - | ===== How it works ===== | + | |
| - | The Stages MCP server uses the [[262: | + | ===== What it offers ===== |
| - | ===== How to get started ===== | + | The Stages MCP server grants access |
| - | This feature | + | Currently it offers 10 tools to browse and search workspaces and elements. |
| - | 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. | + | ===== Availability ===== |
| - | ==== Installation ===== | + | The Stages MCP server is integrated into Stages 26.2.0.0 and later. |
| - | * Stop Stages | + | Note: Stages 7.12.5.1 or later and Stages 26.1.0.0 or later had a beta implementation |
| - | * 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 ''/ | + | ===== Configuration ===== |
| - | ==== Configure credentials ===== | + | Authentication is currently available only through an external identity provider (IdP), such as Microsoft Entra ID or Keycloak. |
| - | Access to the MCP server and Stages data is protected. A [[262: | + | ==== IdP configuration ==== |
| - | * Process Modeler | + | To enable MCP, add a resource configuration |
| - | * CollectorData Read and Create permission | + | |
| - | * Permission according | + | |
| + | Add the custom scope to the client: | ||
| + | '' | ||
| - | ==== Configure AI system ===== | + | Depending on your IdP, you may find this under " |
| - | Configuration depends on Stages version | + | ''< |
| - | === Stages | + | Use this value as the audience in the configuration. In other systems, the audience may be the application' |
| - | Currently | + | ==== Stages |
| - | ''< | + | Add the following to the ''< |
| - | The API token that was created must be provided to the MCP server via the header '' | + | < |
| - | + | <method type="JWT" | |
| - | 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. | ||