KEMBAR78
MCP: Support Sampling · Issue #244162 · microsoft/vscode · GitHub
Skip to content

MCP: Support Sampling #244162

@digitarald

Description

@digitarald

Enable secure LLM delegation through MCP’s sampling protocol, allowing servers to request AI completions while preserving client control over model selection and data privacy.

  • User approval flow for all sampling requests
  • Visible context sources in generated responses
  • Model hint mapping to available providers
  • Safety limits on temperature/max_tokens
  • Media type validation/caching

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions