MSBA-311 · Lesson 3 of 12 · 21 min

Model Context Protocol in solutions

▶ Video coming soon A video version of this lesson is on the way.

By October 2026, Quillfield already had one Model Context Protocol server in production use. The Policy Service Assistant called Northmark Mutual's appetite server, with three read-only tools and the appetite guide resource enabled, as Yusra had set up earlier in the year. What changed with the Commercial Submission Desk was scale. Four agents on two platforms would need to read BrokerDesk, and Pascal Wojtyniak, the integration lead who owns the BrokerDesk API, did not want to build and maintain a separate integration for each. "If I write it once as an MCP server," he told Bram, "both Copilot Studio and Foundry can use it. The question is how we keep it safe once everyone can reach it."

This lesson looks at MCP from an architect's point of view: what the current specification provides, how Microsoft's platforms use it, when to build a server rather than a connector, and how to govern servers in a multi-agent solution. The basics of adding an MCP server to a Copilot Studio agent are covered in *Integrating and Extending Agents in Copilot Studio* (MSBA-241).

A quick recap of the roles

MCP defines three roles. The host is the AI application, such as a Copilot Studio agent or a Foundry agent. The host uses an MCP client to connect to an MCP server, which offers capabilities. A server can offer tools, which a model can call; resources, which are data the application can read; and prompts, which are reusable templates. Messages use JSON-RPC. Over the network, the standard transport is Streamable HTTP.

The protocol's governance has also changed. Anthropic introduced MCP in late 2024, and in December 2025 it was donated to the Agentic AI Foundation, which operates under the Linux Foundation. The project publishes dated specification revisions, and in November 2026 its maintainers described a more predictable release cycle. An official MCP Registry, launched in preview in September 2025, lists publicly available servers.

Two hosts on the left: the Submission Desk agent in Copilot Studio and the submission review agent in Foundry. Both connect through MCP clients to two servers on the right: the BrokerDesk MCP server run by Quillfield and the Northmark Mutual appetite server run by the carrier. Entra ID issues tokens for the BrokerDesk server; a registry lists both servers with owners.
One server, many hosts: the BrokerDesk MCP server serves agents on both platforms, while the carrier's server stays outside Quillfield's control.

What changed in the July 2026 specification

The current specification revision is dated July 28, 2026, replacing the revision of November 25, 2025. It is the largest change to the protocol since its release, and architects should know its main themes even if their platforms have not yet adopted every part.

A stateless core. Earlier revisions began every connection with an initialize handshake and, over HTTP, could keep a session identified by an Mcp-Session-Id header. The 2026 revision removes both. Each request carries the protocol version and the client's capabilities in its metadata, and a new server/discover method lets a client learn what a server supports. Stateless servers are much easier to run behind load balancers and to scale, which matters when many agents share one server.

Server requests to clients rethought. Earlier revisions let a server send requests back to the client in the middle of an operation, for example to ask the model for a completion (sampling), to ask the user for input (elicitation) or to ask which folders it may use (roots). The 2026 revision replaces these with multi round-trip requests: a server can answer a tool call with a result that says more input is required, and the client calls again with that input. Roots, sampling and logging are deprecated.

Long-running work as an extension. Tasks, which let a server accept work and report on it later, moved out of the core into an official extension. Subscriptions to resource changes now use a single subscriptions/listen mechanism.

Observability and caching built in. Requests can carry OpenTelemetry trace context in their metadata, so a trace can follow a call from an agent into the server. Results can be marked cacheable with a time to live and a scope, which helps cost and latency, a topic for lesson 11. Required HTTP headers name the method and the tool or resource being called, so gateways and firewalls can apply policy without parsing the body.

Authorization tightened. MCP authorization is based on OAuth. The 2026 revision requires clients to validate the issuer of an authorization response, following RFC 9207, and binds credentials to the authorization server that issued them, which closes a class of mix-up attacks. Dynamic Client Registration is deprecated in favour of Client ID Metadata Documents, in which a client identifies itself with a URL that points to a document describing it. Separately, in June 2026 the project described Enterprise-Managed Authorization, an approach in which an organization's own identity provider decides which MCP servers a user's AI applications may connect to, rather than each user consenting server by server.

A deprecation policy. Features now follow a lifecycle with at least twelve months between deprecation and removal. The older HTTP with server-sent events transport is deprecated, which matches Copilot Studio's earlier decision to stop supporting SSE-only servers after August 2025.

AreaBefore (2025 revisions)July 28, 2026 revision
Connection set-upinitialize handshakeVersion and capabilities sent with every request; server/discover
HTTP sessionsMcp-Session-Id headerRemoved; stateless core
Asking the user or model mid-callServer-initiated elicitation and samplingMulti round-trip requests; sampling, roots and logging deprecated
Long-running workTasks in the coreTasks as an official extension
Client registrationDynamic Client RegistrationClient ID Metadata Documents preferred
TracingNot specifiedOpenTelemetry trace context in request metadata

