Model Context Protocol

I use the Model Context Protocol (MCP) to connect AI models to external data sources, tools, and documentation.

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-26.

Summary. I use the Model Context Protocol (MCP) to connect AI models to external data sources, tools, and documentation. This protocol allows me to bridge the gap between large language models and specific business systems like Business Central or legal databases.

What the posts say

Business Central includes a built-in MCP server that exposes APIv2 objects.

β€œBusiness Central now ships its own Model Context Protocol (MCP) server, built directly into the product.” β€” Model Context Protocol (Part 4)

A small, specific list of tools is more effective and manageable than providing the AI with every available option.

β€œTen tools you understand are better than four hundred you do not.” β€” Business Central and DeepSeek Harness (Part 1)

The AI can only call tools that are explicitly included in the configuration list.

β€œIf a tool is not on the list, the AI is never offered it, so it has nothing to call.” β€” Business Central and DeepSeek Harness (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 system provides consistent results across different interfaces because they share the same backend functions.

β€œEvery beat above ran against the full stack live on a Docker Compose setup on the M4 MacBook Air from Part 2 β€” Postgres/pgvector, the FastAPI backend, and the React frontend, all local, no cloud dependency for any of it:” β€” Agentic AI for Professionals (Part 3)

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)

The system ensures a human must review and approve a transaction before the system executes a web API call to post the order.

β€œThat is on purpose, but a draft that nobody can post is only half a job.” β€” Business Central and DeepSeek Harness (Part 6)

The posts behind this page

  • Business Central and DeepSeek Harness (Part 1) β€” Business Central has an MCP server built in. Four terms explained, then a short build: one configuration that lets an AI assistant read items, customers and vendors and make draft sales orders, and nothing else.
  • Business Central and DeepSeek Harness (Part 2) β€” Connect DeepSeek Harness to the Assistant configuration with one profile entry and one sign-in, then ask two simple questions: how many chairs are in stock, and sell two of them to a customer.
  • Business Central and DeepSeek Harness (Part 3) β€” Add Microsoft Learn as a second MCP server, so the AI can look up what a Business Central action does before anyone uses it.
  • Business Central and DeepSeek Harness (Part 6) β€” How the request_posting tool is built: how the add-on posts with one web API call as the signed-in user, a tool the AI can call with one argument, and one function that checks, asks a person and posts.
  • Business Central and DeepSeek Harness (Part 7) β€” The rules the posting tool checks in code, the review card a person reads, what happens when the person approves, what happens when a rule fails, and what this design does not do.
  • 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