Skip to content

Receving error in aws agent in kagent #1954

@saireddyb

Description

@saireddyb

apiVersion: v1
kind: ServiceAccount
metadata:
name: central-aws-mcp-sa
namespace: kagent
annotations:
eks.amazonaws.com/role-arn: "arn:aws:iam::accountno:role/kagent-mcp-access"


apiVersion: kagent.dev/v1alpha1
kind: MCPServer
metadata:
name: central-aws-mcp
namespace: kagent
spec:
transportType: stdio
timeout: "120s"
deployment:
image: ghcr.io/astral-sh/uv:python3.13-bookworm-slim
serviceAccountName: central-aws-mcp-sa
env:
AWS_REGION: "ap-south-1"
cmd: "sh"
args:
- "-c"
- "uvx mcp-proxy-for-aws@latest https://aws-mcp.us-east-1.api.aws/mcp --metadata AWS_REGION=$AWS_REGION"

This mcp pod came up and exec in to the pod also aws command are working.
but through agent first tool call works to get aws resource details but subsequent call fails with

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status
    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions