Skip to content
Docs Try Aspire
Docs Try

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

method withBun builder
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
mcpServer IResourceWithEndpoints
isDefault boolean optional = True
transportType McpTransportType optional = StreamableHttp
path string optional = /mcp
McpInspectorResource
method withPnpm builder
Configures the MCP Inspector to use pnpm as the package manager.
withPnpm(): McpInspectorResource
McpInspectorResource
method withYarn builder
Configures the MCP Inspector to use yarn as the package manager.
withYarn(): McpInspectorResource
McpInspectorResource