Skip to content

Commit 427663f

Browse files
authored
chore: add transport to telemetry [MCP-62] (#382)
1 parent ac40e8a commit 427663f

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/telemetry/telemetry.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,7 @@ export class Telemetry {
116116
public getCommonProperties(): CommonProperties {
117117
return {
118118
...this.commonProperties,
119+
transport: this.userConfig.transport,
119120
mcp_client_version: this.session.agentRunner?.version,
120121
mcp_client_name: this.session.agentRunner?.name,
121122
session_id: this.session.sessionId,

src/telemetry/types.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ export type CommonProperties = {
6969
is_container_env?: boolean;
7070
mcp_client_version?: string;
7171
mcp_client_name?: string;
72+
transport?: "stdio" | "http";
7273
config_atlas_auth?: TelemetryBoolSet;
7374
config_connection_string?: TelemetryBoolSet;
7475
session_id?: string;

0 commit comments

Comments
 (0)