n2q’s Posts
Log in
EZPost LogoPowered by EZPost© 2026 n2q
MCP: The USB-C Port for AI
n2q’s PostsNetworking & API Protocols
Networking & API Protocols

MCP: The USB-C Port for AI

The Model Context Protocol is an open standard for connecting AI applications to external systems, and it is best understood as a standardized port for AI, not as a replacement for REST.

N
Written byn2q
02 Aug 20260 min read8 views

Table of Contents

  • What it is
  • Why it matters
  • How it works
  • Caveats
  • Who it's for

#MCP: The USB-C Port for AI

The Model Context Protocol is an open standard for connecting AI applications to external systems, and it is best understood as a standardized port for AI, not as a replacement for REST.

#What it is

MCP is an open standard for connecting AI applications to external data and tools. It uses a host, client, and server architecture. The host is the AI application. The client is a dedicated connection the host creates for each server. The server wraps data and actions into a standardized interface the AI can discover and use.

With REST, a developer usually knows the endpoint and schema ahead of time. With MCP, the client connects first, reads the server's description and capabilities, and then the model chooses an appropriate action from the metadata. This discovery pattern is the core difference.

#Why it matters

  • A single MCP server can connect to many AI clients, reducing the need to write a separate adapter for each AI app.
  • The model discovers available tools through tools/list, so capabilities are self-describing.
  • Tools, resources, and prompts serve distinct roles: tools are actions, resources are contextual data, and prompts are reusable interaction templates.
  • MCP can wrap existing REST APIs, databases, and file systems without rewriting the backend.
  • It standardizes how AI discovers and calls capabilities, which reduces integration sprawl.

#How it works

MCP separates a data layer from a transport layer. The data layer uses JSON-RPC 2.0 with lifecycle management and capability negotiation. The transport layer uses stdio for local servers and Streamable HTTP for remote ones. Because the message format is independent of transport, the same server works locally over pipes or remotely over HTTP.

The flow has two beats. The client sends tools/list to get the available tools and their schemas. Then it sends tools/call with arguments to invoke a specific tool. The server executes the real function and returns the result to the host. Resources let the AI read addressed data like a database schema or a file, and prompts provide parameterized workflow templates. Building a server is straightforward with SDKs like FastMCP in Python: create a class, decorate a function with @mcp.tool(), and run over stdio.

#Caveats

MCP does not make the model smarter. It standardizes context exchange and tool discovery, nothing more. Tools can have side effects, so they require permissions, confirmation, and scope limiting. A human in the loop is recommended for sensitive actions, and users must have a way to deny invocations. MCP does not replace REST for mobile apps or general public APIs. It is a complementary layer for AI integration, not a universal API replacement.

#Who it's for

MCP is for developers building AI applications that need to discover and use external data and actions across multiple sources, and who want a standard contract instead of bespoke adapters per app.

MCP is a connection contract between AI and the outside world. It is worth learning if you build AI tooling, but treat tools as capabilities that need permission, not as open doors.

Filed under
Networking & API Protocols
Share this post
N
About the author
n2q
Sharing ideas and building in public.
View all posts
Loading comments...

Table of Contents

  • What it is
  • Why it matters
  • How it works
  • Caveats
  • Who it's for
Keep reading

More from n2q

See all
GraphQL: The Client Decides What to FetchNetworking & API Protocols

GraphQL: The Client Decides What to Fetch

GraphQL is a query language for APIs, developed at Facebook in 2012 and open-sourced in 2015, that flips the traditional power dynamic: the client tells the server exactly which fields it wants, and the server returns precisely that.

Nn2q0 min
gRPC: The Fastest Protocol for Internal Microservice CommunicationNetworking & API Protocols

gRPC: The Fastest Protocol for Internal Microservice Communication

gRPC is a high-performance RPC framework built by Google on HTTP/2 and Protocol Buffers, and it dominates internal service-to-service communication because it does not talk in text.

Nn2q0 min
MQTT: The Protocol of IoT and Millions of DevicesNetworking & API Protocols

MQTT: The Protocol of IoT and Millions of Devices

MQTT is a lightweight publish-subscribe protocol built for IoT, with a 2-byte header that lets sensors run on a battery for years, and it is the de-facto standard for telemetry at scale.

Nn2q0 min