Skip to content

Commit 0cd5128

Browse files
committed
Fixing various client issues
1 parent bf74238 commit 0cd5128

2 files changed

Lines changed: 1 addition & 5 deletions

File tree

lib/serve/mcp-workbench/src/mcpworkbench/aws/sts_client.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,6 @@ def _create_sts_client(
4545
"aws_access_key_id": access_key_id,
4646
"aws_secret_access_key": secret_access_key,
4747
"region_name": region,
48-
# Use the regional STS endpoint so traffic stays within the VPC
49-
# when an STS VPC endpoint is configured (the global endpoint
50-
# sts.amazonaws.com is not reachable from private subnets).
51-
"endpoint_url": f"https://sts.{region}.amazonaws.com",
5248
}
5349
if session_token:
5450
kwargs["aws_session_token"] = session_token

lib/serve/mcpWorkbenchConstruct.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ export class McpWorkbenchConstruct extends Construct {
184184

185185
return {
186186
environment: {
187-
RCLONE_CONFIG_S3_REGION: config.region,
187+
RCLONE_S3_REGION: config.region,
188188
MCPWORKBENCH_BUCKET: [config.deploymentName, config.deploymentStage, 'MCPWorkbench', config.accountNumber].join('-').toLowerCase(),
189189
CORS_ORIGINS: config.mcpWorkbenchCorsOrigins,
190190
},

0 commit comments

Comments
 (0)