Microsoft.Azure.Functions.Worker.Extensions.Mcp
Model Context Protocol (MCP) extensions for .NET isolated functions.
Ask AI about Microsoft.Azure.Functions.Worker.Extensions.Mcp
Powered by Claude · Grounded in docs
I know everything about Microsoft.Azure.Functions.Worker.Extensions.Mcp. Ask me about installation, configuration, usage, or troubleshooting.
0/500
Reviews
Documentation
Azure Functions MCP extension
This repository contains an extension of Azure Functions to enable support for Model Context Protocol (MCP). Using this extension, an Azure Functions application can act as a scalable remote MCP server. The extension includes an MCP tool trigger to help you define tools that can be used by clients such as AI agents to perform defined tasks during their operation.
In addition to the host extension which supports all stacks, this repository also includes an integration for Functions projects using .NET on the isolated worker model.
Instructions
To get started with the extension, please see the following samples:
| Language (Stack) | Repo Location |
|---|---|
| C# (.NET) | remote-mcp-functions-dotnet |
| Python | remote-mcp-functions-python |
| TypeScript (Node.js) | remote-mcp-functions-typescript |
| Java | remote-mcp-functions-java |
Additional information can also be found in the Azure Functions documentation.
Configuration
You can configure the extension behavior using the host.json file. The following is an example of the configurable settings:
{
"version": "2.0",
"extensions": {
"mcp": {
"instructions": "Some test instructions on how to use the server",
"serverName": "TestServer",
"serverVersion": "2.0.0"
}
}
}
Contributing
This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.opensource.microsoft.com.
When you submit a pull request, a CLA bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., status check, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.
This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.
Trademarks
This project may contain trademarks or logos for projects, products, or services. Authorized use of Microsoft trademarks or logos is subject to and must follow Microsoft's Trademark & Brand Guidelines. Use of Microsoft trademarks or logos in modified versions of this project must not cause confusion or imply Microsoft sponsorship. Any use of third-party trademarks or logos are subject to those third-party's policies.
