yunIO MCP Integration with Microsoft Copilot
This article shows how to integrate yunIO with a Copilot chatbot to enable natural language access to live SAP data. With this setup, users can retrieve and interact with SAP data without direct SAP access, transaction code knowledge, or SAP GUI experience.
General Workflow
To integrate yunIO with Microsoft Copilot via the MCP server:
- Create yunIO services that access relevant SAP data.
- Expose the services via MCP to Microsoft cloud applications.
- In Microsoft Power Automate or Microsoft Power Apps, create a Custom Connector for the yunIO MCP endpoint.
- In Microsoft Copilot Studio, create a new agent and add the Custom Connector as a new tool.
- Configure and publish your Copilot chatbot.
This setup allows Microsoft Copilot to securely access and execute yunIO services in SAP through MCP, enabling both interactive use cases and automated business processes.
Prerequisites
- A Microsoft account with access to the following Microsoft tools is required:
- Power Automate or Power Apps
- Copilot Studio
- yunIO services must have meaningful descriptions and be enabled for MCP, see Documentation: MCP Server - Expose Srvices via MCP.
- The MCP endpoint of yunIO is exposed to the internet, see Documentation: MCP Server - Activate MCP.
Note
When integrating services from an on-premise yunIO installation with a cloud hosted platform like Power Automate, it is recommended to use a gateway to tunnel the connection, e.g., the Microsoft On-premises data gateway. For more information about yunIO networking settings, see yunIO Networking Scenarios.
Setup in Power Automate
Follow the steps below to create a Custom Connector in Microsoft Power Automate that connects to the yunIO MCP endpoint. The same procedure can be applied in Microsoft Power Apps.
- In Power Automate, open the section Custom Connectors.
- Click + New custom connector > Create from blank.

- Give the connector a name of your choice and click Continue.
- In the General tab, enter the connection details of your yunIO instance.
- If you use an on-premises data gateway to expose the MCP endpoint of yunIO, activate the checkbox Connect via on-premises gateway.
- Click Swagger editor to open the swagger view of the general connector settings.

-
Copy the MCP server schema (the
pathsection) of the following template into the swagger editor:MCP Server Connection Details Exampleswagger: '2.0' info: title: SAP-MCP-Server description: |- This is an MCP Connector to the MCP Server. This connector enables interactions with SAP. version: '1.0' host: sap-link.example.com:8177 basePath: / schemes: - https paths: /mcp: post: summary: SAP MCP Server x-ms-agentic-protocol: mcp-streamable-1.0 operationId: InvokeMCP responses: '200': description: SuccessFor more information, see Microsoft Documentation: MCP server schema example.
-
In the Security tab, select the authentication type for the MCP server.
- If Anonymous access is enabled in yunIO, select No authentication. When using the custom connector, no authentication is required.
- If Authenticated access is enabled in yunIO, select Basic authentication. When using the custom connector, provide the credentials of a yunIO user.
- If Request credentials from callers when running services is enabled in the SAP connection, select Basic authentication. When using the custom connector, provide the credentials of an SAP dialog user.
- If Anonymous access is enabled in yunIO, select No authentication. When using the custom connector, no authentication is required.
- Click Create connector.
The custom connector to the yunIO MCP server is now ready to use.
Setup in Copilot Studio
Follow the steps below to set up a chatbot in Microsoft Copilot Studio:
- Log into Microsoft Copilot Studio.
- Go to Create and click [+ New Agent].

- Enter a name and description of the agent and click [Create]. A new agent is created.
- In the Tools tab of the agent, click [+ Add a tool]. A tool selection opens.

- In the tool selection, click Multi-Context-Protocol and select your MCP custom connector.

- Go to Not connected > Create new connection.

- If prompted, enter your yunIO credentials.
- Click [Add to agent]. This might take some time.
- Go to Tools >
> Tools to check if your yunIO services are available.

-
Test the copilot chatbot in Copilot Studio.
The example below demonstrates how to call a service that reads customer data from the SAP table KNA1.Example Prompt: "Give me a list of all customers from Germany."
When executed, the chatbot:
- Identifies the user's intent and calls the corresponding yunIO service .
- Translates the user input into a WHERE clause to filter KNA1 records .
- Returns the resulting SAP data in a readable text format .

The chatbot is now ready to be published. For more information, see Microsoft Documentation: Publish your copilot.
Related Topics
- Microsoft Documentation: Create a copilot
- Knowledge Base Article: Establish an Azure Relay Hybrid Connection to yunIO
- Documentation: MCP Server
- Documentation: Server Settings
Written by: Ron Brütsch, Valerie Schipka