Skip to content
DocsTry Aspire
DocsTry

McpInspectorResource

Handle
📦 CommunityToolkit.Aspire.Hosting.McpInspector v13.4.0
interface McpInspectorResource
extends IComputeResource,
IResource,
IResourceWithArgs,
IResourceWithEndpoints,
IResourceWithEnvironment,
IResourceWithProbes,
IResourceWithWaitSupport,
IResourceWithContainerFiles,
IResourceWithServiceDiscovery {
withBun(): McpInspectorResource;
withInspectedMcpServer(
mcpServer: IResourceWithEndpoints,
isDefault?: boolean,
transportType?: McpTransportType,
path?: string): McpInspectorResource;
withPnpm(): McpInspectorResource;
withYarn(): McpInspectorResource;
}

Methods

methodwithBunbuilder
Configures the MCP Inspector to use bun as the package manager.
withBun(): McpInspectorResource
McpInspectorResource
Configures 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): McpInspectorResource
mcpServerIResourceWithEndpoints
isDefaultbooleanoptional= True
transportTypeMcpTransportTypeoptional= StreamableHttp
pathstringoptional= /mcp
McpInspectorResource
methodwithPnpmbuilder
Configures the MCP Inspector to use pnpm as the package manager.
withPnpm(): McpInspectorResource
McpInspectorResource
methodwithYarnbuilder
Configures the MCP Inspector to use yarn as the package manager.
withYarn(): McpInspectorResource
McpInspectorResource