Skip to content

cfn-mcp-server: List resources does not support ResourceModel parameter for CC API #403

@niallthomson

Description

@niallthomson

Describe the bug

There are some Cloud Control API resources that require additional parameters when listing. This is done with the ResourceModel request input.

For example, I tried to list all EKS Node Groups for a specific EKS cluster and it was not possible to do. There does not seem to be any way for models to pass in this parameter.

NOTE: Selected server below is not accurate, CFN MCP not in the options.

Expected Behavior

When I try to list resources that required additional parameters it should allow the model to generate an appropriate payload and get a response.

Current Behavior

Payload the model generated:

{ "resource_type": "AWS::EKS::Nodegroup", "region": "us-west-2" }

Response:

Error: Error executing tool list\_resources: An error occurred: An error occurred (InvalidRequestException) when calling the ListResources operation: Missing or invalid ResourceModel property in AWS::EKS::Nodegroup list handler request input.Required property: (#: required key \[ClusterName] not found)

Reproduction Steps

Install the CFN MCP.

Prompt:

List the EKS node groups for EKS cluster named XXX

Possible Solution

Accept the parameter mentioned above

Additional Information/Context

No response

OS

OSX

Server

core-mcp-server

Server Version

No response

Region experiencing the issue

us-west-2

Other information

No response

Service quota

  • I have reviewed the service quotas for this construct

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions