Microsoft Enhances Azure App Service MCP Server Samples with Python, Node.js, and Advanced Authentication Features

Posted by

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!

  • Streamable HTTP replaces deprecated Server-Sent Events for improved performance and compatibility.
  • New MCP server samples available in Python and Node.js for diverse developer needs.
  • Authentication support includes Basic Auth and OAuth with Microsoft Entra ID integration.
  • All samples come with Azure Developer CLI templates for quick deployment.
  • Comprehensive instructions provided for deployment, configuration, and testing across languages.
  • From the New blog articles in Microsoft Community Hub



    Related Posts
    Unlock New Possibilities with Windows Server Devices in Intune!

      Windows Server Devices Now Recognized as a New OS in Intune Microsoft has announced that Windows Server devices are Read more

    Unlock the Power of the Platform: Your Guide to Power Platform at Microsoft Ignite 2022

    Microsoft Power Platform is leading the way in AI-generated low-code app development. With the help of AI, users can quickly Read more

    Unlock the Power of Microsoft Intune with the 2210 October Edition!

    Microsoft Intune is an enterprise mobility management platform that helps organizations manage mobile devices, applications, and data. The October edition Read more

    Unlock the Power of Intune 2.211: What’s New for November!

    Microsoft Intune has released its November edition, featuring new updates to help IT admins better manage their organization’s mobile devices. Read more