Skip to content

Commit b68803c

Browse files
committed
Do not create a wrapper for generic bundles for now
1 parent e6ee2b7 commit b68803c

File tree

1 file changed

+1
-1
lines changed
  • mcp/mcp-cli-api/src/main/java/software/amazon/smithy/java/mcp/cli

1 file changed

+1
-1
lines changed

mcp/mcp-cli-api/src/main/java/software/amazon/smithy/java/mcp/cli/ConfigUtils.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -511,7 +511,7 @@ public static void createWrapperAndUpdateClientConfigs(
511511
boolean shouldCreateWrapper = true;
512512
List<String> args = List.of();
513513
String command = id;
514-
if (bundle.getValue() instanceof GenericBundle genericBundle && genericBundle.isExecuteDirectly()) {
514+
if (bundle.getValue() instanceof GenericBundle genericBundle) {
515515
command = genericBundle.getRun().getExecutable();
516516
args = genericBundle.getRun().getArgs();
517517
shouldCreateWrapper = false;

0 commit comments

Comments
 (0)