

# Strands Agents

A Strands agent uses the AWS Context tools through an MCP client. Launch the proxy as a subprocess, or sign in-process with the `mcp-proxy-for-aws` library.

```python
from mcp_proxy_for_aws.client import aws_iam_streamablehttp_client
from strands import Agent
from strands.tools.mcp import MCPClient

factory = lambda: aws_iam_streamablehttp_client(
    endpoint="https://context-mcp.us-east-1.api.aws/mcp",
    aws_region="us-east-1",
    aws_service="context-mcp",
)
with MCPClient(factory) as mcp_client:
    agent = Agent(tools=mcp_client.list_tools_sync())
    print(agent("Which tables hold customer orders?"))
```