withMcpServer
Function
interface ContainerResource { // ... omitted for brevity withMcpServer( path?: string, endpointName?: string): IResourceWithEndpoints;}Signature
method
withMcpServer builder Configures an MCP server endpoint on the resource
withMcpServer( path?: string, endpointName?: string): IResourceWithEndpointsParameters
path string optional = /mcp endpointName string optional Returns
IResourceWithEndpoints Applies to
This function is an extension method on the following types: