Announcements
Sorry, something went wrong. Error code: SystemError. Conversation ID: 4f93e94f-82f3-4e14-8b8a-c01b968bdb87. Time (UTC): 5/13/2025 10:58:49 PM. yaml file swagger: '2.0' info: title: MCP Utility Server description: > Provides tools for multiplication, temperature conversion, and weather info via MCP server. version: '1.0' host: s1mcpserver.azurewebsites.net basePath: / schemes: - https definitions: QueryResponse: type: object properties: jsonrpc: type: string id: type: string method: type: string params: type: object result: type: object error: type: object paths: /sse: get: summary: MCP Server SSE Session parameters: - in: query name: sessionId type: string required: false produces: - application/json responses: '200': description: SSE connection established schema: $ref: '#/definitions/QueryResponse' '201': description: Session created, waiting for tool invocation operationId: MCPServerSSE tags: - Agentic - McpSse securityDefinitions: {} security: []
event: endpoint data: /message?sessionId=RgSacpbNA89ndf-_EjRjFA .net core 9 Progam.cs using McpServer.Tools; using ModelContextProtocol; using ModelContextProtocol.Server; var builder = WebApplication.CreateBuilder(args); // Add MCP server services builder.Services.AddMcpServer() .WithTools<MultiplicationTool>() .WithTools<TemperatureConverterTool>() .WithTools<WeatherTools>(); // Add CORS for SSE support in browsers builder.Services.AddCors(options => { options.AddDefaultPolicy(policy => { policy.AllowAnyOrigin() .AllowAnyHeader() .AllowAnyMethod(); }); }); var app = builder.Build(); // Configure the HTTP request pipeline if (app.Environment.IsDevelopment()) { app.UseDeveloperExceptionPage(); } // Enable CORS app.UseCors(); // Map MCP endpoints app.MapMcp(); // Add a simple home page app.MapGet("/", () => "MCP Server on Azure App Service - Ready for use with SSE"); app.Run();
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
Congratulations to our 2026 Super Users!
Congratulations to our 2025 community superstars!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Valantis 645
Vish WR 300
Haque 219