Skip to content

fix: add missing ALB listener rules for MCP server endpoints#113

Open
khangtran2604 wants to merge 1 commit intoaws-samples:mainfrom
khangtran2604:fix/missing-mcp-server-endpoint
Open

fix: add missing ALB listener rules for MCP server endpoints#113
khangtran2604 wants to merge 1 commit intoaws-samples:mainfrom
khangtran2604:fix/missing-mcp-server-endpoint

Conversation

@khangtran2604
Copy link
Copy Markdown

Add /mcp/* and /.well-known/* path routing rules to the ALB for the Dify API service. These paths are registered as a separate listener rule (MCPServer) because ALB conditions have a maximum of 5 values per rule, and the existing API paths already use that limit.

Updates CDK snapshots to reflect the new target group and listener rule.

Issue #, if available:

Description of changes:

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Add /mcp/* and /.well-known/* path routing rules to the ALB for the Dify
API service. These paths are registered as a separate listener rule
(MCPServer) because ALB conditions have a maximum of 5 values per rule,
and the existing API paths already use that limit.

Updates CDK snapshots to reflect the new target group and listener rule.
@yhiroaky
Copy link
Copy Markdown
Contributor

yhiroaky commented Apr 3, 2026

Hi, @khangtran2604. Thank you for your contribution.
I'm sorry for the delay in getting back to you.

Can you give me some more background on adding these endpoints (/mcp/* and /.well-known/* )?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants