- Posted on
- Posted in Artificial Intelligence, Hybrid Cloud Solutions, Software Development
Model Context Protocol (MCP): Why, What and How?
Artificial Intelligence is increasingly being used to power business assistants, agents, and automated workflows, but one key challenge remains: connecting these AI models to the vast array of external data sources, tools, and services that organizations use every day. For these use cases the Model Context Protocol (MCP) has emerged as a foundational solution to this challenge. MCP is an open-source standard (developed under the Linux Foundation) that acts like a universal connector for AI applications. Introduced by Anthropic in November 2024, the protocol acts as a “universal plug-in” that replaces the need for unique, custom-built integrations for each new data source and has since then been widely adopted by AI-solution developers.
Why Adopt the Model Context Protocol?
Personalized AI Assistants: Agents can access personal data like calendars or note-taking apps (e.g. Google Calendar, Notion) to act as tailored digital assistants, automating everyday scheduling and information retrieval tasks.
Automated Development Workflows: LLM-based coding tools can leverage design files or project data (for example, a Figma design or code repository) to generate and manage software, accelerating development cycles.
Enterprise Knowledge Chatbots: Business chatbots can connect to multiple internal databases and analytics services across an organization, empowering employees to query and analyze corporate data through natural language conversations.
AI-Driven Operations: AI models interfaced with operational systems (from IT helpdesk tools to IoT devices) can trigger real-world actions – for example, creating a 3D model in CAD software and sending it to a 3D printer – all under appropriate human oversight.
What is the MCP Architecture?
- MCP Host – the AI application or agent that needs external data or actions (for example, an AI assistant in an enterprise chat app, or an AI-powered IDE like Visual Studio Code’s Copilot). The host is essentially the environment where the AI model runs and interacts with users.
- MCP Server – a service that provides context and capabilities to the AI. An MCP server can wrap around a particular data source, tool, or service (such as a file system, a database, a CRM system, an email/Calendar API, etc.), exposing those capabilities in a standardized way for the AI to use.
- MCP Client – a component within the host that manages the connection to a specific MCP server. The host will typically create one MCP client per server it connects to, handling the communication details. In essence, the MCP client is like a translator or conduit between the AI (host) and the external service (server).
- Stdio (Standard I/O) Transport: The MCP server process runs locally (on the same host machine), and communication occurs through standard input/output streams. This method has low latency because there’s no network overhead – it’s ideal for local plugins or extensions (for example, an MCP server that provides access to a local file system or local hardware).
- Streamable HTTP Transport: The MCP server runs as a web service (for example, in the cloud or on another machine), communicating via HTTP requests. The client sends HTTP POST requests to the server’s endpoints for each RPC call, and the server can optionally use Server-Sent Events (SSE) to stream realtime responses back. This transport mode supports secure communication and standard auth mechanisms (like API keys, OAuth tokens, etc.), making it suitable for remote or cloud-hosted tools.
- Tools: Functions or actions that the AI can call programmatically. Tools might include operations like querying a database, sending a message via an API, creating a calendar event, or running a computation. Each tool comes with a name, description, and a schema for its input and output parameters, so the AI (and the user) knows what it does. The AI model can decide if and when to use these tools based on the conversation or task at hand. Critically, MCP (and platforms that use it) support human oversight for tool usage – for example, the system can require user approval before executing a tool, to ensure safety and compliance.
- Resources: Read-only contextual data sources that the AI can access. These are like files or information feeds that the AI can retrieve to inform its responses. Examples include documents, knowledge base articles, database records, or even API endpoints that return data. Each resource is typically identified by a URI and can be fetched (or queried) by the AI through the MCP connection. This allows an agent to pull in relevant information on the fly – e.g. retrieving a product spec sheet from a document repository when asked a question about product details.
- Prompts: Pre-defined prompt templates or actions that can guide the AI’s behavior. These are like “canned” workflows or conversation templates that the server can provide to help the AI perform specialized tasks. For instance, a prompt might define how to structure a step-by-step reasoning process for a complex task, or provide a template for an email or report. Prompts help standardize complex interactions so that the AI doesn’t have to generate such structures from scratch each time.
lookupCustomerRecord or updateLeadStatus and resources like a customer data schema or recent transaction logs. Meanwhile, an MCP server for a DevOps platform might provide tools such as createIssue, runPipeline, or resources listing deployment history. In both cases, the AI agent can query the list of available tools/resources, understand their purpose and required inputs, and use them as needed – all through the standard MCP interface. This consistency across different services is what makes MCP so powerful.
How to Build and Integrate MCP-Based Solutions
bring-your-own-server approach allows you to incorporate virtually any REST-accessible MCP service into your AI solutions. You can even mix multiple MCP servers in one agent – for instance, an enterprise could attach a GitHub MCP server (to enable code retrieval and CI/CD actions) and a ServiceNow ITSM MCP server (to enable ticketing actions) to the same agent, giving it a wide repertoire of actions. Azure AI Foundry includes settings to define which tools from a connected MCP server are allowed, and supports passing required authentication headers or API keys to securely access the server’s functionality.https://mcp.ai.azure.com – which surfaces a set of curated Azure and AI platform tools for any Foundry agent to use. This hosted MCP server is essentially a ready-made hub of Azure capabilities: it lets your agent perform tasks like managing Azure AI models, retrieving information about deployed applications, or interacting with cognitive services, all through standard MCP tools. Because it’s an official service, it handles authentication via Microsoft Entra ID (Azure AD) and respects the user’s permissions, so any action the AI takes through this server is governed by your enterprise security controls. By connecting a Foundry agent to the Foundry MCP Server, teams can immediately empower their AI with a broad range of cloud-based tools without deploying any custom infrastructure – ideal for quickly prototyping solutions that leverage existing Azure services.Reference Materials


