VOOZH about

URL: https://www.nuget.org/packages/Microsoft.Azure.Functions.Worker.Extensions.Mcp/

⇱ NuGet Gallery | Microsoft.Azure.Functions.Worker.Extensions.Mcp 1.5.0




👁 Image
Microsoft.Azure.Functions.Worker.Extensions.Mcp 1.5.0

Prefix Reserved
dotnet add package Microsoft.Azure.Functions.Worker.Extensions.Mcp --version 1.5.0
 
 
NuGet\Install-Package Microsoft.Azure.Functions.Worker.Extensions.Mcp -Version 1.5.0
 
 
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Microsoft.Azure.Functions.Worker.Extensions.Mcp" Version="1.5.0" />
 
 
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Microsoft.Azure.Functions.Worker.Extensions.Mcp" Version="1.5.0" />
 
Directory.Packages.props
<PackageReference Include="Microsoft.Azure.Functions.Worker.Extensions.Mcp" />
 
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Microsoft.Azure.Functions.Worker.Extensions.Mcp --version 1.5.0
 
 
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Microsoft.Azure.Functions.Worker.Extensions.Mcp, 1.5.0"
 
 
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Microsoft.Azure.Functions.Worker.Extensions.Mcp@1.5.0
 
 
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Microsoft.Azure.Functions.Worker.Extensions.Mcp&version=1.5.0
 
Install as a Cake Addin
#tool nuget:?package=Microsoft.Azure.Functions.Worker.Extensions.Mcp&version=1.5.0
 
Install as a Cake Tool
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Microsoft.Azure.Functions.Worker.Extensions.Mcp

This package provides triggers and bindings to support exposing Azure Functions .NET isolated functions as a Model Context Protocol (MCP) server.

Example usage

The following is an example of how to use the MCP tool trigger in an Azure Functions application:

[Function(nameof(GetSnippet))]
public object GetSnippet(
 [McpToolTrigger(GetSnippetToolName, GetSnippetToolDescription)] ToolInvocationContext context,
 [BlobInput(BlobPath)] string snippetContent)
{
 return snippetContent;
}

You can also bind to the MCP tool property arguments using the McpToolProperty input binding as follows:

[Function(nameof(SaveSnippet))]
[BlobOutput(BlobPath)]
public string SaveSnippet(
 [McpToolTrigger(SaveSnippetToolName, SaveSnippetToolDescription)] ToolInvocationContext context,
 [McpToolProperty(SnippetNamePropertyName, PropertyType, SnippetNamePropertyDescription)] string name,
 [McpToolProperty(SnippetPropertyName, PropertyType, SnippetPropertyDescription)] string snippet)
{
 return snippet;
}

The above example will automatically expose the name and snippet parameters as properties for the MCP tool.

Alternatively, you can define properties when creating your application as follows:

// Define properties for the MCP tool:
builder.ConfigureMcpTool("SaveSnippet")
 .WithProperty(SnippetNamePropertyName, PropertyType, SnippetNamePropertyDescription);

The above example demonstrates how the properties for the tool named SaveSnippet are defined.

Product Versions Compatible and additional computed target framework versions.
.NET net8.0 net8.0 is compatible.  net8.0-android net8.0-android was computed.  net8.0-browser net8.0-browser was computed.  net8.0-ios net8.0-ios was computed.  net8.0-maccatalyst net8.0-maccatalyst was computed.  net8.0-macos net8.0-macos was computed.  net8.0-tvos net8.0-tvos was computed.  net8.0-windows net8.0-windows was computed.  net9.0 net9.0 was computed.  net9.0-android net9.0-android was computed.  net9.0-browser net9.0-browser was computed.  net9.0-ios net9.0-ios was computed.  net9.0-maccatalyst net9.0-maccatalyst was computed.  net9.0-macos net9.0-macos was computed.  net9.0-tvos net9.0-tvos was computed.  net9.0-windows net9.0-windows was computed.  net10.0 net10.0 was computed.  net10.0-android net10.0-android was computed.  net10.0-browser net10.0-browser was computed.  net10.0-ios net10.0-ios was computed.  net10.0-maccatalyst net10.0-maccatalyst was computed.  net10.0-macos net10.0-macos was computed.  net10.0-tvos net10.0-tvos was computed.  net10.0-windows net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (3)

Showing the top 3 NuGet packages that depend on Microsoft.Azure.Functions.Worker.Extensions.Mcp:

Package Downloads
Microsoft.Agents.AI.Hosting.AzureFunctions

Provides durable agent hosting and orchestration support for Microsoft Agent Framework workloads.

Microsoft.Azure.Functions.Worker.Extensions.Mcp.Sdk

SDK integration layer for Azure Functions MCP extension, providing access to ModelContextProtocol SDK models and APIs for .NET isolated functions.

AzureFunctions.TestFramework.Mcp

McpToolTrigger, McpResourceTrigger, and McpPromptTrigger invocation support for the Azure Functions Test Framework. Enables triggering MCP-triggered functions in integration tests.

GitHub repositories (2)

Showing the top 2 popular GitHub repositories that depend on Microsoft.Azure.Functions.Worker.Extensions.Mcp:

Repository Stars
Azure/azure-functions-dotnet-worker
Azure Functions out-of-process .NET language worker
Azure-Samples/remote-mcp-functions-dotnet
This is a quickstart template to easily build and deploy a custom remote MCP server to the cloud using Azure functions. You can clone/restore/run on your local machine with debugging, and `azd up` to have it in the cloud in a couple minutes. The MCP server is secured by design using
Version Downloads Last Updated
1.5.0 6,124 5/7/2026
1.5.0-preview.1 686 4/3/2026
1.4.0 7,870 4/2/2026
1.3.0 5,866 3/11/2026
1.2.0-preview.1 976 1/30/2026
1.1.0 24,496 11/26/2025
1.0.0 128,988 10/9/2025
1.0.0-preview.7 10,712 8/28/2025
1.0.0-preview.6 11,363 5/16/2025
1.0.0-preview.5 1,825 5/12/2025
1.0.0-preview.4 453 5/9/2025
1.0.0-preview.3 279 5/8/2025
1.0.0-preview.2 2,409 4/6/2025
1.0.0-preview.1 503 4/4/2025