
Eks Mcp Server
- 4 installs
- 39 repo stars
- Updated August 4, 2026
- aws-samples/sample-apex-skills
eks-mcp-server is a Claude Code skill that installs, configures, and troubleshoots the EKS MCP Server connection in AI assistants like Claude Code, Amazon Q CLI, and Cursor.
About
This skill helps a developer install, configure, and troubleshoot the EKS MCP Server connection in an AI assistant such as Claude Code, Amazon Q CLI, or Cursor. It covers config file placement, IAM permissions, uvx installation, and choosing between AWS-hosted and self-hosted modes. It is scoped to setup only and hands off to the EKS MCP tools once working.
- Installs, configures, and troubleshoots the EKS MCP Server in Claude Code, Amazon Q CLI, or Cursor
- Covers AWS-hosted vs self-hosted setup, .mcp.json location, IAM, and uvx install
- Debugs why MCP tools fail to appear after config
Eks Mcp Server by the numbers
- 4 all-time installs (skills.sh)
- Ranked #882 of 1,039 Cloud & Infrastructure skills by installs in the Skillselion catalog
- Data as of Aug 5, 2026 (Skillselion catalog sync)
eks-mcp-server capabilities & compatibility
- Capabilities
- devops
- Works with
- aws
- Use cases
- devops
- IDEs
- cursor ide
- Pricing
- Free
What eks-mcp-server says it does
This skill helps you configure the EKS MCP Server to enable live EKS cluster operations through your AI assistant.
Restart your AI assistant** (IDE, CLI, or extension) to load the new MCP tools
npx skills add https://github.com/aws-samples/sample-apex-skills --skill eks-mcp-serverAdd your badge
Show developers this skill is listed on Skillselion. Paste this into your README.
| Installs | 4 |
|---|---|
| repo stars | ★ 39 |
| Last updated | August 4, 2026 |
| Repository | aws-samples/sample-apex-skills ↗ |
What it does
Install and troubleshoot the EKS MCP Server connection in an AI assistant so its cluster tools appear.
Who is it for?
Setting up or debugging the EKS MCP Server config, IAM, and install in an AI assistant.
Skip if: Actual cluster operations once MCP works, or EKS concept questions.
When should I use this skill?
MCP server setup problems arise or the user mentions eks mcp, mcp.json, or mcp tools not showing.
What you get
A working EKS MCP Server connection with tools available in the AI assistant.
- Configured EKS MCP Server connection
By the numbers
- 2 setup options (AWS-Hosted and Self-Hosted)
Files
EKS MCP Server Setup
This skill helps you configure the EKS MCP Server to enable live EKS cluster operations through your AI assistant.
When to Use This Skill
Don't use this skill for:
- Operational cluster work (listing resources, troubleshooting pods, reading K8s state) — use the EKS MCP tools directly once configured
- EKS concept questions — use the other EKS skills
Quick Check: Is EKS MCP Already Configured?
Before proceeding with setup, check if EKS MCP tools are already available:
1. Look for MCP tools in your current environment starting with eks or mcp__eks 2. Try a simple command: Ask to list EKS clusters — if it works, you're already set up
If MCP tools are available and working, skip this skill and proceed with your EKS task directly.
Choose Your Setup Option
| Option | Best For | Maintenance | AWS Account Required |
|---|---|---|---|
| AWS-Hosted (Managed) | Production, teams, minimal ops | AWS manages everything | Yes |
| Self-Hosted (Open Source) | Air-gapped, custom auth, OIDC | You manage updates | Optional (kubeconfig mode) |
Decision Guide
- Choose AWS-Hosted if: You have AWS credentials, want zero maintenance, need CloudTrail audit logging
- Choose Self-Hosted if: You need OIDC/kubeconfig auth, air-gapped environment, or want to run locally without AWS IAM
Setup Instructions
Setup instructions are in separate reference files to avoid loading unnecessary content:
- AWS-Hosted setup: See references/aws-hosted-setup.md
- Self-Hosted setup: See references/self-hosted-setup.md
Read the appropriate reference file based on the user's chosen option, then guide them through configuration.
After Setup
Once the MCP server is configured:
1. Restart your AI assistant (IDE, CLI, or extension) to load the new MCP tools 2. Verify connection: Ask to list EKS clusters or available MCP tools 3. Start using EKS tools: The MCP server provides tools for cluster management, K8s resources, troubleshooting, and observability
This skill's job is done once setup is complete. Hand off to the EKS MCP tools for actual cluster operations.
AWS-Hosted EKS MCP Server Setup
Part of: eks-mcp-server
Note: The AWS-Hosted EKS MCP Server is currently in preview.
The fully managed EKS MCP Server is hosted by AWS, providing enterprise-grade capabilities with zero local maintenance.
Prerequisites
- AWS account with EKS clusters
- AWS CLI installed and configured (
aws configure list) - Python 3.10+ (
python3 --version) uvpackage manager (uv --version) — install viacurl -LsSf https://astral.sh/uv/install.sh | sh
Step 1: Configure IAM Permissions
Attach the appropriate managed policy to your IAM role/user:
| Access Level | Managed Policy |
|---|---|
| Read-only (recommended to start) | AmazonEKSMCPReadOnlyAccess |
| Full access (includes write ops) | Create custom policy below |
For read-only, attach via IAM console or CLI:
aws iam attach-user-policy --user-name YOUR_USER --policy-arn arn:aws:iam::aws:policy/AmazonEKSMCPReadOnlyAccessRequired IAM actions for the MCP proxy:
eks-mcp:InvokeMcp— initialization and tool discoveryeks-mcp:CallReadOnlyTool— read operationseks-mcp:CallPrivilegedTool— write operations (optional)
Step 2: Configure Your AI Assistant
Add the EKS MCP server to your assistant's MCP configuration. Replace {region} with your AWS region (e.g., us-west-2).
The same JSON below works for every supported assistant — only the config file path (or UI entry point) differs.
{
"mcpServers": {
"eks-mcp": {
"command": "uvx",
"args": [
"mcp-proxy-for-aws@latest",
"https://eks-mcp.{region}.api.aws/mcp",
"--service", "eks-mcp",
"--region", "{region}"
]
}
}
}Config File Locations by Assistant
| Assistant | Config File / Entry Point | Notes |
|---|---|---|
| Amazon Q Developer CLI | ~/.aws/amazonq/mcp.json | — |
| Claude Code | .mcp.json (project) or ~/.claude.json (user) | Prefer project-scope .mcp.json (checked in, shared with teammates). For user scope, run claude mcp add -s user — do not hand-edit ~/.claude.json. |
| Cursor IDE | Settings → Cursor Settings → Tools & MCP → New MCP Server | — |
| Kiro IDE | ~/.kiro/settings/mcp.json or .kiro/settings/mcp.json | — |
| VS Code (Cline Extension) | Cmd/Ctrl+Shift+P → "MCP" → Add Server → Open User Configuration | — |
Optional: Read-Only Mode
Add --read-only to args to disable write operations:
"args": [
"mcp-proxy-for-aws@latest",
"https://eks-mcp.{region}.api.aws/mcp",
"--service", "eks-mcp",
"--region", "{region}",
"--read-only"
]Optional: Multiple AWS Profiles
Specify a profile with --profile:
"args": [
"mcp-proxy-for-aws@latest",
"https://eks-mcp.{region}.api.aws/mcp",
"--service", "eks-mcp",
"--profile", "production",
"--region", "{region}"
]Windows Users
Use this format for the args array:
"args": [
"--from", "mcp-proxy-for-aws@latest",
"mcp-proxy-for-aws.exe",
"https://eks-mcp.{region}.api.aws/mcp",
"--service", "eks-mcp",
"--region", "{region}"
]Step 3: Verify Setup
1. Restart your AI assistant 2. Ask: "List my EKS clusters" or "What EKS MCP tools are available?"
Troubleshooting
| Issue | Solution |
|---|---|
| "Access Denied" | Check IAM policy has eks-mcp:* actions |
| Tools not appearing | Restart IDE/CLI after config change |
| Connection timeout | Verify region matches your EKS clusters |
| Proxy issues | Set HTTP_PROXY/HTTPS_PROXY env vars |
References
Self-Hosted EKS MCP Server Setup
Part of: eks-mcp-server
The open-source EKS MCP server from awslabs/mcp runs locally on your machine, providing full control over authentication and configuration.
Prerequisites
- Python 3.10+ (
python3 --version) uvpackage manager (uv --version) — install viacurl -LsSf https://astral.sh/uv/install.sh | sh- For IAM mode: AWS CLI configured (
aws configure list) - For kubeconfig mode: Valid kubeconfig with cluster access
Authentication Modes
| Mode | Use When | AWS Credentials |
|---|---|---|
| IAM (default) | Standard AWS/EKS setup | Required |
| kubeconfig | OIDC auth, air-gapped, non-AWS K8s | Not required |
Step 1: Configure IAM (IAM Mode Only)
For IAM authentication, attach these permissions to your IAM role/user:
Read-Only Policy
{
"Version": "2012-10-17",
"Statement": [{
"Effect": "Allow",
"Action": [
"eks:DescribeCluster",
"eks:DescribeInsight",
"eks:ListInsights",
"ec2:DescribeVpcs",
"ec2:DescribeSubnets",
"ec2:DescribeRouteTables",
"cloudformation:DescribeStacks",
"cloudwatch:GetMetricData",
"logs:StartQuery",
"logs:GetQueryResults",
"iam:GetRole",
"iam:GetRolePolicy",
"iam:ListRolePolicies",
"iam:ListAttachedRolePolicies",
"iam:GetPolicy",
"iam:GetPolicyVersion",
"eks-mcpserver:QueryKnowledgeBase"
],
"Resource": "*"
}]
}Write Operations
For write access (cluster creation, deployments), also attach:
IAMFullAccessAmazonVPCFullAccessAWSCloudFormationFullAccess- EKS Full Access:
"Action": "eks:*"
Step 2: Configure Your AI Assistant
Basic Configuration (IAM Mode)
{
"mcpServers": {
"awslabs.eks-mcp-server": {
"command": "uvx",
"args": [
"awslabs.eks-mcp-server@latest",
"--allow-write",
"--allow-sensitive-data-access"
],
"env": {
"AWS_PROFILE": "default",
"AWS_REGION": "us-west-2",
"FASTMCP_LOG_LEVEL": "ERROR"
}
}
}
}Kubeconfig Mode (OIDC/Non-IAM)
{
"mcpServers": {
"awslabs.eks-mcp-server": {
"command": "uvx",
"args": [
"awslabs.eks-mcp-server@latest",
"--allow-write",
"--allow-sensitive-data-access"
],
"env": {
"EKS_AUTH_MODE": "kubeconfig",
"KUBECONFIG": "~/.kube/config",
"FASTMCP_LOG_LEVEL": "ERROR"
}
}
}
}Note: In kubeconfig mode, AWS-specific tools are disabled:
manage_eks_stacks(CloudFormation)get_cloudwatch_logs,get_cloudwatch_metricsget_eks_vpc_config,get_eks_insightsget_policies_for_role,add_inline_policy
Read-Only Mode
Remove --allow-write and --allow-sensitive-data-access for safer operation:
"args": ["awslabs.eks-mcp-server@latest"]Config File Locations by Assistant
| Assistant | Config File |
|---|---|
| Amazon Q CLI | ~/.aws/amazonq/mcp.json |
| Claude Code | .mcp.json (project) or ~/.claude.json (user, via claude mcp add -s user) |
| Cursor | Settings → Tools & MCP |
| Kiro | ~/.kiro/settings/mcp.json |
| VS Code (Cline) | Cmd+Shift+P → MCP → User Config |
Windows Users
Use this format for the args array:
"args": [
"--from", "awslabs.eks-mcp-server@latest",
"awslabs.eks-mcp-server.exe",
"--allow-write",
"--allow-sensitive-data-access"
]Command-Line Arguments
| Argument | Description |
|---|---|
--allow-write | Enable create/update/delete operations |
--allow-sensitive-data-access | Enable logs, events, secrets access |
To switch between IAM and kubeconfig auth, set the EKS_AUTH_MODE env var (see Environment Variables below) — the JSON examples above use this approach.
Environment Variables
| Variable | Description | Default |
|---|---|---|
AWS_PROFILE | AWS credentials profile | default |
AWS_REGION | AWS region for EKS | None (uses default AWS region) |
EKS_AUTH_MODE | iam or kubeconfig | iam |
KUBECONFIG | Path to kubeconfig file | ~/.kube/config |
FASTMCP_LOG_LEVEL | Log verbosity | WARNING |
HTTP_PROXY / HTTPS_PROXY | Proxy settings | none |
Region pitfall: When used with the AWS-hosted proxy,mcp-proxy-for-awssigns SigV4 againstus-west-2by default while the proxy's--regionflag falls back tous-east-1when unset — always set--region(andAWS_REGION) explicitly to the region of your clusters to avoid a region-mismatch failure.
Step 3: Verify Setup
1. Restart your AI assistant 2. Ask: "List my EKS clusters" or "What tools are available?"
Available Tools
Always Available
list_k8s_resources,manage_k8s_resource(supportscreate,read,update,deleteoperations —readreplaces the older standaloneread_k8s_resourcetool)apply_yaml,generate_app_manifestget_pod_logs,get_k8s_eventslist_api_versions
IAM Mode Only
manage_eks_stacks— CloudFormation cluster managementget_cloudwatch_logs,get_cloudwatch_metrics— observabilityget_eks_vpc_config— VPC configurationget_eks_insights— upgrade readinessget_policies_for_role,add_inline_policy— IAM managementsearch_eks_troubleshoot_guide— troubleshooting KB
Troubleshooting
| Issue | Solution |
|---|---|
| Permission errors | Verify IAM policy or kubeconfig RBAC |
| Tools not appearing | Restart IDE/CLI; check FASTMCP_LOG_LEVEL=DEBUG |
| K8s API errors | Ensure EKS access entry exists for your principal |
| kubeconfig not found | Set KUBECONFIG env var to correct path |
References
Related skills
FAQ
What are the setup options?
AWS-Hosted (managed, needs an AWS account) for production and teams, or Self-Hosted (open source) for air-gapped, custom auth, or OIDC/kubeconfig mode.
What after setup?
Restart the AI assistant to load the tools, verify by listing EKS clusters, then use the EKS MCP tools directly.