A practical warning for architects: platforms adopt new revisions on their own schedules. A server that only speaks the 2026 revision may not work with a client that still expects the 2025 handshake, and the reverse. When Pascal designed the BrokerDesk server, he checked which revisions Copilot Studio and Foundry supported at the time and planned to support both old and new clients during the transition. You should do the same, using the platform documentation as the authority rather than the specification alone.

MCP on Microsoft's platforms

Copilot Studio supports MCP servers as tools, using the Streamable transport. It supports tools and resources, but not prompts, and MCP tools require generative orchestration. When you add a server, you choose an authentication type: none, API key, or OAuth 2.0 with dynamic discovery, dynamic or manual configuration. Tools that a server adds or changes appear in the agent automatically, which is convenient and also a governance concern, as we will see.

Microsoft Foundry lets agents use MCP servers as tools, and at Build 2026 Microsoft announced, in preview, toolboxes: curated sets of tools that are exposed together as a single MCP endpoint, so that a team can publish an approved toolbox and many agents can use it. Foundry also previewed tool search, which lets an agent find relevant tools from a large catalogue rather than loading every tool description up front, and skills offered as MCP resources. Check the current status of each, since previews change.

Microsoft Agent 365 added a tools registry at Ignite in November 2026, alongside its agent registry, so that MCP servers and other tools used by agents can be inventoried and governed. For a multi-agent solution, this gives the security team one place to see which agents use which servers.

Build a server or use a connector?

Quillfield already had a BrokerDesk custom connector in Power Platform, with three operations exposed to the Policy Service Assistant. So why build an MCP server too? Bram and Pascal compared the options.

QuestionCustom connectorMCP server
Who can use it?Power Platform makers and Copilot Studio agentsAny MCP host: Copilot Studio, Foundry, developer tools and others
Governed byPower Platform data policies and environmentsServer-side controls, identity provider, gateways and registries
Who maintains it?Often a maker or integration teamA team that runs a service, with hosting, scaling and patching
How tools changeWhen the connector is updated and redeployedWhen the server changes; hosts see changes automatically
Best forOne platform, maker-built solutionsSeveral platforms sharing one integration

They decided to keep the connector for the Policy Service Assistant, which works well and is governed by Quillfield's data policies, and to build a separate BrokerDesk MCP server for the Submission Desk and the Foundry agents. The server would start with three read tools (get submission, get client, list inspection reports) and one write tool (create submission draft), and would run under Pascal's team's ownership with the same API behind it.

Designing good MCP tools

An MCP server's tool names and descriptions are read by every model that connects to it, so they are effectively part of every agent's instructions. Pascal followed five rules that apply to any server.

Few, purposeful tools. One tool per business action, not one per API endpoint. A model choosing among four clear tools does better than one choosing among forty overlapping ones.

Descriptions written for a model. Say what the tool does, when to use it, and when *not* to use it. Describe each input, including its format and an example.

Separate reads from writes. Read tools can be widely enabled; write tools should be few, clearly named and enabled only where needed. Quillfield's create submission draft tool creates a *draft* that a person must confirm in BrokerDesk.

Lean, structured results. Return the fields the agent needs, not the whole record. Large results waste context and money, and may expose data the agent does not need.

Errors as useful results. When a call fails because of bad input, return a message the model can act on, such as "submission number must be 8 digits", rather than a bare error code.

A simplified tools/call request and result from the BrokerDesk MCP server. Version and capability metadata are omitted for clarity.
{ "jsonrpc": "2.0", "id": 41, "method": "tools/call",
  "params": {
    "name": "list_inspection_reports",
    "arguments": { "client_id": "C-20418", "max_results": 5 } } }

{ "jsonrpc": "2.0", "id": 41, "result": {
    "content": [ { "type": "text",
      "text": "3 reports found. 2025-04-11 sprinkler test passed; 2024-03-02 roof repairs recommended; 2023-02-19 no issues." } ],
    "structuredContent": { "reports": [
      { "date": "2025-04-11", "type": "sprinkler", "outcome": "passed" },
      { "date": "2024-03-02", "type": "roof", "outcome": "repairs recommended" },
      { "date": "2023-02-19", "type": "general", "outcome": "no issues" } ] } } }

Where MCP servers sit in the architecture

In a single-agent solution, an MCP server is just another tool. In a multi-agent solution it becomes shared infrastructure, and that changes how it should be run. Bram set out three placement decisions for the BrokerDesk server.

Ownership. A shared server needs one accountable owner, not one per consuming agent. Pascal's integration team owns the BrokerDesk server, publishes its tool list, and agrees changes with the agent owners who depend on it. This mirrors the agent contracts Quillfield already uses between the Policy Service Assistant and the HR Leave Assistant: a named owner, a description of what is offered and a notice period for changes.

A gateway in front. Quillfield decided that traffic to its own MCP servers would pass through an API gateway, where token validation, rate limits per calling agent, request logging and blocking of unapproved tools can be applied in one place. The 2026 specification's required headers, which name the method and the tool being called, make this kind of policy easier because the gateway does not need to read the message body to know what is being asked.

