Retrieve cluster details
In this section we will use Amazon Q CLI along with the MCP server for Amazon EKS to retrieve details of the EKS cluster using natural language commands.
The > symbol at the beginning of a command line indicates you have an active Amazon Q CLI session. You can type or paste the prompt text provided in this lab at this prompt. If you don't see the > prompt, restart your Amazon Q CLI session using the q chat command.
Let's start by getting details about our EKS cluster. Enter the following prompt:
Summarize the configuration of the eks-workshop EKS cluster
Observe how Amazon Q CLI processes this natural language command. You'll notice it executes various aws CLI commands, indicated by the caption Using tool: use_aws. For example:
🛠️ Using tool: use_aws (trusted)
⋮
● Running aws cli command:
Service name: eks
Operation name: describe-cluster
Parameters:
- name: "eks-workshop"
Profile name: default
Region: us-west-2
Label: Get detailed configuration of the eks-workshop cluster
⋮
● Completed in 0.680s
For this prompt Amazon Q CLI didn't need to use any tools from the EKS MCP server.
You should see an EKS cluster summary generated in Markdown format. Expand the section below to see a sample.
Expand for sample response
## EKS Workshop Cluster Configuration Summary
Here's a comprehensive overview of the eks-workshop cluster configuration:
Basic Information:
• **Name**: eks-workshop
• **Version**: Kubernetes 1.33
• **Platform Version**: eks.9
• **Status**: ACTIVE
• **Region**: us-west-2
• **Created**: July 30, 2025
Networking Configuration:
• **VPC ID**: vpc-066877a885d5047b9
• **Service IPv4 CIDR**: 172.16.0.0/16
• **IP Family**: IPv4
• **Subnets**: 6 subnets across multiple AZs
• **Security Groups**:
• Additional: sg-037a5e8882d6773e0
• Cluster: sg-0eb5e48614c13e6d8
API Endpoint Access:
• **Public Access**: Enabled (0.0.0.0/0)
• **Private Access**: Enabled