Supercharge Kubernetes with Amazon EKS MCP Server & AI Automation

Learn how to automate Amazon EKS Kubernetes management with the open-source EKS MCP Server and AI assistants like Cline. This guide covers setup, cluster creation, NGINX deployment, troubleshooting, and workflow best practices for API teams.

Ashley Goolam

Ashley Goolam

30 January 2026

Supercharge Kubernetes with Amazon EKS MCP Server & AI Automation

Managing Amazon EKS clusters can be complex, especially for API and backend developers who want to move fast without wrestling with YAML files or kubectl commands. What if you could use AI to automate EKS tasks by simply chatting in your IDE?

In this step-by-step guide, you'll learn how to use the Amazon EKS MCP Server—an open-source tool that empowers AI assistants (like Cline) to create EKS clusters, deploy workloads, and troubleshoot Kubernetes, all through natural language. We'll walk through installation in VS Code, deploying NGINX, and best practices for troubleshooting, making cloud-native operations accessible and efficient for modern API teams.

If you need an all-in-one API platform that generates beautiful API Documentation, boosts team productivity, and replaces Postman at a much more affordable price, Apidog is a top choice for API-focused teams.

button

What is Amazon EKS MCP Server?

Amazon EKS MCP Server is an open-source bridge between AI code assistants and Amazon Elastic Kubernetes Service (EKS). It uses the Model Context Protocol (MCP) to enable tools like Cline, Amazon Q, or Cursor to manage EKS clusters via natural language prompts.

Key Features:

The EKS MCP Server is like adding an AI-powered DevOps expert to your workflow—speeding up cluster ops and removing manual toil.


Why Use Amazon EKS MCP Server?

Amazon EKS MCP Server streamlines Kubernetes management for API and backend engineers, offering:

Example: I spun up a new EKS cluster and deployed NGINX in under 15 minutes—no manual YAML!


Step-by-Step: Install & Use Amazon EKS MCP Server with Cline in VS Code

Below, you'll find a practical walkthrough designed for technical users. We'll focus on using Cline in VS Code for the smoothest experience, but also cover manual setup.

Prerequisites

Before starting, ensure you have:


Manual Installation (Quick Overview)

For manual setup:

git clone https://github.com/awslabs/mcp.git
cd mcp/src/eks-mcp-server
uv pip install awslabs.eks-mcp-server
uv run main.py

For most users, the Cline extension in VS Code offers a more seamless experience.


Installing Cline in VS Code

  1. Open VS Code, navigate to Extensions (Ctrl+Shift+X), and search for Cline.
  2. Click Install.
  3. Open the Cline chat panel (Ctrl+Shift+P → "Cline: Open Chat").
  4. Configure an LLM provider (e.g., AWS Bedrock or OpenAI) via Cline settings (gear icon > API Provider).

Tip: AWS Bedrock offers tight AWS integration. Setup takes just a couple of minutes!

install cline


Setting Up Amazon EKS MCP Server via Cline

  1. Open Cline’s chat panel.

  2. Prompt Cline:

    • Basic:
      Install eks-mcp-server from awslabs
    • Detailed:
      Install the MCP server named awslabs.eks-mcp-server for Cline. Use uvx to run the server and update mcp settings.
  3. Approve Cline's actions (e.g., running uvx awslabs.eks-mcp-server@latest).

Cline updates your ~/.aws/amazonq/mcp.json for tool configuration—no manual YAML editing required.

  1. Verify Installation:
    In Cline’s chat, run /tools to list available EKS MCP tools like create_eks_cluster and apply_yaml.

eks mcp

Troubleshooting:
If you see errors (e.g., “docker not found”), add --allow-write to args and ensure eksctl is installed (brew install eksctl on macOS).

  1. AWS Permissions:
    Run aws configure in your terminal and enter your AWS credentials if needed.

aws config

Pro Tip:
Install a web-search MCP server (like firecraw) from the Cline MCP marketplace to help Cline self-diagnose and fix setup issues if they arise.

mcp marketplace