Resources as well as tools. Not everything an agent needs is an action. The BrokerDesk server also offers Quillfield's underwriting submission checklist as a resource, so that every agent preparing a submission reads the same current version instead of a copy pasted into its instructions months ago. When the checklist changes, every agent sees the change at once, which is the same benefit, and the same risk, as automatic tool updates.

Finally, think about what happens when a shared server is unavailable. If four agents depend on one server, an outage stops all four. Lesson 9 covers fallbacks, but the placement decision comes first: a shared server should be run with the availability the most important of its consumers needs.

Trust and security

MCP makes it easy to give agents new powers, which is exactly why it needs governance. Wendell reviewed the BrokerDesk and Northmark servers with Bram and grouped the risks into five kinds. All of the controls below are defensive measures an organization applies to servers it uses or runs.

Untrusted descriptions. A tool's description goes straight into the model's context. A malicious or careless server could include instructions in a description, such as telling the agent to send data to another tool. This is sometimes called tool poisoning. Control: connect only to servers you trust, read every tool description before enabling it, and enable only the tools you need.

Silent change. Because hosts pick up changed tools automatically, a server that was safe when reviewed can change later. Control: monitor tool lists and descriptions for changes and treat a change as a new review; for external servers, agree change notice in the vendor contract, as Quillfield did with Northmark.

Token misuse. A server must only accept tokens issued for it, and must not pass a user's token on to other services. The MCP security guidance forbids this token passthrough because it lets a server act as a confused deputy. Control: validate token audience on your servers, use per-user delegated access for reads, and give any service identity the narrowest permissions possible.

Untrusted results. A tool result can contain text an attacker controls, such as a client's email copied into BrokerDesk. If an agent treats that text as instructions, it may be manipulated. Control: treat tool results as data, keep consequential actions behind confirmation, and use content safety filters such as prompt injection detection where the platform offers them.

Sprawl. Without an inventory, nobody knows which agents can reach which servers. Control: register every server with an owner, use the Agent 365 tools registry or an equivalent inventory, and route traffic through a gateway where you need central policy and logging.

Worked problem

Reviewing a new server request

Ngozika's team wants their Foundry agent to use a public MCP server that offers free weather and flood-zone data for commercial addresses. It offers twelve tools, including one called export_dataset. What should Bram ask before approving it?

Show solution
  1. Who runs the server, and is there an agreement covering availability, change notice and data handling?
  2. Which tools are actually needed? Probably two read tools: flood zone by address and historical weather. Enable only those.
  3. What does export_dataset do, and why would a weather server need it? It should not be enabled.
  4. What data leaves Quillfield? Client addresses are personal information when the client is a sole proprietor, so the review must cover privacy.
  5. How will changes to the tool list be noticed? Add the server to the registry and to change monitoring.

Answer: Approve two read tools only, after a privacy review of sending addresses, with the server registered, an owner named and changes monitored. If no agreement with the operator is possible, look for a commercial data source instead.

Common mistakes

  • MistakeAssuming every platform supports the latest MCP revision.

    InsteadCheck which revisions each host supports and plan for both during transitions.

  • MistakeExposing one MCP tool per API endpoint.

    InsteadDesign a few tools around business actions with clear descriptions.

  • MistakeEnabling every tool a server offers.

    InsteadEnable only the tools the agent needs, after reading their descriptions.

  • MistakePassing a user's token from the MCP server to downstream services.

    InsteadAccept only tokens issued for the server and obtain separate tokens downstream.

  • MistakeReviewing a server once and never again.

    InsteadMonitor tool lists and descriptions and treat changes as new reviews.

Summary and key terms

  • MCP connects hosts to servers that offer tools, resources and prompts over JSON-RPC and Streamable HTTP.
  • The July 28, 2026 revision introduced a stateless core, multi round-trip requests, tasks as an extension, tracing metadata and tighter authorization.
  • Copilot Studio supports MCP tools and resources with generative orchestration; Foundry adds toolboxes and tool search in preview.
  • Build an MCP server when several platforms need the same integration; keep connectors where maker governance fits.
  • Govern servers with allow lists, description review, change monitoring, audience-bound tokens, least privilege and a registry.
MCP host
The AI application that uses an MCP client to reach servers.
Streamable HTTP
The standard MCP transport over HTTP.
Multi round-trip request
A tool call that returns a request for more input, which the client answers in a follow-up call.
Client ID Metadata Document
A document at a URL that describes an OAuth client, used instead of dynamic registration.
Tool poisoning
Placing harmful instructions in a tool's description so that a model follows them.
Token passthrough
A server forwarding a token it received to another service; forbidden by MCP security guidance.

Practice problems

Work each problem on paper first, then reveal the answer to check.

  1. Which handshake did the July 2026 MCP revision remove?

    Show answer

    The initialize handshake; version and capabilities now travel with each request.

  2. Why are automatically updated tool descriptions a risk?

    Show answer

    A server reviewed as safe can change what agents see without anyone editing the agent.

  3. Give two design rules for MCP tools.

    Show answer

    Any two of: few purposeful tools, descriptions written for a model, reads separated from writes, lean structured results, useful error messages.

Lesson quiz · 5 questions

Score 60% or more to complete this lesson.

Take the quiz