What Is the Model Context Protocol (MCP)? A Technical Primer for Engineers – Cloud CAD AI blog cover

What Is the Model Context Protocol (MCP)? A Technical Primer for Engineers

Abstract. The Model Context Protocol (MCP) is an open standard that defines how an AI application discovers and calls external tools and data. This article describes the problem MCP was designed to solve, its architecture (hosts, clients and servers), the two protocol layers, the primitives a server can expose, and the security questions it raises. We close with what the protocol means for engineering software such as SOLIDWORKS, where the “tool” is a desktop CAD session rather than a web API.

1. Introduction

A large language model on its own can only read and write text. To be useful inside real work, it needs two things it does not have: current context (a file, a database, the model that is open on your screen) and the ability to act (run a query, add a feature, export a drawing).

Before MCP, every pairing of an AI application with an outside system needed its own connector. With N AI applications and M systems, that is up to N × M integrations, each written and maintained separately. This is often called the N×M integration problem. When Anthropic released MCP as an open standard on 25 November 2024, it described the goal as replacing these fragmented integrations with a single protocol (Anthropic).

MCP replaces those pairings with one shared contract. A system is wrapped once, as an MCP server, and any application that speaks MCP can use it. The integration count falls from N × M toward N + M.

2. Architecture

The MCP architecture overview defines three participants:

  • Host: the AI application the person uses, for example Claude Desktop, Claude Code, Cursor or Visual Studio Code.
  • Client: a component inside the host that holds one connection to one server. A host that talks to three servers runs three clients.
  • Server: a program that exposes context and actions. It can run on the same machine as the host or on a remote service.

2.1 Two layers

The protocol is split into two layers.

  1. Data layer. Messages are JSON-RPC 2.0 requests, responses and notifications. This layer covers version and capability exchange and the primitives described below.
  2. Transport layer. This carries the messages. MCP defines two transports: stdio, where the host starts the server as a local process and talks over standard input and output, and Streamable HTTP, used for remote servers, with standard HTTP authentication and OAuth recommended for tokens.

Because the data layer is identical across transports, the same server logic can be reached locally or over a network.

2.2 From sessions to stateless requests

Earlier versions of the specification opened every connection with an initialize handshake, in which client and server agreed a protocol version and declared what each supported, followed by a notifications/initialized message. The 2026-07-28 specification retired that handshake and protocol-level sessions (MCP blog). Each request now carries its protocol version, client identity and capabilities itself, and a client can call an optional server/discover method to learn what a server offers up front. A server that needs state hands the model an explicit handle that is passed back as a tool argument.

3. Primitives

Primitives are the things each side can offer the other.

Primitive Offered by Purpose
Tools Server Functions the model can call to act, such as running a query or creating a feature
Resources Server Read-only context, such as file contents or a schema
Prompts Server Reusable templates that structure a task
Sampling Client Lets a server ask the host’s model for a completion (deprecated in 2026-07-28)
Elicitation Client Lets a server ask the user for input or confirmation (now a multi round-trip request)
Logging Client Lets a server send log messages to the host (deprecated in 2026-07-28)

In the 2026-07-28 specification, sampling and logging are deprecated but keep working for at least twelve months, and elicitation now runs as a multi round-trip request: the server replies that it needs input, and the client retries the call with the answer attached. Tools, resources and prompts are unchanged.

Each server primitive is discovered with a */list method. A typical exchange is short: the client calls tools/list, receives each tool’s name, description and JSON Schema for its inputs, and later calls tools/call with a tool name and arguments. The result comes back as typed content (text, images or resources) that the model reads before deciding its next step.

4. Adoption and governance

MCP spread quickly beyond its origin. OpenAI adopted it in March 2025, and support followed in Google’s Gemini, Microsoft Copilot, Visual Studio Code and Cursor. By December 2025 there were more than 10,000 active public MCP servers, and Anthropic donated the protocol to the newly formed Agentic AI Foundation under the Linux Foundation, co-founded with Block and OpenAI (Anthropic). The specification is now governed in the open rather than by a single vendor. A revision dated 28 July 2026 made the core protocol stateless, which makes remote servers simpler to run at scale.

5. Security considerations

Connecting a model to tools that act on real systems moves risk from “the model said something wrong” to “the model did something wrong”. The literature so far points to three areas:

  • Tool poisoning and prompt injection. Instructions hidden in tool descriptions or returned content can steer a model. Only install servers from sources you trust.
  • Implementation flaws. Like any software, MCP servers and helper tools have shipped with vulnerabilities, so keep them updated.
  • Permission scope. A server should expose only what the task needs, and writes should be under the user’s control.

A practical rule follows: prefer servers that run locally when the data is sensitive, that limit which tools are visible, and that can require a confirmation before any change.

6. Implications for CAD

Most early MCP servers wrapped web services. Engineering software is different: SOLIDWORKS runs on a Windows desktop, holds its state in an open session, and works through a COM API rather than HTTP. That makes the stdio transport the natural fit. The server runs next to SOLIDWORKS, the host starts it as a local process, and model files never need to leave the PC.

This is the design we chose for SOLIDWORKS MCP. It is a local MCP server that lets Claude Desktop, Claude Code, Cursor or Codex model, inspect and export in the SOLIDWORKS session already open on your machine. Writes can be set to require a Yes/No confirmation, and a “modeling” tool profile limits what the assistant can see. The installer, release notes and companion skills are public on GitHub.

7. Conclusion

MCP turns tool integration from a per-pair engineering job into a shared standard. Its value for engineering teams is not that a chatbot can describe a part, but that an assistant can read the real model, act on it through a defined set of tools, and report what it measured. The protocol supplies the plumbing. Trust still depends on how each server limits and confirms what the model is allowed to do.

Further reading on this site: our products · engineering services · about Cloud CAD AI · contact us · SOLIDWORKS MCP on Product Hunt

Get SOLIDWORKS MCP at solidworksmcp.com

References

  1. Anthropic. “Introducing the Model Context Protocol.” 25 November 2024. anthropic.com
  2. Model Context Protocol. “Architecture overview.” modelcontextprotocol.io
  3. Anthropic. “Donating the Model Context Protocol and establishing the Agentic AI Foundation.” 9 December 2025. anthropic.com
  4. JSON-RPC Working Group. “JSON-RPC 2.0 Specification.” jsonrpc.org
  5. Model Context Protocol. “The 2026-07-28 specification.” 28 July 2026. blog.modelcontextprotocol.io
  6. Wikipedia. “Model Context Protocol.” wikipedia.org
Shopping Cart