.NET MCP server: Create YAML policy to stop tool from running

Authorised Territory demonstrates how to govern a .NET Model Context Protocol (MCP) server by writing a YAML policy that prevents a specific tool from being executed, using the Microsoft.AgentGovernance.Extensions.ModelContextProtocol NuGet package.

Overview

The video shows how to add governance controls to a .NET MCP server using a YAML policy so that tool execution can be blocked.

Key points called out in the video description: