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] – [Configure credentials] 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 ===== | ||
| + | Authentication is currently available only through an external identity provider (IdP), such as Microsoft Entra ID or Keycloak. | ||
| - | ==== Configure AI system ===== | + | ==== IdP configuration |
| - | Configuration depends on Stages version | + | 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. |
| - | === Stages 7.12 / Tomcat 9 === | + | Add the custom scope to the client: |
| - | Currently Stages MCP server supports Server-Sent Events (SSE) protocol for Tomcat 9 version. The endpoint is '' | + | '' |
| - | ''< | + | Depending on your IdP, you may find this under " |
| - | The API token that was created must be provided to the MCP server via the header | + | '' |
| - | An example MCP configuration: | + | Use this value as the audience in the configuration. In other systems, the audience may be the application' |
| - | <code javascript> | + | ==== Stages configuration ==== |
| - | { | + | |
| - | "command": "npx", | + | Add the following to the '' |
| - | " | + | |
| - | "mcp-remote", | + | <code xml> |
| - | | + | <method type="JWT" |
| - | "--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. | ||