How to Use Amazon EKS MCP Server

Discover how to install and use Amazon EKS MCP Server with Cline in VS Code. Create EKS clusters, deploy NGINX, and troubleshoot pods with AI-driven ease!

Ashley Goolam

Ashley Goolam

19 June 2025

How to Use Amazon EKS MCP Server

Want to turbocharge your Kubernetes game with AI? The Amazon EKS MCP Server is your new best friend, letting AI assistants like Cline manage your EKS clusters with natural language. I got it running in ~15 minutes, and it’s a total game-changer! In this tutorial, we’ll install the Amazon EKS MCP Server using Cline in VS Code, create a cluster, deploy NGINX, and troubleshoot pods—all with a conversational vibe. Let’s dive into the Amazon EKS MCP Server magic!

💡
Want a great API Testing tool that generates beautiful API Documentation?

Want an integrated, All-in-One platform for your Developer Team to work together with maximum productivity?

Apidog delivers all your demands, and replaces Postman at a much more affordable price!
button

What is the Amazon EKS MCP Server?

The Amazon EKS MCP Server is an open-source tool that empowers AI code assistants (like Cline, Amazon Q, or Cursor) to manage Amazon Elastic Kubernetes Service (EKS) clusters via the Model Context Protocol (MCP). It provides real-time cluster insights and automates tasks like cluster creation, deployments, and troubleshooting. Key features:

The eks mcp server is a “Kubernetes superpower” for AI-driven DevOps. Ready to try it? Let’s go

Why Use the Amazon EKS MCP Server?

The Amazon EKS MCP Server simplifies complex EKS workflows, making it perfect for:

I used it to spin up a cluster and deploy NGINX in minutes—zero manual YAML tweaking!

awslabs

How to Install and Use Amazon EKS MCP Server: Step-by-Step Guide

We’ll focus on installing the Amazon EKS MCP Server with Cline in VS Code, but I’ll briefly touch on manual setup. You’ll need Python 3.10+, AWS CLI, and VS Code. Let’s get started!

1. Prerequisites

2. Manual Installation (Quick Overview)

For a manual setup, clone the repo and install via uv:

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

Configure AWS credentials in ~/.aws/credentials and run the server. But let’s use Cline for a smoother ride

3. Install Cline in VS Code

install cline

I used AWS Bedrock for seamless AWS integration—took ~2 minutes!

4. Install Amazon EKS MCP Server with Cline

# Prompt 1 (Basic)
Install eks-mcp-server from awslabs

# Prompt 2 (In detail)
Install the MCP server named awslabs.eks-mcp-server for Cline. Use uvx to run the server and update mcp settings.
{
  "mcpServers": {
    "awslabs.eks-mcp-server": {
      "command": "uvx",
      "args": ["awslabs.eks-mcp-server@latest", "--allow-write"],
      "env": {
        "AWS_PROFILE": "default",
        "AWS_REGION": "us-east-1",
        "FASTMCP_LOG_LEVEL": "ERROR"
      }
    }
  }
}
eks mcp

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

aws config

Occasionally it would help to have a web-search mcp server (e.g. firecraw) installed in your in your cline just in case cline runs into any errors and needs to browse the web to get some help. You can easily install these via the cline mcp marketplace in cline.

mcp marketplace

5. Create a New EKS Cluster with Cline

# prompt 1 (basic)
Help create a new EKS cluster

# prompt 2 (specifying parameters)
Help create a new EKS cluster named 'my-ai-cluster' in us-east-1 using the Amazon EKS MCP Server.
eksctl get cluster --name my-ai-cluster --region us-east-1

My cluster was up in 12 minutes—Cline handled everything!

new eks cluster

6. Deploy NGINX with Cline

# Eample prompt
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.
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
kubectl get pods -A
NAMESPACE  NAME                           READY  STATUS   RESTARTS  AGE
default    nginx-deployment-abc123-xyz    1/1    Running  0         2m

Cline’s YAML was spot-on, and my NGINX service was live in ~3 minutes!

7. Troubleshoot Pod Issues with Cline

kubectl get pods -A

Output:

NAMESPACE  NAME                           READY  STATUS            RESTARTS  AGE
default    nginx-deployment-abc123-xyz    0/1    CrashLoopBackOff  3         5m
# Example prompt
Figure out the issue with my pods and fix it using the Amazon EKS MCP Server.
pod error
kubectl get pods -A

Output:

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

Cline fixed my pod crash in seconds—pure AI wizardry!

Troubleshooting Amazon EKS MCP Server Issues

lsof -i :3000
kill -9 [PID]
kubectl logs [pod-name]

Customizing and Extending Amazon EKS MCP Server

Level up your setup:

I tweaked my server for us-west-2—took ~5 minutes!

Why Amazon EKS MCP Server is a DevOps Dream

The Amazon EKS MCP Server makes EKS management feel like chatting with a DevOps guru. Its AI-driven workflows outshine manual eksctl setups, though Cline’s setup can be finicky for newbies. Compared to raw Kubernetes, it’s a massive time-saver. The AWS MCP docs are a lifesaver.

Ready to rock the Amazon EKS MCP Server? Fire up Cline, deploy that NGINX, and share your creations!

💡
Want a great API Testing tool that generates beautiful API Documentation?

Want an integrated, All-in-One platform for your Developer Team to work together with maximum productivity?

Apidog delivers all your demands, and replaces Postman at a much more affordable price!
button

Explore more

Why Are KYC APIs Essential for Modern Financial Compliance Success

Why Are KYC APIs Essential for Modern Financial Compliance Success

Discover why KYC APIs are transforming financial compliance. Learn about document verification, AML checks, biometric authentication, and implementation best practices.

16 July 2025

What is Async API and Why Should Every Developer Care About It

What is Async API and Why Should Every Developer Care About It

Discover what AsyncAPI is and why it's essential for modern event-driven applications. Learn about asynchronous API documentation, real-time messaging, and how AsyncAPI differs from REST APIs.

16 July 2025

Voxtral: Mistral AI's Open Source Whisper Alternative

Voxtral: Mistral AI's Open Source Whisper Alternative

For the past few years, OpenAI's Whisper has reigned as the undisputed champion of open-source speech recognition. It offered a level of accuracy that democratized automatic speech recognition (ASR) for developers, researchers, and hobbyists worldwide. It was a monumental leap forward, but the community has been eagerly awaiting the next step—a model that goes beyond mere transcription into the realm of true understanding. That wait is now over. Mistral AI has entered the ring with Voxtral, a ne

15 July 2025

Practice API Design-first in Apidog

Discover an easier way to build and use APIs