GitHub Copilot prompt to convert an MCP server to an Azure Functions app

  1. Open the MCP server project that you want to convert in Visual Studio Code.
  2. Click to install a prompt to help Copilot with the conversion: Install
  3. Open the command palette (Ctrl+Shift+P or Cmd+Shift+P) and run the command Chat: Run prompt....
  4. Select create-functions-mcp-server from the list of prompts.
  5. Copilot will guide you through the process of converting the MCP server to an Azure Functions app.
  6. Once the conversion is complete, accept the changes made by Copilot. You can deploy the Azure Functions app using the Azure Developer CLI (AzD).