GlossaryModel Context Protocol
Model Context Protocol
MCP (Model Context Protocol) is an open standard that lets AI applications and agents connect to outside tools and data through servers that expose tools, resources and prompts in one common format. It replaces a custom integration for every pairing of AI app and tool with one protocol both sides speak.
How it works
MCP defines three roles. The host is the application a person uses, such as a desktop assistant or a code editor. Inside the host, a client manages a connection to each server. A server is a separate program that offers capabilities. Messages between client and server use JSON-RPC 2.0. The protocol is stateless: there is no setup handshake, every request carries its protocol version and the client's capabilities, and a discovery call lets a client ask a server up front which versions and features it supports.
Servers offer three kinds of capability. Tools are actions the model can call, each with a name, a description and a JSON Schema that defines its inputs, such as "run a design rule check on this board file." Resources are data the application can read into the model's context window, such as a datasheet or a netlist. Prompts are reusable templates for common tasks. When the model wants to act, the host sends a tool call to the right server, the server runs it and returns the output, and the model reads it, which is tool calling over a standard interface. When a server needs more from the person partway through, such as a confirmation or a missing value, it returns a request for that input and the client retries with the answer, a feature the specification calls elicitation. Optional extensions add features such as long-running tasks, and remote servers use OAuth-based authorization.
The specification also sets expectations for safety. It states that people should be able to see which tools are exposed and deny tool calls, and it leaves the actual permission model to the host application.
MCP vs an API
An API is the interface a single program offers to other software, with its own endpoints, authentication and data shapes. An MCP server usually wraps one or more APIs and describes each action as a tool in the protocol's common format. That way any MCP client can find and call it without custom code. An API is how a program talks to a system. MCP is how an AI application finds and uses many systems the same way.
Why it matters
An agent that can only chat cannot open a board file, run a check or write a record. A shared protocol for tools lets the same agent use a PCB layout tool, a parts database, a test log or a repository without a one-off integration for each. For tool builders, one MCP server makes a tool available to every application that speaks the protocol. Reading values from tools rather than memory is also a form of grounding, which cuts hallucination.
That reach is also why permissions matter. A server that can write files, place orders or change a design is powerful, and the protocol itself does not decide what is safe. The host and the server do.
How to get it right
- Treat MCP as a tool interface, not as a model. The model still reasons. MCP is how it calls tools and reads resources consistently.
- Expose only the actions you mean to allow. Give read-only and write actions separate tools, and require approval for anything that changes a design, spends money or sends data out.
- Describe tools precisely. Clear names, descriptions and input schemas decide whether the model calls the right tool with the right inputs.
- Log every tool call. For debugging and for production use, keep a record of which tools were called, with what inputs, and what they returned, not only the final message.
- Check the work. An agent's changes still have to pass the same checks as a person's, for example a design rule check on every board it changes.
MCP in robotics and drone hardware
Hardware teams already script their tools: exporting Gerber files, running checks, querying parts by MPN and pulling test data. MCP turns those scripts into tools an agent can call. A server that wraps an EDA tool such as KiCad can let an agent read a netlist, run a design rule check or export a release package. KiCad's own IPC API, which lets outside programs talk to a running instance, is the kind of interface such a server builds on.