Add MCP connection patterns guide for AgentCore Runtime #336
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Addresses #246 - Provides golden path for managing connections between Strands agents and MCP servers on AgentCore Runtime, including:
Description
Adds comprehensive guide for MCP connection patterns on AgentCore Runtime to address issue #246. This documentation provides authoritative guidance on persistent connections, connection pooling, service discovery, and lifecycle management for MCP servers.
Type of Change
Motivation and Context
Issue #246 identified the need for clear architectural patterns for MCP connection management in AgentCore Runtime. Current documentation lacks guidance on persistent connections vs per-request initialization, leading to performance issues and implementation confusion. This guide eliminates the overhead of per-request reinitialization and provides best practices for production deployments.
Areas Affected
user-guide/deploy/mcp-connection-patterns.mdmkdocs.yml(added navigation entry)Screenshots
N/A - Documentation only
Checklist
mkdocs serveAdditional Notes
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.