This page is generated from skills/eks-mcp-server/references/aws-hosted-setup.md. Edit the source, not this page.
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 in the range the chosen release declares (
python3 --version; SKILL.md Step 1b reads it from PyPI) uvpackage manager (uv --version) — install viacurl -LsSf https://astral.sh/uv/install.sh | sh- Kubernetes access for the MCP caller. For IAM-authenticated EKS reads, use an access entry with an appropriate policy or RBAC binding, or an existing
aws-authmapping where supported. The assessment skills do not change access. During setup a principal with effectivePowerUserAccesscan create its own entry.
AmazonEKSViewPolicy grants Kubernetes read permissions only, no IAM permissions, and covers most namespaced workload resources but not Secrets or most cluster-scoped and extension resources (for example nodes, persistentvolumes, storageclasses, ingressclasses, CRDs, admission webhook configurations, Gateway API resources and metrics.k8s.io); confirm each read through the MCP server (Step 3). Policy ARN: arn:aws:eks::aws:cluster-access-policy/AmazonEKSViewPolicy.
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 a write policy (AWS example EKSMcpWriteManagementPolicy, Getting started, Step 2) |
AWS-hosted read-only still returns pod logs, events, CloudWatch logs and resource reads; there is no sensitive-data flag. Limit what the principal's access entry can read.
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/AmazonEKSMCPReadOnlyAccess
Required 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.
<version> is the SKILL.md Step 1b result: latest, or the exact version the user pinned.
The package is mcp-proxy-for-aws-cli, which the proxy's maintainers recommend for uvx: each release pins the proxy's whole dependency tree to tested versions. The AWS EKS user guide still shows the unsuffixed mcp-proxy-for-aws, the library distribution with loose dependency ranges.
{
"mcpServers": {
"eks-mcp": {
"command": "uvx",
"args": [
"mcp-proxy-for-aws-cli@<version>",
"https://eks-mcp.{region}.api.aws/mcp",
"--service", "eks-mcp",
"--region", "{region}",
"--read-only"
]
}
}
}
Config File Locations by Assistant
| Assistant | Config File / Entry Point | Notes |
|---|---|---|
| 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 | — |
Opt-in: Write Access
The examples here are read-only (--read-only removes write tools from the list and rejects calls to them), the recommended start. To enable writes, remove --read-only from args and attach a write policy (Step 1).
Optional: Multiple AWS Profiles
Specify a profile with --profile:
"args": [
"mcp-proxy-for-aws-cli@<version>",
"https://eks-mcp.{region}.api.aws/mcp",
"--service", "eks-mcp",
"--profile", "production",
"--region", "{region}",
"--read-only"
]
Windows Users
Use this format for the args array:
"args": [
"--from", "mcp-proxy-for-aws-cli@<version>",
"mcp-proxy-for-aws-cli.exe",
"https://eks-mcp.{region}.api.aws/mcp",
"--service", "eks-mcp",
"--region", "{region}",
"--read-only"
]
Step 3: Verify Setup
- Restart your AI assistant
- Ask: "List my EKS clusters" or "What EKS MCP tools are available?"
- For EKS, compare the MCP connection's cluster ARN or endpoint with
aws eks describe-cluster --name <cluster> --region <region>before any Kubernetes request. Stop if the match cannot be verified. Through the verified connection, test a required read such as listing nodes for cost or ingressclasses for ingress. If it fails, report the missing read. Where entries are enabled,aws eks list-access-entries --cluster-name <cluster> --region <region>can help diagnose the failure. An empty or denied listing alone does not establish whether the read is authorized.
Troubleshooting
| Issue | Solution |
|---|---|
| "Access Denied" | Check the IAM policy grants eks-mcp:InvokeMcp and eks-mcp:CallReadOnlyTool (both in AmazonEKSMCPReadOnlyAccess); for write mode, also attach a write policy with eks-mcp:CallPrivilegedTool and the service write actions (AWS example EKSMcpWriteManagementPolicy, Getting started, Step 2) |
| 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 |