惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

IT之家
IT之家
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
A
About on SuperTechFans
博客园 - 聂微东
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
B
Blog RSS Feed
U
Unit 42
Stack Overflow Blog
Stack Overflow Blog
Recent Announcements
Recent Announcements
雷峰网
雷峰网
罗磊的独立博客
Microsoft Security Blog
Microsoft Security Blog
Hugging Face - Blog
Hugging Face - Blog
L
LangChain Blog
人人都是产品经理
人人都是产品经理
The GitHub Blog
The GitHub Blog
F
Fortinet All Blogs
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
H
Help Net Security
P
Proofpoint News Feed
The Cloudflare Blog
D
Docker
大猫的无限游戏
大猫的无限游戏

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant
Running Multiple MCP Servers with Azure Logic Apps
Daniel Jonat · 2026-05-02 · via DEV Community

Daniel Jonathan

Model Context Protocol (MCP) has become the standard way to expose tools to AI agents.

With Azure Logic Apps, you can create and run multiple MCP servers and let an agent consume them together — cleanly and modularly.

In this post, we'll build:

  • A Basic Arithmetic MCP server
  • An Extended Arithmetic MCP server
  • And connect an agent to both

The Scenario

We'll create two MCP servers using Logic App workflows and expose them to an agent.
Both servers share Anonymous authentication.


Step 1 — Create and Group MCP Workflows in Logic Apps

Each operation is implemented as a Logic App workflow and exposed as an MCP tool.

Creating MCP Server

Each workflow:

  • Accepts inputs (typically two numbers and an operation)
  • Executes the required logic
  • Returns a structured response

You then group these workflows into MCP servers:

Basic Arithmetic Server

  • Add
  • Subtract
  • Multiply
  • Divide

Extended Arithmetic Server

  • Power
  • Square Root
  • Modulo

How This Is Stored (mcpservers.json)

Once workflows are grouped into MCP servers, the configuration is automatically persisted in the mcpservers.json file.

MCP Server JSON

This file contains:

  • MCP server definitions
  • Workflow (tool) mappings

💡 Key idea: What you define as MCP servers (grouped workflows) is what gets written to mcpservers.json — automatically.


MCP Server Endpoints

Once registered, each MCP server is reachable at a predictable URL following this pattern:

https://<your-logic-app>.azurewebsites.net/api/mcpservers/<ServerName>/mcp

Enter fullscreen mode Exit fullscreen mode

For example:

  • Basic server → /api/mcpservers/BasicArithmetic/mcp
  • Extended server → /api/mcpservers/ExtendedArithmetic/mcp

💡 The server name in the URL matches exactly what you defined when grouping your workflows — no extra configuration needed.


Step 2 — Connect the Agent to Both Servers

The agent connects to both MCP servers using separate MCP client connections.

Consuming MCP Servers

This allows the agent to:

  • Use basic operations from one server
  • Use advanced operations from another

👉 Clean separation — no need for a single large service.


Step 3 — Execution Result

When the agent runs, it invokes operations across both MCP servers.

Final Result

The result:

  • Multiple MCP servers used seamlessly
  • Operations resolved correctly
  • Agent behaves as if using a unified toolset

Why This Matters

Running multiple MCP servers from a single Logic Apps instance gives you separation of concerns, modular extensibility, and independent scalability — without changing your agent design.


Key Takeaway

  • Workflows group into MCP servers, each exposed via a predictable endpoint
  • Configuration is automatically managed in mcpservers.json
  • Agents can connect to multiple MCP servers simultaneously — no extra wiring required

This pattern enables a modular, composable tool ecosystem for AI agents using Azure Logic Apps.