Skip to content

Add MCP SDK Functions hosting templates for Python, TypeScript, .NET, and Java#711

Draft
Copilot wants to merge 2 commits intomainfrom
copilot/add-functions-mcp-samples
Draft

Add MCP SDK Functions hosting templates for Python, TypeScript, .NET, and Java#711
Copilot wants to merge 2 commits intomainfrom
copilot/add-functions-mcp-samples

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Jan 21, 2026

Adds 4 templates for hosting MCP servers built with official MCP SDKs on Azure Functions as custom handlers.

Templates

Added entries to templates.json for:

  • Python: Azure-Samples/mcp-sdk-functions-hosting-python
  • TypeScript/Node: Azure-Samples/mcp-sdk-functions-hosting-node
  • .NET/C#: Azure-Samples/mcp-sdk-functions-hosting-dotnet
  • Java/Quarkus: Azure-Samples/mcp-sdk-functions-hosting-java

Each template demonstrates:

  • MCP server hosting as Azure Functions custom handlers
  • Weather tool implementations
  • Built-in authentication (Python/TypeScript/.NET include OBO flow for Microsoft Graph)
  • Deployment via azd up

Metadata

Templates tagged with:

  • msft, ai, mcp, new (special tags)
  • Language-specific tags (python, typescript, nodejs, dotnetCsharp, java)
  • Framework tags (quarkus for Java)
  • Azure services: functions, keyvault, monitor, appinsights, vnets, privateEndpoints
  • IaC: bicep

Gallery View

MCP SDK templates in gallery

Templates appear in gallery filtered by "New" tag with proper metadata and navigation.

Original prompt

This section details on the original issue you should resolve

<issue_title>Add Functions MCP samples to awesome azd gallery</issue_title>
<issue_description>We'd like to add the following azd samples to the gallery:

Python: https://github.com/Azure-Samples/mcp-sdk-functions-hosting-python
TypeScript: https://github.com/Azure-Samples/mcp-sdk-functions-hosting-node
C#: https://github.com/Azure-Samples/mcp-sdk-functions-hosting-dotnet
Java: https://github.com/Azure-Samples/mcp-sdk-functions-hosting-java</issue_description>

<agent_instructions>Please make sure each of these templates work and successfully deploy. Also, check the templates against the recommended practices in this repo: https://github.com/Azure/ai-app-templates</agent_instructions>

Comments on the Issue (you are @copilot in this section)


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Co-authored-by: kristenwomack <5034778+kristenwomack@users.noreply.github.com>
Copilot AI changed the title [WIP] Add functions MCP samples to awesome azd gallery Add MCP SDK Functions hosting templates for Python, TypeScript, .NET, and Java Jan 21, 2026
Copilot AI requested a review from kristenwomack January 21, 2026 00:46
@hemarina
Copy link
Copy Markdown
Contributor

@kristenwomack Shall we hold python and node since the testing issues are not fixed?

@kristenwomack
Copy link
Copy Markdown
Collaborator

@hemarina I just pinged the functions team on this. It would be nice to push the other two live, let's see about fixing these two issues first.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add Functions MCP samples to awesome azd gallery

3 participants