Skip to content

Commit 0a96c57

Browse files
author
Jon Slominski
committed
fix(cdk): correct server directory paths to include "stateless" suffix
- Update ECS Fargate server path from sample-ecs-weather-streamablehttp-nodejs-express to sample-ecs-weather-streamablehttp-stateless-nodejs-express - Update Lambda function path from sample-lambda-weather-streamablehttp-nodejs-express to sample-lambda-weather-streamablehttp-stateless-nodejs-express Resolves ValidationError "Cannot find image directory" during CDK deployment
1 parent 768f677 commit 0a96c57

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/cdk/ecs-and-lambda/lib/stacks/mcp-server-stack.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ export class MCPServerStack extends cdk.Stack {
188188
serverName: "WeatherNodeJs",
189189
serverPath: path.join(
190190
__dirname,
191-
"../../servers/sample-ecs-weather-streamablehttp-nodejs-express"
191+
"../../servers/sample-ecs-weather-streamablehttp-stateless-nodejs-express"
192192
),
193193
healthCheckPath: "/weather-nodejs/",
194194
environment: {
@@ -215,7 +215,7 @@ export class MCPServerStack extends cdk.Stack {
215215
code: lambda.DockerImageCode.fromImageAsset(
216216
path.join(
217217
__dirname,
218-
"../../servers/sample-lambda-weather-streamablehttp-nodejs-express"
218+
"../../servers/sample-lambda-weather-streamablehttp-stateless-nodejs-express"
219219
),
220220
{ platform: Platform.LINUX_AMD64 }
221221
),

0 commit comments

Comments
 (0)