Setup
In this section we will configure Kiro CLI along with the AWS-hosted Amazon EKS MCP server to work with the EKS cluster using natural language commands.
The fully managed Amazon EKS MCP server is hosted by AWS — there's no local server to install or maintain. Kiro CLI connects to it through a lightweight client-side proxy (mcp-proxy-for-aws) that signs requests with your AWS credentials using SigV4. The Amazon EKS MCP server is in preview and subject to change.
Kiro CLI leverages generative AI capabilities for common development and operations tasks. Its capabilities can be enhanced by adding purpose-built MCP servers for specialized knowledge. In this section we configure three servers: the hosted Amazon EKS MCP server (eks-mcp) for EKS and Kubernetes operations, the hosted AWS API MCP server (aws-mcp) for broader AWS resource access, and the AWS Documentation MCP server for looking up AWS documentation. You can find a catalog of AWS-provided MCP servers here, which can be used with Kiro CLI in a similar way.
First, download the Kiro CLI release for your operating system and CPU architecture:
Install Kiro CLI:
Verify the installation:
kiro-cli 2.10.0
Next, we'll configure Kiro CLI with the hosted MCP servers. Here is the configuration we'll use:
{
"mcpServers": {
"eks-mcp": {
"disabled": false,
"type": "stdio",
"command": "uvx",
"args": [
"mcp-proxy-for-aws@latest",
"https://eks-mcp.${AWS_REGION}.api.aws/mcp",
"--service",
"eks-mcp",
"--region",
"${AWS_REGION}"
]
},
"aws-mcp": {
"disabled": false,
"timeout": 100000,
"type": "stdio",
"command": "uvx",
"args": [
"mcp-proxy-for-aws@latest",
"https://aws-mcp.us-east-1.api.aws/mcp",
"--metadata",
"AWS_REGION=${AWS_REGION}"
]
},
"awslabs.aws-documentation-mcp-server": {
"disabled": false,
"type": "stdio",
"command": "uvx",
"args": [
"awslabs.aws-documentation-mcp-server@latest"
],
"env": {
"FASTMCP_LOG_LEVEL": "ERROR",
"AWS_DOCUMENTATION_PARTITION": "aws"
},
"autoApprove": []
}
}
}
The eks-mcp and aws-mcp entries run the mcp-proxy-for-aws proxy via uvx, which forwards requests to the hosted endpoints (https://eks-mcp.<region>.api.aws/mcp and https://aws-mcp.<region>.api.aws/mcp) and signs them with your AWS credentials. The ${AWS_REGION} placeholders are replaced with your lab's active region when we write the file below.
uvx is a Python package runner tool that comes with the uv package manager. It runs Python packages directly without installing them globally. Then, it downloads and executes Python tools in isolated environments similar to npx for Node.js, but for Python packages.
Write the MCP configuration to ~/.kiro/settings/mcp.json, substituting your region, and install the required uv/uvx tool:
The hosted MCP servers authenticate as your workshop IDE role using AWS SigV4. The required eks-mcp and aws-mcp IAM permissions are already provisioned for your IDE role, and write (privileged) tools work because the eks-workshop cluster's API endpoint is publicly accessible. No aws eks update-kubeconfig or extra credential setup is needed.
To use Kiro CLI, you'll need to authenticate using either an AWS Builder ID or a Pro license subscription.
You can create a free AWS Builder ID by following these instructions. This Builder ID can also be used for personal use of Kiro CLI.
? Select login method >
> Use with Builder ID
Use with Google
Use with GitHub
Use with Your Organization
Select your preferred login method and follow the prompts to login. If you don't already have a Kiro account, you may create a free-trial account using either your Google or GitHub account. You'll need to open a given URL to use link your Google or GitHub account.
A Kiro free-trial account should give you 50 Kiro credits to begin with. This lab may only need less than 5 credits. So, you may use that account even outside this workshop to continue your Kiro trial for other projects. You may check your used credits using /usage command inside a kiro-cli session. No payment details will be required to create a Kiro free-trial account.
Let's verify that the MCP server is available by initializing a session:
To see the tools offered by the configured MCP servers, run:
/tools
You should see output similar to this:

The output shows:
- The space where you can run Kiro commands like
/tools. You should see all such commands when you type/. Learn more about Kiro commands here. - The list of tools offered by the configured MCP servers (
eks-mcp,aws-mcp, and the AWS Documentation server)
When a tool is marked as approval required, Kiro CLI will request your permission before using it. This is a safety measure, particularly for tools that can create, update, or delete resources. Since LLMs can make mistakes, this gives you an opportunity to review potentially disruptive actions before they're executed.
You can follow the same procedure to add other MCP servers from AWS Labs for additional capabilities. For this lab, we'll use the hosted eks-mcp and aws-mcp servers along with the AWS Documentation server we've configured.
In the next section, we'll use Kiro CLI to retrieve information about our EKS cluster.