yunIO MCP Integration with Microsoft Copilot
This article shows how to integrate yunIO with a Copilot chatbot to retrieve live SAP data using natural language. Users can access SAP data without direct SAP access, transaction code knowledge, or SAP GUI experience.
General Workflow
- 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.
For more information about the yunIO MCP server, see Documentation: MCP Server.
Prerequisites
- A Microsoft account with access to the following Microsoft tools is required:
- Power Automate or Power Apps
- Copilot Studio
- yunIO services have meaningful descriptions and are enabled for MCP, see Documentation: MCP Server - Setup in yunIO.
- The MCP endpoint of yunIO must be exposed to the internet, see Documentation: MCP Server - Setup in yunIO.
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: yunIO-MCP-Server description: |- This is an MCP Connector to the yunIO MCP Server. This connector enables interactions with SAP. version: '1.0' host: yunio.example.com:8177 basePath: / schemes: - https paths: /mcp: post: summary: yunIO 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 is enabled in the yunIO access settings, select No authentication. When using the custom connector, no authentication is required.
- If Authenticated is enabled in the yunIO access settings, 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 yunIO connection settings, select Basic authentication. When using the custom connector, provide the credentials of an SAP dialog user.
- If Anonymous is enabled in the yunIO access settings, 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