Sampling
Your MCP server's research tool has gathered a stack of Wikipedia articles. To turn that raw text into a polished summary it needs a language model — but you'd prefer the server not hold its own API key or pay for tokens.
What does sampling let your server do?
Acest exercițiu face parte din cursul
Model Context Protocol: Advanced Topics
Exercițiu interactiv practic
Transformă teoria în practică cu unul dintre exercițiile noastre interactive
Începe exercițiul