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 5b233d8 commit 5025422Copy full SHA for 5025422
src/lib/instrumentation.ts
@@ -4,6 +4,7 @@ import { createRequire } from "module";
4
const require = createRequire(import.meta.url);
5
const packageJson = require("../../package.json");
6
import axios from "axios";
7
+import globalConfig from "../config.js";
8
9
interface MCPEventPayload {
10
event_type: string;
@@ -14,6 +15,7 @@ interface MCPEventPayload {
14
15
success?: boolean;
16
error_message?: string;
17
error_type?: string;
18
+ is_remote?: boolean;
19
};
20
}
21
@@ -43,6 +45,7 @@ export function trackMCP(
43
45
tool_name: toolName,
44
46
mcp_client: mcpClient,
47
success: isSuccess,
48
+ is_remote: globalConfig.REMOTE_MCP,
49
},
50
51
0 commit comments