Model Context Protocol
I explore the Model Context Protocol as a standard way to provide AI agents with tools and real-time data.
A topic page: a summary of what my posts say, with each claim quoted from the post it came from. The posts are the authority. Last checked 2026-11-06.
Summary. I explore the Model Context Protocol as a standard way to provide AI agents with tools and real-time data. I demonstrate how this protocol connects various systems, such as Business Central and legal databases, to enhance the reasoning and accuracy of models like Claude Code.
What the posts say
The Model Context Protocol improves how AI agents plan and reason.
βModel Context Protocol (MCP) is a framework designed to enhance the reasoning and planning capabilities of AI agents.β β Model Context Protocol (Part 1)
The server provides a standard way for AI clients to access specific tools.
βA: A small program that offers tools to an AI client in a standard way.β β Model Context Protocol (Part 2)
The usefulness of a tool depends on the description provided to the model.
βA tool you add, like multiplication, is only as useful as the description the model sees.β β Model Context Protocol (Part 1)
The MCP tool uses a docstring to describe its purpose to the AI model.
βThe function's docstring β the triple-quoted string directly below its definition β is not a comment for human readers only; MCP clients, including Claude Code, read it directly and show it to the AI model as the description of what this tool does and when to use it, which is why it is written as a clear, complete sentence rather than a terse label.β β Model Context Protocol (Part 3)
The MCP tools are thin wrappers that call the exact same functions as the REST API.
βAll three are thin wrappers calling the exact same functions the REST API and the frontend call β same skill, multiple interfaces.β β Agentic AI for Professionals (Part 3)
The server provides live data from the company even though the tools are read-only.
βThe server exposes its pages as read-only tools, but they still return live data from your company.β β Model Context Protocol (Part 4)
The Azure Functions MCP extension simplifies the process of turning a Python function into a tool.
βI chose an Azure Function, because the Functions MCP extension turns a Python function into an MCP tool with one decorator.β β Azure Foundry Agent (Part 3)
Context7 fetches real-time documentation to reduce errors from stale knowledge.
βContext7 is a Model Context Protocol (MCP) server that fetches real-time, version-specific documentation and injects it into Claude's context, helping to reduce errors from stale knowledge.β β Claude Code (Part 7)
The posts behind this page
- Azure Foundry Agent (Part 5) β Following Microsoft's Foundry IQ learning module with my six Minnesota law documents: a knowledge base, an agent with vague versus strict instructions, 17 questions, and a comparison with my other RAG posts
- Azure Foundry Agent (Part 3) β Starting from the Legal intake specialist voice agent template in Microsoft Foundry, adding a save tool as an MCP server on Azure Functions, and testing it with a made-up car accident call
- Model Context Protocol (Part 4) β Connecting Claude Code to Business Central's built-in MCP server
- Model Context Protocol (Part 3) β Building a Retrieval-Augmented Generation stack and finally exposing the search function to Claude Code over MCP
- Agentic AI for Professionals (Part 3) β Giving nsw-legal-research-assistant a real interface and an MCP server exposing the same skill to Claude Code, then running it through the same demo Thomson Reuters used to introduce CoCounsel, live, with real output β grounded Q&A, pinpoint citations, Review, and skill-chaining drafting
- Claude Code (Part 7) β Adding the Context7 MCP server to Claude Code to inject real-time, version-specific library docs and reduce stale training data errors
- Model Context Protocol (Part 2) β Building a Model Context Protocol (MCP) server for Microsoft Business Central from scratch, deploying it to Azure Container Apps over Streamable HTTP, and connecting it to Copilot Studio and LM Studio
- Model Context Protocol (Part 1) β Building a Model Context Protocol (MCP) server from the TypeScript quick start, adding a multiplication tool, testing it with MCP Inspector, and calling it from Visual Studio Code's chat