McpInspectorResource
Handle
type McpInspectorResource interface { IComputeResource Resource ResourceWithArgs ResourceWithContainerFiles ResourceWithEndpoints ResourceWithEnvironment ResourceWithWaitSupport}Methods
Configures the MCP Inspector to use bun as the package manager.
WithBun() McpInspectorResourceReturns
McpInspectorResource A reference to the I.
Returns a handle; failures surface later via Err().
Configures the MCP Inspector resource to use a specified MCP server resource that uses SSE as the transport type.
WithInspectedMcpServer( mcpServer ResourceWithEndpoints, options ...*WithInspectedMcpServerOptions,) McpInspectorResourceParameters
mcpServer ResourceWithEndpoints The IResourceBuilder for the MCP server resource.options...*WithInspectedMcpServerOptions Optional settings, described under Options.Options
Optional parameters are passed in a trailing options ...*WithInspectedMcpServerOptions argument.
IsDefault *boolIndicates whether this MCP server should be considered the default server for the MCP Inspector.TransportType *McpTransportType The transport type to use for the MCP server. Defaults to StreamableHttp .Path*stringThe path to use for MCP communication. Defaults to "/mcp".Returns
McpInspectorResource A reference to the I for further configuration.
Returns a handle; failures surface later via Err().
Configures the MCP Inspector to use pnpm as the package manager.
WithPnpm() McpInspectorResourceReturns
McpInspectorResource A reference to the I.
Returns a handle; failures surface later via Err().
Configures the MCP Inspector to use yarn as the package manager.
WithYarn() McpInspectorResourceReturns
McpInspectorResource A reference to the I.
Returns a handle; failures surface later via Err().