Skip to content

Commit 2678e9f

Browse files
committed
set network transport to pipe if MCP transport name includes "stdio"
1 parent 00cd668 commit 2678e9f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/core/src/integrations/mcp-server/attributeExtraction.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ export function getTransportTypes(transport: MCPTransport): { mcpTransport: stri
4949
return { mcpTransport: 'unknown', networkTransport: 'unknown' };
5050
}
5151
const transportName = transport.constructor.name?.toLowerCase() || 'unknown';
52-
const networkTransport = transportName === 'stdio' ? 'pipe' : 'tcp';
52+
const networkTransport = transportName.includes('stdio') ? 'pipe' : 'tcp';
5353

5454
return {
5555
mcpTransport: transportName,

0 commit comments

Comments
 (0)