Exponiendo Logic Apps MCP Server con Azure API Management

Aprende a exponer MCP de Logic Apps mediante Azure API Management APIM para herramientas MCP seguras, con autenticación, monitorización y gobernanza empresarial.

25 sept 2025 • 3 min read • Q2BSTUDIO Team

Inteligencia-Artificial-

Exponiendo Logic Apps MCP Server con Azure API Management

Las aplicaciones modernas y los agentes potenciados por modelos de lenguaje necesitan canales seguros, gobernados y consistentes para acceder a servidores MCP Model Context Protocol. Con Azure Logic Apps Standard es posible crear herramientas MCP como flujos de trabajo y, gracias a Azure API Management APIM, exponerlas a consumidores con seguridad empresarial y monitorización centralizada.

1. Crear el servidor MCP en APIM
Desde el portal de APIM ir a la sección MCP Servers preview y seleccionar crear servidor MCP y Expose an existing MCP server para comenzar el proceso.

2. Configurar el backend del servidor MCP
Apuntar APIM al endpoint MCP de tu Logic App. Por ejemplo base URL del servidor MCP https://your-logicapp.azurewebsites.net/api/mcp Transport type Streamable HTTP que es el valor por defecto para Logic Apps y rellenar Display name Name y Base path con identificadores amigables para mostrar el servidor.

3. Configuración de políticas en APIM
Como la autenticación se aplica en el backend de Logic Apps MCP, APIM solo necesita una política mínima de paso directo pass-through que reenvíe las peticiones tal cual. Esto preserva las respuestas Streamable HTTP sin buffering y mantiene el flujo de datos en tiempo real.

4. Probar las herramientas MCP a través de APIM
Con el servidor MCP expuesto vía APIM se pueden invocar los flujos de Logic Apps como herramientas MCP. Dado que la autenticación está habilitada en el backend de Logic Apps, APIM actúa como pasarela que reenvía las solicitudes y los tokens hacia la capa Easy Auth de Logic Apps, por lo que el comportamiento es el mismo que al llamar directamente al Logic App.

Ejemplos de comportamiento
Llamada sin token -> Unauthorized 401. La petición sin un Bearer token es rechazada por el backend. Llamada con token válido -> Success. Si añades un token OAuth 2.0 Bearer válido en tu petición APIM lo reenvía y la herramienta MCP se ejecuta correctamente.

Ejemplo de request
{ method: tools/call, params: { name: wf_arithmetic_mul, arguments: { number1: 2, number2: 3 } } }

Ejemplo de response
{ content: [ { type: text, text: { result: 6 } } ], isError: false }

Este flujo demuestra que APIM pasa correctamente la llamada y el token al servidor Logic Apps MCP, que se encarga de validar la autenticación y ejecutar el workflow. Para empresas que buscan soluciones integrales, en Q2BSTUDIO ofrecemos desarrollo de software a medida, aplicaciones a medida y soluciones de automatización que integran agentes IA y capacidades de inteligencia artificial para empresas. Si necesitas migrar o asegurar infraestructuras y exponer APIs de forma segura podemos apoyarte con servicios cloud en Azure y AWS y con prácticas de ciberseguridad y pentesting. Conoce nuestros servicios cloud aws y azure y nuestras soluciones de Inteligencia artificial para empresas, desde agentes IA hasta integraciones con Power BI para inteligencia de negocio.

Palabras clave relevantes para posicionamiento: aplicaciones a medida, software a medida, inteligencia artificial, ciberseguridad, servicios cloud aws y azure, servicios inteligencia de negocio, ia para empresas, agentes IA, power bi.

Si deseas que Q2BSTUDIO implemente la exposición de tus Logic Apps MCP mediante APIM, o que diseñemos soluciones a medida con seguridad empresarial y monitorización, contacta con nosotros para una evaluación y propuesta técnica personalizada.

A BREAK?

Play for a moment before you go

OUR SERVICES

How we can help you

Artificial intelligence

AI agents, chatbots, and intelligent assistants that automate tasks and serve your customers 24/7 to improve the efficiency of your business.

More info

Software Development

Web, mobile, and desktop applications, intranets, e-commerce, SaaS, and management platforms designed for your company's specific needs.

More info

Cloud services

Migration, infrastructure, managed hosting, high availability, and security on Microsoft Azure and Amazon Web Services to help your business scale without limits.

More info

Cybersecurity and pentesting

Security audits, penetration testing and protection of applications, data and infrastructure on-premise and cloud, with ethical hacking and regulatory compliance.

More info

Business Intelligence

Dashboards and data analysis with Power BI: we integrate your sources, design dashboards and KPIs and turn your data into decisions.

More info

Process automation

We automate repetitive tasks and connect your applications with n8n, Power Automate, Make, and RPA, eliminating manual work and increasing productivity.

More info

Training for Companies

We train your teams in technology with criteria: web development, databases, Git, best practices and security, automation with n8n, artificial intelligence for companies and creation of AI solutions with Azure AI Foundry.

More info

Code Auditing

We audit the code that you, your team or an AI create: we tell you what is good and what to improve, we secure it and make it ready for production, web or app.

More info

AI Image Generation

We create for you the images that your business needs with artificial intelligence: product, networks, advertising, illustration and avatars. You tell us what you want and we deliver it ready to use.

More info

AI Video Generation

We create videos with artificial intelligence for you: promotional, networking, virtual presenters, dubbing and animations. You tell us the idea and we will deliver it assembled and ready to publish.

More info

AI Conversational Avatars

We create conversational avatars with AI – digital humans with a face and voice – that serve your customers and teams with the knowledge of your company, on your website, interactive monitors, WhatsApp or Teams.

More info

Online Marketing and AI

Google Ads, Meta Ads, LinkedIn Ads and AI Engine Positioning (GEO/AEO): we attract customers and make your brand appear where they search for you, also on ChatGPT, Gemini and Perplexity.

More info

Do you have a project in mind?

Tell us your vision and we'll turn it into a software solution. Whatever the scope, we make your idea real.

Live Chat