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] – [Installation] 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. | ||
| + | ===== 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. | ||