Skip to content

Commit 1f90ff4

Browse files
committed
Minor changes to descriptions and messages
1 parent 3fe46ad commit 1f90ff4

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

aws/aws-mcp-cli-commands/src/main/java/software/amazon/smithy/java/aws/mcp/cli/commands/AddAwsServiceBundle.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public class AddAwsServiceBundle extends AbstractAddBundle {
3535
protected Set<String> blockedApis;
3636

3737
@Option(names = "--read-only-apis",
38-
description = "Include read only APIs in the MCP server")
38+
description = "Include only read-only APIs in the MCP server")
3939
protected Boolean readOnlyApis;
4040

4141
@Override

aws/aws-mcp-cli-commands/src/main/java/software/amazon/smithy/java/aws/mcp/cli/commands/CreateAwsServiceBundle.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ public static class Input {
7373
}
7474

7575
public static class CreateAwsServiceBundleInput extends CreateBundleInput {
76-
@Parameters(description = "Name of aws service to create the bundle for.")
76+
@Parameters(description = "Name of AWS service to create the bundle for")
7777
String awsServiceName;
7878

7979
@Option(names = {"-a", "--allowed-apis"}, description = "List of APIs to expose in the MCP server")
@@ -83,7 +83,7 @@ public static class CreateAwsServiceBundleInput extends CreateBundleInput {
8383
protected Set<String> blockedApis;
8484

8585
@Option(names = "--read-only-apis",
86-
description = "Include read only APIs in the MCP server")
86+
description = "Include only read-only APIs in the MCP server")
8787
protected Boolean readOnlyApis;
8888
}
8989
}

mcp/mcp-cli-api/model/main.smithy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ structure CommonToolConfig {
3838

3939
@default(false)
4040
local: PrimitiveBoolean
41-
41+
4242
metadata: BundleMetadata
4343
}
4444

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public abstract static class CreateBundleInput {
2626
@Option(names = {"--name"}, description = "Name for this MCP server. Eg: (Pipelines MCP Server)")
2727
public String name;
2828

29-
@Option(names = {"-d", "--description"}, description = "Description of this mcp server.", required = true)
29+
@Option(names = {"-d", "--description"}, description = "Description of this mcp server.")
3030
public String description;
3131

3232
@ArgGroup
@@ -61,7 +61,7 @@ protected void execute(ExecutionContext context) throws Exception {
6161
var bundle = getNewBundle(input);
6262
ConfigUtils.addMcpBundle(config, input.id, bundle, true);
6363
ConfigUtils.createWrapperAndUpdateClientConfigs(input.id, bundle, config, input.clientsInput);
64-
System.out.println("Successfully created bundle " + input.id);
64+
System.out.println("Successfully created mcp server " + input.id);
6565
}
6666

6767
protected abstract T getInput();

0 commit comments

Comments
 (0)