GitHub Copilot prompt to convert an MCP server to an Azure Functions app
- Open the MCP server project that you want to convert in Visual Studio Code.
- Click to install a prompt to help Copilot with the conversion:

- Open the command palette (Ctrl+Shift+P or Cmd+Shift+P) and run the command
Chat: Run prompt...
.
- Select
create-functions-mcp-server
from the list of prompts.
- Copilot will guide you through the process of converting the MCP server to an Azure Functions app.
- Once the conversion is complete, accept the changes made by Copilot. You can deploy the Azure Functions app using the Azure Developer CLI (AzD).