Skip to content

feat(bedrockagentcore): add MCP session timeout and response streaming to Gateway #38341

Open
mazyu36 wants to merge 1 commit into
aws:mainfrom
mazyu36:feat/bedrockagentcore-gateway-mcp-session-streaming
Open

feat(bedrockagentcore): add MCP session timeout and response streaming to Gateway #38341
mazyu36 wants to merge 1 commit into
aws:mainfrom
mazyu36:feat/bedrockagentcore-gateway-mcp-session-streaming

Conversation

@mazyu36

@mazyu36 mazyu36 commented Jul 18, 2026

Copy link
Copy Markdown
Contributor

Issue # (if applicable)

N/A

Reason for this change

The L1 CfnGateway.MCPGatewayConfigurationProperty supports SessionConfiguration and
StreamingConfiguration, but the L2 McpConfiguration doesn't expose either — a coverage
gap between L1 and L2.

Description of changes

  • Add sessionTimeout?: Duration and enableResponseStreaming?: boolean to McpConfiguration,
    rendered into the matching CFN properties when set (omitted otherwise, backwards compatible).
  • Validate sessionTimeout against CloudFormation's documented bounds (900–28800s), Token-aware.
  • Update the module README.

Describe any new or updated permissions being added

None.

Description of how you validated changes

Unit tests (rendering, defaults, boundary/range validation) and a new integration test,
verified end-to-end with a real deployment.

Checklist


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license

@github-actions github-actions Bot added the p2 label Jul 18, 2026
@aws-cdk-automation
aws-cdk-automation requested a review from a team July 18, 2026 11:28
@github-actions github-actions Bot added the distinguished-contributor [Pilot] contributed 50+ PRs to the CDK label Jul 18, 2026
@github-actions

Copy link
Copy Markdown
Contributor

👋 It looks like your PR description follows the template but is missing a valid issue number in the first section.

PRs without a linked issue will receive lower priority for review and merging. Please update the description to include a reference like Closes #123. If no existing issue matches your change, create one first.

@mazyu36
mazyu36 force-pushed the feat/bedrockagentcore-gateway-mcp-session-streaming branch from 78522bc to 4faea87 Compare July 18, 2026 12:28
@mazyu36
mazyu36 force-pushed the feat/bedrockagentcore-gateway-mcp-session-streaming branch from 4faea87 to ecb773a Compare July 18, 2026 12:52
@mazyu36
mazyu36 force-pushed the feat/bedrockagentcore-gateway-mcp-session-streaming branch from ecb773a to b618ff0 Compare July 18, 2026 12:55
@mazyu36
mazyu36 marked this pull request as ready for review July 18, 2026 22:53
@mazyu36 mazyu36 changed the title feat(bedrockagentcore): add MCP session timeout and response streaming to Gateway feat(bedrockagentcore): add MCP session timeout and response streaming to Gateway Jul 19, 2026
@aws-cdk-automation aws-cdk-automation added the pr/needs-community-review This PR needs a review from a Trusted Community Member or Core Team Member. label Jul 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

distinguished-contributor [Pilot] contributed 50+ PRs to the CDK p2 pr/needs-community-review This PR needs a review from a Trusted Community Member or Core Team Member.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants