Expose .NET Azure function as MCP tool
Authorised Territory demonstrates how to expose a .NET Azure Function as an MCP tool, using Visual Studio 2026 to create an Azure Functions project with an McpToolTrigger and then validating the tool with MCP Inspector.
Overview
The video walks through a small end-to-end setup for turning an Azure Functions endpoint into an MCP tool:
- Create an Azure Functions project in Visual Studio 2026.
- Add an McpToolTrigger and implement a single Azure Function.
- Test the resulting MCP tool using MCP Inspector.