Related page: 20250327
References:
MCP (Model-Context Protocol) is a standard, streaming JSON-RPC protocol that lets an LLM obtain external data or run tools.
An MCP server is a server that provides that data:
it receives mcp_tool_use
requests from the LLM, calls
downstream services, and streams an mcp_tool_result
back to
the model.
Let’s say we already have an API that returns the current temperature, we can place an MCP server in front of it:
LLM ──(MCP)──► MCP server ──(REST)──► Weather-API
◄───────────── result ──┘
Note that the LLM never talks to the Weather-API directly; the MCP layer gives us a uniform, model-agnostic interface and keeps service logic separate.
TODO: