https://modelcontextprotocol.io/introduction
MCP - A standard protocol (like LSP for IDEs) to connect LLMs with context and tools. Uses JSON-RPC - An RPC standard that uses JSON - pass a method name and some params, get a result back.
- Hosts - LLM applications (i.e. your IDE or Claude Desktop). Takes all the output from the clients and manages it. Acts as the UI.
- Clients - Connects to one server instance. Does handshaking (capability exchange), manages talking back and forth between host and server.
- Servers - Implement tools, contexts
- Resources - Context, data
- Prompts - Templates for querying an LLM