--- title: Introduction description: 'Get started with the Model Context Protocol (MCP)' --- MCP is an open protocol that standardizes how applications provide context to LLMs. Think of it as the "Language Server Protocol for AI" - it separates the concerns of providing context from the LLM interaction itself. This separation enables: - **Modularity**: Each MCP server focuses on one specific integration or capability - **Reusability**: The same server can be used with any MCP-compatible client - **Composability**: Multiple servers can be combined to create powerful workflows - **Standardization**: A common protocol for all integrations reduces complexity ## Why MCP? MCP helps you build agents and complex workflows on top of LLMs. LLMs frequently need to integrate with data and tools, and MCP provides: - A growing list of pre-built integrations that your LLM can directly plug into - The flexibility to switch between LLM providers and vendors - Best practices for securing your data within your infrastructure ### General architecture At its core, MCP follows a client-server architecture where a host application can connect to multiple servers: ```mermaid flowchart LR subgraph "Your Computer" Host["MCP Host\n(Claude, IDEs, Tools)"] S1["MCP Server A"] S2["MCP Server B"] S3["MCP Server C"] Host <-->|"MCP Protocol"| S1 Host <-->|"MCP Protocol"| S2 Host <-->|"MCP Protocol"| S3 S1 <--> D1[("Local\nData Source A")] S2 <--> D2[("Local\nData Source B")] end subgraph "Internet" S3 <-->|"Web APIs"| D3[("Remote\nService C")] end ``` - **MCP Hosts**: Programs like Claude Desktop, IDEs, or AI tools that want to access data through MCP - **MCP Clients**: Protocol clients that maintain 1:1 connections with servers - **MCP Servers**: Lightweight programs that each expose specific capabilities through the standardized Model Context Protocol - **Local Data Sources**: Your computer's files, databases, and services that MCP servers can securely access - **Remote Services**: External systems available over the internet (e.g., through APIs) that MCP servers can connect to ## Get started Choose the path that best fits your needs: Build and connect to your first MCP server ## Tutorials Learn how to build your first MCP client ## Explore MCP Dive deeper into MCP's core concepts and capabilities: Understand how MCP connects clients, servers, and LLMs Expose data and content from your servers to LLMs Create reusable prompt templates and workflows Enable LLMs to perform actions through your server Let your servers request completions from LLMs Learn about MCP's communication mechanism ## Development tools Essential tools for building and debugging MCP servers: Learn how to effectively debug MCP servers and integrations Test and inspect your MCP servers with our interactive debugging tool ## Contributing Want to contribute? Check out [@modelcontextprotocol](https://github.com/modelcontextprotocol) on GitHub to join our growing community of developers building with MCP.