Extra capabilities the MCP server wrapper adds to a tool's ctx while it runs behind serveMcp. Both are absent outside an MCP call (e.g. when the same tool runs inside a plain agent loop).
ctx
Optional
Asks the connected MCP client's user for structured input. Rejects if the client didn't opt in.
Asks the connected MCP client's LLM for a completion. Rejects if the client didn't opt in.
Extra capabilities the MCP server wrapper adds to a tool's
ctxwhile it runs behind serveMcp. Both are absent outside an MCP call (e.g. when the same tool runs inside a plain agent loop).