yunIO MCP Integration with Amazon Q (Kiro)
This article shows how to integrate yunIO with an Amazon Q. Amazon Q is AWS’s generative AI assistant. It appears in the AWS console, IDEs such as Kiro, and the AWS documentation. Integrate the yunIO MCP server with Amazon Q to access SAP data without direct SAP access or transaction-code knowledge. You do not need SAP GUI experience.
About this Article
The depicted example uses the yunIO MCP server in combination with the Amazon Q CLI and the Kiro CLI as the MCP client. The operating system used to run the Amazon Q CLI and the Kiro CLI is Ubuntu. The commands used in this article can vary depending on your Linux OS.
About the CLIs:
- Amazon Q on Linux relies on AWS infrastructure and primarily uses the command line (CLI) as part of AWS infrastructure.
- Kiro is an AI-powered development environment (IDE) created by AWS. Kiro is also an Amazon Q MCP client that is required to register MCP servers locally and connect them to Amazon Q.
Prerequisites
- Operating system for Amazon Q: Any Linux OS, e.g., Ubuntu, Debian, RHEL.
- Operating system for yunIO: Windows-Server (Cloud or On-Premises).
- Connectivity / Security:
- Set up Transport Layer Security in yunIO to make the MCP server accessible via HTTPS (Port 8177).
- Expose the MCP endpoint of yunIO to the internet, see Documentation: MCP Server - Setup in yunIO.
- yunIO services: - Ensure that services have meaningful descriptions and are enabled for MCP, see Documentation: MCP Server - Setup in yunIO.
Setup the MCP Client on Linux
To set up the MCP client on Linux:
-
Install the Amazon Q CLI. For more information, see Amazon Q CLI Documentation: Installation:
-
Install the Kiro CLI. For more information, see Kiro CLI Documentation: Installation.
-
Connect your system to your AWS account (Amazon Q Builder ID or IAM Identity Center):
-
If it does not exist, create a directory
.kiro/settingsin the Linux user's home directory. When using the Amazon Q Developer CLI instead of Kiro to communicate with the MCP server, create a directory.aws/amazonq. -
Inside the
settings/folder, create a new filemcp.json: -
Add the following content to the
mcp.jsonfile. For more information, see Kiro Documentation: MCP Configuration.mcp.json{ "mcpServers": { "yunio-mcp": { "url": "https://yunio.example.com:8177/mcp(1)", "headers": { "Authorization": "Basic ZXhhbXBsZV9vbmx5OmRvX25vdF91c2U=(2)" }, "disabled": false } } }- Replace the example URL with the actual URL of your yunIO MCP server.
- Replace
ZXhhbXBsZV9vbmx5OmRvX25vdF91c2U=with your own base64 encoded yunIO credentials in the formatusername:password.
You can use the following terminal commands to write content to the
mcp.jsonfile:You can use the terminal command
catto write the content to themcp.jsonfile.-
Overwrite the file content:
-
Verify the file content:
You can use the Nano terminal-based text editor to populate the
mcp.jsonfile.-
Open the file in the nano text editor:
-
Paste the content.
- Press Ctrl + O, then Enter to save the changes.
- Press Ctrl + X to exit the editor.
-
Start using the MCP server in the terminal:
Kiro now reads the mcp.json and connects to the yunIO MCP server.
Troubleshooting
- Path errors: Ensure the file is named exactly
mcp.json(lowercase) and located in the hidden folder.aws/amazonq/. -
Connection test: Test the accessibility of the yunIO MCP server with:
If the MCP server is not reachable, check if the MCP server is enabled in the Server Settings.
Related Topics
- Kiro Documentation: MCP Configuration
- Amazon Documentation: Using MCP with Amazon Q Developer
- Knowledge Base Article: Establish an Azure Relay Hybrid Connection to yunIO
- Documentation: MCP Server
- Documentation: Server Settings
Written by: Christian Tauchmann, Valerie Schipka