mcp icon indicating copy to clipboard operation
mcp copied to clipboard

Cannot Create Lamba Function with Function URL via CCAPI MCP Server

Open kabronkline opened this issue 1 month ago • 2 comments

Describe the bug

When attempting to create Lambda function with HTTP endpoint CCAPI MCP server is attempting to create tags for the Lambda URLs even with DEFAULT_TAGS=disabled. Lambda URLs inherently don't support tags, and the server is trying to inject them anyway which fails.

There is no tag attribute on the CF resource type definition for Lamba URL and there is no tag attribute on the FunctionUrlConfig Lambda API data type.

Expected Behavior

CCAPI MCP server is able to create a Lambda function with a function URL.

Current Behavior

CCAPI MCP server fails to configure a function URL because it tries to add tags despite "DEFAULT_TAGS": "disabled".

Reproduction Steps

Using Claude Desktop with CCAPI MCP server configured start a new chat using Sonnet 4.5 or Haiku 4.5:

"Using AWS MCP create a hello world Lambda with function URL, invoke the functional URL, and display logs."

Presumably the same behavior is exhibited in other MCP Host apps and models. That said my testing was limited to Claude Desktop 1.0.211 (57d46e) on Windows 11 Pro using CCAP MCP server latest as-of 11/2/2025 with env "DEFAULT_TAGS": "disabled".

"awslabs.ccapi-mcp-server": { "disabled": false, "timeout": 60, "type": "stdio", "command": "uv", "args": [ "tool", "run", "--from", "awslabs.ccapi-mcp-server@latest", "awslabs.ccapi-mcp-server.exe" ], "env": { "AWS_PROFILE": "default", "DEFAULT_TAGS": "disabled", "SECURITY_SCANNING": "disabled", "FASTMCP_LOG_LEVEL": "ERROR" } }

Possible Solution

No response

Additional Information/Context

No response

OS

Windows 11

Server

other

Server Version

No response

Region experiencing the issue

Other information

No response

Service quota

  • [x] I have reviewed the service quotas for this construct

kabronkline avatar Nov 02 '25 14:11 kabronkline

@novekm can you take a look?

theagenticguy avatar Nov 03 '25 13:11 theagenticguy

resolved, submitting PR in a bit

novekm avatar Nov 03 '25 19:11 novekm

Resolved by #1643 - will be in next release.

novekm avatar Nov 07 '25 16:11 novekm

Many thanks for the incredibly fast turn around!

kabronkline avatar Nov 07 '25 17:11 kabronkline