Microsoft has updated its Azure App Service MCP server samples, adding new Python and Node.js versions, replacing deprecated SSE with streamable HTTP, and integrating authentication options like Basic Auth and OAuth. These enhancements simplify hosting secure, scalable MCP servers on Azure. Unique :

Host Remote MCP Servers on Azure App Service: What’s New?
Microsoft just rolled out exciting updates for hosting Model Context Protocol (MCP) servers on Azure App Service. If you’re a developer working with MCP, these changes make your life easier. The latest samples now support multiple languages and come with built-in authentication and authorization. Plus, the streaming method has been upgraded for better performance and compatibility.
Goodbye SSE, Hello Streamable HTTP
Previously, MCP servers used Server-Sent Events (SSE) for streaming data. However, SSE is now deprecated. Microsoft replaced it with streamable HTTP, which works better across platforms and aligns with the newest MCP specs. This change means your MCP server will be more scalable and future-proof.
“The original .NET sample used SSE for streaming responses. SSE has since been deprecated in favor of streamable HTTP.”
The updated .NET sample reflects this shift, and all new language samples follow suit.
New Language Samples: Python and Node.js
To broaden MCP’s reach, Microsoft introduced lightweight MCP server samples in Python and Node.js. These are easy to deploy on Azure App Service and share the same architecture as the .NET version. Whether you prefer Python’s simplicity or Node.js’s event-driven nature, you’re covered.
- Python Sample:
remote-mcp-webapp-python
- Node.js Sample:
remote-mcp-webapp-node
Minimal configuration is needed, so you can get your MCP server running quickly.
Built-in Authentication and Authorization Support
Security is a top priority for remote servers. The new samples include authentication and authorization aligned with MCP’s authorization spec. You can now secure your MCP server using Basic Auth or OAuth.
- Basic Auth (Python):
remote-mcp-webapp-python-auth
- OAuth with Microsoft Entra ID (Python):
remote-mcp-webapp-python-auth-oauth
“Use Basic Auth for a quick and easy way to add authentication. Or use OAuth for an even more secure server.”
These options help you integrate with identity providers and enforce access control effortlessly.
Getting Started is a Breeze
Each sample comes with detailed deployment, configuration, and testing instructions. They also include Azure Developer CLI (azd) templates for fast setup. Whether you code in .NET, Python, or Node.js, hosting a secure, standards-compliant MCP server on Azure App Service is now straightforward.
Join the Community
Microsoft encourages feedback and contributions. You can open issues or contribute on GitHub. Also, share your experiences or questions in the blog comments. Staying connected helps improve the MCP ecosystem for everyone.
Ready to build your next MCP server? Check out the updated samples and start deploying today!
From the New blog articles in Microsoft Community Hub