withInspectedMcpServer
Method
interface McpInspectorResource { // ... omitted for brevity withInspectedMcpServer( mcpServer: IResourceWithEndpoints, isDefault?: boolean, transportType?: McpTransportType, path?: string): McpInspectorResource;}Signature
method
withInspectedMcpServerbuilderConfigures the MCP Inspector resource to use a specified MCP server resource that uses SSE as the transport type.
withInspectedMcpServer( mcpServer: IResourceWithEndpoints, isDefault?: boolean, transportType?: McpTransportType, path?: string): McpInspectorResourceParameters
mcpServerIResourceWithEndpointsisDefaultbooleanoptional= TruetransportTypeMcpTransportTypeoptional= StreamableHttppathstringoptional= /mcpReturns
McpInspectorResourceApplies to
This method applies to the following types: