Model Context Protocol (MCP)
A protocol for seamless integration between LLM applications and external data sources.
The Model Context Protocol (MCP) is an open protocol that enables seamless integration between LLM applications and external data sources and tools. Whether you're building an AI-powered IDE, enhancing a chat interface, or creating custom AI workflows, MCP provides a standardized way to connect LLMs with the context they need.
MCP is an open protocol that standardizes how applications provide context to LLMs. Think of MCP like a USB-C port for AI applications. Just as USB-C provides a standardized way to connect your devices to various peripherals and accessories, MCP provides a standardized way to connect AI models to different data sources and tools.
Transport pipes
- stdio: server and client at one end, basically the same local machine
- SSE: server to client streaming with HTTP POST requests for client to server communication basically when client and host server are different (for prod env)
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:
- 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
How MCP Works
How Model Context Protocol (MCP) Works
Getting Started
For Claude Desktop Users - Model Context Protocol
{
"mcpServers": {
"filesystem": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-filesystem",
"/Users/deepaksood/Desktop",
"/Users/deepaksood/Downloads"
]
},
"memory": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-memory"
]
}
}
}
}
Servers
Memory
Knowledge Graph Memory Server - servers/src/memory at main · modelcontextprotocol/servers · GitHub
- A basic implementation of persistent memory using a local knowledge graph. This lets Claude remember information about the user across chats.
- Collaborate with Claude on Projects \ Anthropic
Unlock Claude's Memory: Knowledge Graph MCP Server Tutorial - YouTube
Obsidian
- Obsidian MCP server + VScode Agent + Claude - YouTube
- Let Claude Automate Your Obsidian Notes: Second Brain AI Agent (MCP) - YouTube
- GitHub - MarkusPfundstein/mcp-obsidian: MCP server that interacts with Obsidian via the Obsidian rest API community plugin
- Obsidian MCP servers: experiences and recommendations? - Help - Obsidian Forum
- Automate Note Generation in Obsidian with Claude Desktop and MCP Servers - Share & showcase - Obsidian Forum
- GitHub - StevenStavrakis/obsidian-mcp: A simple MCP server for Obsidian
- Mind blown: MCP + Obsidian : r/ClaudeAI
- Writing 2,000 words in 90 minutes with Obsidian + MCP + Claude.
- AI in Obsidian: Local LLM Setup Guide in CoPilot - YouTube
Others
- servers/src/sequentialthinking at main · modelcontextprotocol/servers · GitHub
- tell me in 1 sentence about me, that I don't know myself. think deeply before giving answer
- servers/src/everything at main · modelcontextprotocol/servers · GitHub
- GitHub - airweave-ai/airweave: Airweave lets agents search any app 2.5K stars
Resources
- Model Context Protocol · GitHub
- GitHub - punkpeye/awesome-mcp-servers: A collection of MCP servers.
- Awesome MCP Servers
- Top 5 MCP Servers to Automate Daily Tasks and Workflows with Prompts | by Pedro Aquino | Medium
- GitHub - wong2/awesome-mcp-servers: A curated list of Model Context Protocol (MCP) servers
- Tools - Inspector - Model Context Protocol
- The MCP Inspector is an interactive developer tool for testing and debugging MCP servers. While the Debugging Guide covers the Inspector as part of the overall debugging toolkit, this document provides a detailed exploration of the Inspector’s features and capabilities.
- GitHub - mcp-ecosystem/mcp-gateway: 🧩 MCP Gateway - A lightweight gateway service that instantly transforms existing MCP Servers and APIs into MCP servers with zero code changes. Features Docker deployment and management UI, requiring no infrastructure modifications.
- MCP Gateway is a lightweight and highly available gateway service written in Go. It enables individuals and organizations to convert their existing MCP Servers and APIs into services compliant with the MCP Protocol — all through configuration, with zero code changes.
- GitHub - lasso-security/mcp-gateway: A plugin-based gateway that orchestrates other MCPs and allows developers to build upon it enterprise-grade agents.
Others
Links
- The Model Context Protocol (MCP) Explained (and one cool code example.) - YouTube
- Is MCP Becoming The Next BIG Thing in AI - YouTube
- What is MCP & why it's a big (huge) deal: Detailed explanation for both… | John Rush | 10 comments
- Building Agents with Model Context Protocol - Full Workshop with Mahesh Murag of Anthropic - YouTube
- What is Model Context Protocol (MCP)? How it simplifies AI integrations compared to APIs | AI Agents That Work
- 🦸🏻#14: What Is MCP, and Why Is Everyone – Suddenly!– Talking About It?
- What is MCP? No, Really! - YouTube
- Get Started With The Model Context Protocol // 2-Minute Tutorial - YouTube
- ChatGPT Supports MCP Server Finally! - YouTube
- MCP Made SIMPLE: Your FIRST Hello World MCP Server. Works for CURSOR & WINDSURF. - YouTube
- How LLM decides which mcp tool to use