MCP client: server-initiated sampling #676

Closed
opened 2026-10-27 13:37:18 +00:00 by sam · 0 comments
Owner

Implement MCP server-initiated sampling support: when the MCP server sends a sampling request, route it to the LLM and return the sampled response. This enables MCP servers to request LLM completions as part of tool execution (e.g. for sub-agent delegation within a tool).

Notes

Design: docs/prds/mcp-tool-completion.md#mcp-server-initiated-sampling-151. Suggested council lens: lens-contract.

Close reason

Closed


Imported from beads archie-core-1786637493736-151-85e57902 · GitHub #172 · type task · priority P2 · created 2026-08-08 · closed 2026-10-01

Implement MCP server-initiated sampling support: when the MCP server sends a sampling request, route it to the LLM and return the sampled response. This enables MCP servers to request LLM completions as part of tool execution (e.g. for sub-agent delegation within a tool). ### Notes Design: docs/prds/mcp-tool-completion.md#mcp-server-initiated-sampling-151. Suggested council lens: lens-contract. ### Close reason Closed --- _Imported from beads `archie-core-1786637493736-151-85e57902` · GitHub #172 · type task · priority P2 · created 2026-08-08 · closed 2026-10-01_
sam added the mediumtask labels 2026-10-27 13:37:18 +00:00
sam self-assigned this 2026-10-27 13:37:18 +00:00
sam closed this issue 2026-10-27 13:37:18 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: sam/archie#676