@aws/run-mcp-servers-with-aws-lambda 0.4.8 → 0.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -5
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -570,12 +570,12 @@ See a full, deployable example [here](examples/servers/cat-facts/).
|
|
|
570
570
|
|
|
571
571
|
```python
|
|
572
572
|
from mcp import ClientSession
|
|
573
|
-
from
|
|
573
|
+
from mcp_proxy_for_aws.client import aws_iam_streamablehttp_client
|
|
574
574
|
|
|
575
|
-
async with
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
575
|
+
async with aws_iam_streamablehttp_client(
|
|
576
|
+
endpoint="https://url-id-12345.lambda-url.us-west-2.on.aws",
|
|
577
|
+
aws_service="lambda",
|
|
578
|
+
aws_region="us-west-2",
|
|
579
579
|
) as (
|
|
580
580
|
read_stream,
|
|
581
581
|
write_stream,
|