Watch Aspire live streamsDocsTry Aspire
Watch Aspire live streamsDocsTry

McpServerEndpointAnnotation

Classsealednet10.0
📦 Aspire.Hosting v13.5.4
Represents an annotation that identifies an endpoint on a resource that hosts a Model Context Protocol (MCP) server.
namespace Aspire.Hosting.ApplicationModel;
public sealed class McpServerEndpointAnnotation
: Aspire.Hosting.ApplicationModel.IResourceAnnotation
{
// ...
}
This annotation is intended for discovery and proxying scenarios where the Aspire AppHost can act as a mediator between clients (such as the Aspire CLI) and MCP servers exposed by resources.
View all constructors
View all properties
View all methods