Model Context Protocol (MCP)
What the Model Context Protocol is, and why it became infrastructure
The Model Context Protocol (MCP) is an open standard that defines how AI applications connect to external tools, data sources and services. Before MCP, every team that wanted a language model to query a database, read a ticket system or call an internal API wrote a bespoke integration for each combination of model and system. MCP replaces that N-times-M integration problem with a single contract: a server exposes capabilities in a standard format, and any compliant client can discover and use them. Anthropic released the protocol as an open specification in late 2024, and within a year it had been adopted across the major AI platforms, including Microsoft's Azure and Copilot ecosystems, OpenAI's products and a long tail of developer tools.
For Swedish and European engineering leaders, the practical significance is that MCP has become the default answer to a question every AI project eventually asks: how do our agents reach our systems? Whether you are building copilots on Azure AI Foundry, wiring coding agents into your development workflow, or exposing line-of-business data to an internal assistant, the integration layer you are designing is increasingly an MCP layer. That makes the protocol worth understanding at an architectural level, not just as a plug-in format.
How the protocol works
MCP follows a client-server model over JSON-RPC. A server advertises three kinds of capability: tools the model can invoke, resources it can read, and prompts that package reusable interaction patterns. A client, typically embedded in an AI application or agent runtime, connects to one or more servers, negotiates capabilities and mediates between the model and the outside world. Servers can run locally over standard input/output for desktop and developer scenarios, or remotely over HTTP for shared enterprise deployments.
The specification has evolved quickly, and the direction of travel matters more than any single revision. Early remote transports leaned on long-lived, stateful connections, which fit demos well but fought against how modern cloud platforms actually scale. Later revisions moved decisively toward stateless operation, so that a fleet of interchangeable server replicas behind a load balancer can serve requests without session affinity. If you run workloads on Azure Container Apps, AKS or similar platforms, this shift is what makes MCP servers deployable like any other stateless microservice, with ordinary autoscaling, health probes and rolling upgrades.
Treat an MCP server as a production API, because that is what it is. It deserves the same authentication, rate limiting, observability and lifecycle management as any service that touches your data. Teams that treat MCP servers as throwaway glue code are the ones that later discover an unauthenticated path from a chat window into a core system.
The decisions an enterprise team actually faces
Build, adopt or wrap
The first decision is rarely whether to use MCP; it is which servers to run. Vendors now ship official servers for common systems, and platforms such as Azure expose managed MCP endpoints for their own services. Your own systems are a different matter. For internal APIs, the usual pattern is a thin MCP server that wraps existing services, enforcing your authorization model and exposing a deliberately small tool surface. Fewer, well-described tools tend to outperform an exhaustive mirror of your API, because the model has to choose between them at every step.
Authentication and authorization
Auth is where most MCP deployments go wrong. The specification defines an OAuth-based authorization model for remote servers, and the hard questions are about identity: does the server act with the end user's permissions, with a service identity, or with an agent-specific identity that can be governed and revoked on its own terms? In Microsoft-centric environments, Entra ID and its agent identity work give you a way to answer that question consistently. Whatever your stack, the principle is the same: the model should never hold credentials, and every tool invocation should be attributable to a governable identity with least-privilege scopes.
Spec versions and migration
Because the protocol is still evolving, version management is a real operational concern. Clients and servers negotiate protocol versions, but a fleet of servers built against an older revision will eventually need a planned migration, particularly across the transport and statefulness changes. The sensible posture is to track the specification's roadmap, pin versions explicitly in your deployments, and budget migration work the way you would for any platform dependency, rather than discovering a breaking change when a client library updates.
Operations and governance
Once agents call tools in production, you need to see what they did. That means tracing tool calls end to end, logging inputs and outputs with attention to personal data under GDPR, and monitoring for prompt-injection attempts that arrive through tool results rather than user input. For EU organisations, the governance questions extend to data residency for the servers themselves and to documenting the tool surface as part of your broader AI compliance work.
How to approach it
Start with one internal system and one well-scoped use case. Build or wrap a single MCP server, put real authentication in front of it from day one, and deploy it on the same platform and pipelines as your other services. Measure how the model actually uses the tools, prune what confuses it, and only then expand the catalogue. The articles below go deeper on each of these fronts, from migration planning for newer spec revisions to hardening and hosting patterns on Azure, and they reflect what this work looks like in real enterprise environments rather than in demo repositories.
Alla artiklar i ämnet
Guiden växer i takt med att vi publicerar — nya artiklar dyker upp här automatiskt.
Anthropic's Model Hardware Standard, released as a research preview on 27 August, gives AI agents a standard way to operate microscopes, liquid handlers and robotic arms through read and write primitives exposed over MCP. Launch partners report instrument integrations in hours instead of weeks, and the timing puts agent-operated hardware on a collision course with the EU Machinery Regulation that applies from January 2027.
The MCP core maintainers published a new roadmap on 22 August 2026, four weeks after the 2026-07-28 spec made the protocol core stateless: five priorities covering agentic messaging, HTTP-native transport unification, agent identity with DPoP and Workload Identity Federation, improved primitives, and SDK developer experience. Here is how Azure-first EU teams should sort that list into adopt now, prepare, and watch.
The Model Context Protocol specification version 2026-07-28 shipped on 28 July with a stateless core, Multi Round-Trip Requests, required routing headers, cacheable list results and a hardened authorization model that deprecates Dynamic Client Registration in favour of Client ID Metadata Documents. All four Tier 1 SDKs shipped support on release day, so Azure teams running MCP servers on Container Apps, AKS or behind API Management can start migrating immediately.
MCP's 2026-07-28 release candidate removes the initialize handshake and the Mcp-Session-Id header, so every request is self-contained and Azure-hosted MCP servers can run behind plain load balancers without sticky sessions or Redis session stores. Tasks and MCP Apps land as formal extensions, six SEPs harden authorization around OAuth 2.0 and OpenID Connect, and Roots, Sampling and Logging enter a 12-month deprecation window.
One year after MCP shipped, this is what adoption actually looks like — server ecosystems, integration patterns, security concerns like tool poisoning and prompt injection, and the open questions heading into 2026.
Microsoft Ignite BRK194: Model Context Protocol (MCP) standardizes agent-tool communication across platforms. Azure API Center integration, federated registries, cross-cloud orchestration, and enterprise governance for scalable agentic ecosystems.
Microsoft Ignite BRK116: Deploy AI agents at scale with Azure App Service, AI Foundry, and MCP tools. Built-in observability, governance, security. Hitachi case study shows 73% downtime reduction and 41% cost savings.
Vanliga frågor
What is the Model Context Protocol (MCP)?
MCP is an open standard, originally released by Anthropic, that defines how AI applications connect to external tools, data sources and services. A server exposes capabilities such as tools and resources in a standard format, and any compliant AI client can discover and use them. It replaces per-integration custom code with one reusable contract.
Do we need MCP if our models already support function calling?
Function calling defines how a model requests a tool invocation within one vendor's API, while MCP standardises how the tools themselves are packaged, discovered and served. With MCP, the same server can serve Claude, Azure-hosted models, Copilot and other clients without rework. If you only ever call one model from one application, plain function calling may be enough; MCP pays off as clients and integrations multiply.
Can we run MCP servers on Azure?
Yes. Remote MCP servers are ordinary HTTP services and run well on Azure Container Apps, AKS or App Service, and Microsoft has integrated MCP support across Azure AI Foundry and the Copilot ecosystem. The protocol's move toward stateless operation means servers can scale horizontally behind a load balancer like any other microservice.
How do we secure an MCP server in an enterprise environment?
Treat it like any production API: require authenticated access using the spec's OAuth-based authorization model, enforce least-privilege scopes, and never place raw credentials in model context. Decide explicitly whether the server acts with the end user's identity, a service identity or a dedicated agent identity, and make every tool call attributable in your logs. Also filter and monitor tool outputs, since prompt injection can arrive through the data a tool returns.
The MCP specification keeps changing. How do we avoid being broken by new revisions?
Pin the protocol version your servers and clients target, and treat spec upgrades as planned migrations rather than automatic dependency bumps. Clients and servers negotiate versions, which gives you a compatibility window, but transport and statefulness changes have required real migration work in the past. Following the official roadmap and testing against new revisions in staging keeps upgrades routine.
Should we build our own MCP servers or use existing ones?
Use official or vendor-maintained servers for common systems, and build thin servers of your own for internal APIs where you control the authorization model. When you build, expose a small, well-described set of tools rather than mirroring your entire API, because a focused tool surface improves both model accuracy and your security posture.