You can enable your Logic App (Standard) to act as an MCP (Model Context Protocol) server by editing the host.json file.
This unlocks MCP-specific APIs on your app and allows Agentic/AI workflows to push or consume resources programmatically.
Steps
- Open your Logic App in the Azure portal.
Navigate to your Standard Logic App resource.
- Launch Advanced Tools (Kudu).
- From the sidebar, under Development Tools, select Advanced Tools > Go.
- Open the Debug Console.
- On the Kudu toolbar, select Debug Console > CMD.
- Navigate to: site/wwwroot
- Edit the
host.jsonfile.
- In the file list, next to
host.json, click the edit (pencil) icon. - Inside the editor, after the
extensionBundleobject, add a newextensionssection.
5. Verify MCP is Enabled
After saving host.json, you can verify MCP support is active:
In your browser, go to:
https://mcpblogdemo.azurewebsites.net/api/mcpIf MCP is enabled but no valid token is passed, you’ll see an authorization error like this:
This response means:
- ✅ The MCP server is enabled and responding.
- ❌ You need to supply a valid Bearer token in the
Authorizationheader to access it.
By default, MCP endpoints are secured with OAuth 2.0 (Bearer tokens).
If you want to disable authentication (not recommended for production), you can change the type to "anonymous" in the host.json under the McpServerEndpoints section.
✅ At this point, your Logic App is officially acting as an MCP server, and you can begin integrating with MCP-aware clients or automate workflow deployment through the MCP APIs.
MCP with Anonymous Access
Here’s a minimal configuration that enables MCP support with anonymous authentication:
{
"version": "2.0",
"extensionBundle": {
"id": "Microsoft.Azure.Functions.ExtensionBundle.Workflows",
"version": "[1.*, 2.0.0)"
},
"extensions": {
"workflow": {
"McpServerEndpoints": {
"enable": true,
"authentication": {
"type": "anonymous"
}
}
}
}
}
When anonymous mode is enabled, you can browse directly to mcp endpoint and you’ll see a Server-Sent Events (SSE) stream from the MCP server as shown below.





Top comments (0)