Creating a New EKS Cluster with Cline

  1. In Cline’s chat, prompt:

    • Basic:
      Help create a new EKS cluster
    • Custom:
      Help create a new EKS cluster named 'my-ai-cluster' in us-east-1 using the Amazon EKS MCP Server.
  2. Cline uses the create_eks_cluster tool to automate VPC, subnet, and IAM setup.

  3. Approve the action when prompted.

  4. Monitor Progress:
    Cluster creation takes ~10 minutes. Check status with:

    eksctl get cluster --name my-ai-cluster --region us-east-1
    

    Output: my-ai-cluster is ACTIVE

new eks cluster


Deploying NGINX with Cline

  1. In Cline’s chat, request:
    Prepare a deployment file for NGINX. Create a comprehensive Kubernetes manifest that includes both a deployment and a service for NGINX using the Amazon EKS MCP Server.
    
  2. Cline generates and applies the following manifest:
    apiVersion: apps/v1
    kind: Deployment
    metadata:
      name: nginx-deployment
      namespace: default
    spec:
      replicas: 3
      selector:
        matchLabels:
          app: nginx
      template:
        metadata:
          labels:
            app: nginx
        spec:
          containers:
          - name: nginx
            image: nginx:latest
            ports:
            - containerPort: 80
    ---
    apiVersion: v1
    kind: Service
    metadata:
      name: nginx-service
      namespace: default
    spec:
      selector:
        app: nginx
      ports:
      - protocol: TCP
        port: 80
        targetPort: 80
      type: LoadBalancer
    
  3. Approve the action.
  4. Verify Deployment:
    kubectl get pods -A
    
    Example output:
    NAMESPACE  NAME                           READY  STATUS   RESTARTS  AGE
    default    nginx-deployment-abc123-xyz    1/1    Running  0         2m
    

Result: Your NGINX service is live in minutes, with zero manual YAML tweaking!


Troubleshooting Pod Issues with Cline

If your pods are not running (e.g., CrashLoopBackOff):

  1. Check pod status:

    kubectl get pods -A
    

    Example:

    NAMESPACE  NAME                           READY  STATUS            RESTARTS  AGE
    default    nginx-deployment-abc123-xyz    0/1    CrashLoopBackOff  3         5m
    
  2. Prompt Cline:

    Figure out the issue with my pods and fix it using the Amazon EKS MCP Server.
    
  3. Cline uses tools like get_pod_logs and get_k8s_events to diagnose, then suggests and applies fixes (e.g., updating the image version).

  4. Re-check status:

    kubectl get pods -A
    
    NAMESPACE  NAME                           READY  STATUS   RESTARTS  AGE
    default    nginx-deployment-abc123-xyz    1/1    Running  0         1m
    

pod error

AI-driven troubleshooting helps you quickly resolve deployment issues with minimal effort.


Common Issues & Troubleshooting Tips


Customizing & Extending Amazon EKS MCP Server

Power users can enhance their setup by:

Example: I added support for us-west-2 in under 5 minutes for multi-region testing.


Why API Teams Love Amazon EKS MCP Server

With Amazon EKS MCP Server, Kubernetes management becomes conversational, fast, and reliable. It’s ideal for API developers and teams who want AI-powered automation without sacrificing control or security.

Compared to manual eksctl and kubectl workflows, this approach saves time, reduces errors, and lets your team focus on building great APIs.

If you’re looking to further streamline your API lifecycle—from testing to documentation—consider Apidog for beautiful API docs, integrated team workflows, and the productivity edge your team deserves. Apidog is trusted by API teams seeking a modern, cost-effective alternative to Postman.

button

Explore more

Claude vs Claude Code vs Claude Cowork: Which One Should You Use?

Claude vs Claude Code vs Claude Cowork: Which One Should You Use?

Understand the differences between Claude, Claude Code, and Claude Cowork. Find the right Anthropic AI product for your workflow - coding, chat, or agentic tasks

28 February 2026

Why Stripe's API is the Gold Standard: Design Patterns That Every API Builder Should Steal

Why Stripe's API is the Gold Standard: Design Patterns That Every API Builder Should Steal

A deep dive into the architectural decisions that made Stripe the most beloved API among developers.

28 February 2026

Nano Banana 1 vs Nano Banana 2: The Only Comparison You Need

Nano Banana 1 vs Nano Banana 2: The Only Comparison You Need

Complete comparison of Nano Banana 1 vs Nano Banana 2: resolution, text rendering, prompt understanding, and features. Find out which AI image generator is right for you.

27 February 2026

Practice API Design-first in Apidog

Discover an easier way to build and use APIs