Model Context Protocol
It’s a protocol (standard way) that allows:
- AI models (like ChatGPT)
- External tools
- Apps
- Databases
- APIs
to communicate in a structured way.
User
↓
App (Frontend / Backend)
↓
MCP Layer
↓
LLM
↕
Tools (DB, APIs, Search, Files, ...)
Why MCP exists
Large Language Models:
- Don’t know how to call tools
- Don’t persist memory naturally
- Need structured input/output format
MCP standardizes:
- Tool calling
- Memory handling
- Context injection