Table of Contents

Stages MCP Server

MCP (Model Context Protocol) has established itself as the universal way to connect LLMs (Large Language Models) and other AI systems with data sources.

The MCP interface is available since Stages 26.2.0.0

What it offers

Stages provides two toolsets:

Regardless of the toolset used, every access request through the Stages MCP interface is tied to a specific user account. Use of the MCP interface therefore requires user-level authentication (see Authentication), and all access is governed by the permissions assigned to the authenticated user. The usage of MCP requires a Contributor license or higher.

The MCP interface cannot provide broader data access than the user has through the Web UI. However, MCP-specific permissions may be configured to further restrict the scope of accessible data (see Permissions).

Chatbot Process Data

This toolset of the Stages MCP server provides access to process data based on the Stages workspace structure. For each workspace, only the currently valid version is accessible; other versions are not exposed through the MCP interface.

The toolset enables chatbots to select a specific workspace and retrieve the required process data either by navigating the hierarchical structure of process elements or by using the search functionality to quickly identify the relevant scope. The retrieved data is provided in JSON format.

The toolset is enabled by default and requires no additional configuration. However, the metamodel provides configuration options that can be used to control which data is excluded from access through this MCP toolset.

AI Agent Governance

This toolset supports agentic development based on Stages processes. It operates on collections, i.e., groups of workspaces that may represent a specific process instance, and provides use-case-specific process information in Markdown format.

The resulting process instructions can be integrated into agents, for example through a Stages skill. This ensures that agents performing development tasks follow the company’s defined processes and methods.

The toolset requires two elements:

How to model and use the toolset find details here Prepare your process for Agentic AI and AI Governance

Configuration

The Stages MCP interface currently requires authentication through an external identity provider (IdP), such as Microsoft Entra ID or Keycloak. As a result, the MCP interface is not available in environments without an external IdP.

Authentication

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.

The Stages MCP server supports different scopes for different toolsets:

You can add both scopes here and decide which ones to allow for each MCP client later. At least one must be added.

Depending on your IdP, you may find this under “Expose an API” or “Client scopes”. In Microsoft Entra ID, specify the Application ID URI using this format:

https://stages.example.com/stages/api/1/mcp

Use this value as the audience in the configuration. In other systems, the audience may be the application's client ID. Stages checks this value against the JWT's audience claim.

Stages configuration

Add the following to the <authentication> section in config.xml:

<method type="JWT" name="myidp">
    <properties>
        <property name="discoveryURI" value="${idp.myidp.oidc.discovery.url}" />
        <property name="audience" value="${idp.myidp.oidc.audience}" />
        <property name="usernameAttribute" value="upn" />
    </properties>
    <filters>
        <attribute-match id="*" pattern="*" defaultUserGroupsUsername="${user.default.username}"
            defaultLicenseType="${user.default.licenseType}" autocreateUser="${saml.autocreate}" />
    </filters>
</method>

Permissions

The MCP integration operates within the permission context of the authenticated user. In addition to the standard permissions for accessing workspaces and process elements, the user requires a permission record granting the “read” operation on the MCP domain for the respective workspace.

The MCP domain therefore provides an additional authorization layer that can be used to restrict MCP access to specific workspaces, independently of the user's existing permissions to view their content.

To enable MCP access to all workspaces for all users, grant the default group “read” permission on the MCP domain for all workspaces.

MCP client configuration

Configure your MCP client to connect to the Stages MCP server at this URL:

https://stages.example.com/stages/api/1/mcp

Stages currently supports Streamable HTTP.

The MCP client will then authenticate with the authorisation server of your identity provider (IdP). Register your MCP clients with your IdP, or activate Dynamic Client Registration. Your MCP client should receive at least one of the two scopes for the specific Stages resource:

Please note that your MCP client tool may request all the scopes that Stages supports. You may need to specify which scopes the tool should request from the IdP.