CommencerCommencez gratuitement

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?

Cet exercice fait partie du cours

<cours>Model Context Protocol: Advanced Topics</cours>
Voir le cours

Exercice interactif pratique

Transformez la théorie en action avec l’un de nos exercices interactifs

Commencer l’exercice