The Internet runs on TCP/IP. We might as well include AI in the mix, but how about AI? TCP/IP allows devices, services, applications, and data to communicate with other devices, services, applications, and data. How does AI talk? This is why I love networking, and the thought of how AI communicates makes me hopeful that the field will survive extensive job replacements. Unless self-healing networks actually come.
I have been reading more into MCP. What exactly is it? Is it necessary for AI models and agents to communicate? Did you know AI agents have their own social media?? Biggest of all, is there any correlation between MCP and TCP/IP for model communication? Can MCP take notes from TCP/IP, or will it rewrite networking?
What is MCP?
Is it Necessary?
- MCP is one way AI models communicate and access tools, data, and context. We often use GenAI tools, such as Gemini, ChatGPT, and Claude. We use human language in our prompts, but it is translated into requests so the system knows what tools and resources to access.
- MCP was created by Anthropic in late 2024. In the IT field, it is relatively new.
Why Relate MCP to TCP/IP?
Why does this matter?
Should it? I think there are lessons in how TCP/IP works that can help us understand how MCP works.
-
Standardization beats customization.
In a world of proprietary networking standards, such as AppleTalk and IPX, TCP/IP remains king, as it is how applications are able to communicate across hosts. Anthropic boasts that MCP "provides a universal, open standard for connecting AI systems with data sources, replacing fragmented integrations with a single protocol." -
Balance the playing field by implementing interoperability.
This supports the previous point. The TCP/IP stack allows for communication across devices because of how it is designed. MCP, as an open standard, "enables developers to build secure, two-way connections between their data sources and AI-powered tools". -
Understand layered communication.
An important part of networking is understanding how data turns into bits and vice versa. That is why there are two main models that help us visualize how networking works: OSI and TCP/IP. AI uses models to ingest input, reason, and provide output. MCP, albeit a protocol at layer 7, is the middleman between LLMs and AI systems. Understanding its role as a layer to request and transfer information provides clarity to an abstracted process. -
Don't forget protocols.
Protocols are agreed rules for communication. Whether it is host-to-host or full encapsulation-decapsulation, systems can communicate because of how protocols consistently operate. For AI, that can be hard due to its non-deterministic nature. How can we bring consistency to something unpredictable? MCP follows a client-server model, where the AI model is the client and calls to a server with tools, integrations, or API hooks. The model queries the server, the server returns results, and those results inform the final response delivered to the user. Protocols provide reliability around non-determinism. -
Apply AAA to MCP security.
This introduces significant security considerations within MCP. You are allowing an open protocol to access local files and tools. If not properly managed or allowed malicious or incorrectly worded prompts, this poses a major security risk, calling for robust authentication, authorization, and auditing. Where should it be implemented: at the client, the server, the LLM? Fact of the matter, it should be everywhere. If we can standardize MCP, there should be a MCP security counterpart.
These parallels become clearer when viewed side by side.
| MCP and TCP/IP Parallels | |||
|---|---|---|---|
| Lesson | TCP/IP Parallel | MCP Parallel | Significance |
| Standardization beats customization | TCP/IP as the backbone and universal communication standard of the Internet | MCP provides a universal way for models to request tools and data | Creates a template for AI systems where models can plug into many services and tools without custom integration |
| Interoperability enables cross-platform AI ecosystems | Provided a practical standard for all devices, not just a class of devices | Different models and tools connect through a shared protocol | Open standards allow AI systems to integrate across platforms, reducing vendor lock-in and enabling ecosystem growth |
| Layered communication simplifies complexity | TCP/IP model uses 4-5 layers to explain how data travels across a network | MCP serves as a layer between client requests and data, context, and tool retrieval | This allows for scalable AI systems and structured understanding of troubleshooting and debugging issues |
| Protocols provide a foundation | Client-server communication patterns | MCP as a protocol follows a client-server architecture: MCP clients interact with MCP servers | Brings consistency to non-determinism |
| AAA | TCP/IP is inherently insecure, requiring layered security controls such as authentication, encryption, and monitoring | MCP architecture must consider identity, permissions, and auditing to govern tool access | Ensures AI systems access tools and data securely, with accountability and traceability |

Comments
Post a Comment