McpToolsClient
Overview
Using McpToolsClient
this.smartPrompt1
.UseTools(new McpToolsClient("https://remote.mcpservers.org/fetch"));Create MCP Servers
var builder = WebApplication.CreateBuilder(new WebApplicationOptions
{
Args = args,
WebRootPath = "./"
});
builder.Services
.AddMcpServer()
.WithHttpTransport()
.WithToolsFromAssembly();
var app = builder.Build();
app.MapMcp();Last updated
