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

What Cursor’s Pro Plan "Unlimited-with-Rate-Limits" Means

What Cursor’s Pro Plan "Unlimited-with-Rate-Limits" Means

Cursor’s Pro plan is now unlimited with rate limits. Learn what that means, how rate limits work, what burst and local limits mean and why users are confused.

19 June 2025

Cursor Pro Plan Goes Unlimited (with Rate Limits)

Cursor Pro Plan Goes Unlimited (with Rate Limits)

Cursor’s new Pro plan promises an unlimited-with-rate-limits model, but what does that really mean? Dive into the details, user concerns, and find out whether it is a smart upgrade or sneaky shift.

19 June 2025

How to Run Minimax M1 via API: A Complete Guide

How to Run Minimax M1 via API: A Complete Guide

MiniMax M1, developed by a Shanghai-based AI startup, is a groundbreaking open-weight, large-scale hybrid-attention reasoning model. With a 1 million token context window, efficient reinforcement learning (RL) training, and competitive performance, it’s ideal for complex tasks like long-context reasoning, software engineering, and agentic tool use. This 1500-word guide explores MiniMax M1’s benchmarks and provides a step-by-step tutorial on running it via the OpenRouter API. 💡Want a great API

19 June 2025

Practice API Design-first in Apidog

Discover an easier way to build and use APIs