MCP Sampling: When the Server Calls the Client Model
Quick answer: Sampling is the reverse of a normal tool call. Instead of the client calling a server tool, the server sends a sampling/createMessage request asking the host to run its own LLM and return the result. The server supplies messages and model preferences, but the host chooses the actual m…
Read the full story at DEV Community — AI ↗
Timeline · 1 report
- 2026-11-15 15:26 · DEV Community — AI
MCP Sampling: When the Server Calls the Client Model