We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8c344f8 commit ee01081Copy full SHA for ee01081
mcp/mcp-cli/src/main/java/software/amazon/smithy/java/mcp/cli/commands/StartServer.java
@@ -191,6 +191,14 @@ public void execute(ExecutionContext context) throws IOException {
191
.build());
192
}
193
194
+ var metrics = context.metrics();
195
+ var mcpsStarted = String.join(":", services.keySet());
196
+ metrics.addProperty("McpStarted", mcpsStarted);
197
+
198
+ if (toolAssistant) {
199
+ metrics.addCount("ToolAssistant", 1);
200
+ }
201
202
this.mcpServer =
203
(McpServer) McpServer.builder()
204
.stdio()
0 commit comments