MCP Architecture
Three components, one protocol. Understand how Hosts, Clients, and Servers form the MCP communication layer.
The Three Components
Click each component to explore what it does in the MCP architecture:
Host
Claude, ChatGPT, or any LLM application
MCP Client
The bridge between Host and Server
MCP Server
Your tool or data source
Host Application
The Host is the AI application the user interacts with — like Claude Desktop, Claude Code, or a custom app built with the Anthropic SDK. The Host initiates MCP connections and decides which servers to connect to. It contains one or more MCP Clients.
Role: Receives user input, decides when tools are needed, orchestrates the overall interaction.
Architecture Diagram
Watch how data flows through the MCP architecture:
Data Flow — Step by Step
Click play to animate the request lifecycle, or click individual steps:
Put the Data Flow in Order
Arrange these steps in the correct order for an MCP request
Match Component to Role
Tap one on the left, then its match on the right