Common questions.
What is MCP Sampling?
MCP sampling is the mechanism by which an MCP server asks the connected AI client to perform an LLM inference call on its behalf, enabling server-side agentic patterns without the server having direct access to a model.
Why does MCP Sampling matter for AI agents?
Sampling requests must be governed because they allow servers to influence model behaviour and inject content into the agent's reasoning context.
Which terms are related to MCP Sampling?
Closely related concepts include MCP Server Discovery, MCP Poisoning, MCP Roots, MCP Authorization. Each is defined in the Prefactor glossary.