Skip to content

Commit 22794a5

Browse files
authored
Enhance Initial MCP tracking (#29)
1 parent e8ee74b commit 22794a5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ import addBrowserLiveTools from "./tools/live";
1212
import addAccessibilityTools from "./tools/accessibility";
1313
import addAutomateTools from "./tools/automate";
1414
import addTestManagementTools from "./tools/testmanagement";
15+
import { trackMCP } from "./lib/instrumentation";
1516

1617
function registerTools(server: McpServer) {
1718
addSDKTools(server);
@@ -42,6 +43,7 @@ async function main() {
4243
await server.connect(transport);
4344

4445
logger.info("MCP server started successfully");
46+
trackMCP("started", server.server.getClientVersion()!);
4547
}
4648

4749
main().catch(console.error);

0 commit comments

Comments
 (0)