Document elicitation URL mode and timeout options - #3255
Conversation
Generated-By: mintlify-agent Mintlify-Source: dashboard-editor
Generated-By: mintlify-agent Mintlify-Source: dashboard-editor
|
Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits. |
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Workflows to automatically generate PRs for you. |
✅ Snyk checks have passed. No issues have been found so far.
💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse. |
Internal previewPreview URL: https://mcp-inspector-pr-3255.up.railway.app |
|
Closing: this docs PR conflicts with main; the Mintlify bot regenerates an up-to-date PR when the docs change again. |
Pull request was closed
Updates the MCPClientManager reference to document new elicitation features added in the merged PR.
Changes:
docs/sdk/reference/mcp-client-manager.mdx— updated constructor signature to includeoptions?: MCPClientManagerOptions, addedMCPClientManagerOptionstable documentingelicitationTimeoutExtensionMs, and added a new## Elicitationsection coveringsetElicitationCallback(), the updatedElicitationCallbackRequesttype (newserverId,mode,url,elicitationIdfields),ElicitationModetype,setElicitationHandler(), elicitation-aware tool timeout behavior, and declared mode enforcement viaclientCapabilities.elicitation.Summary by cubic
Documents new elicitation support in
MCPClientManagerfrom@mcpjam/sdk, adding URL mode, declared-mode checks, and human-in-the-loop timeout controls. Also updates the constructor to acceptMCPClientManagerOptions.new MCPClientManager(servers, options?: MCPClientManagerOptions).setElicitationCallback()(global) andsetElicitationHandler()(per-server).serverId,mode("form"|"url"),url,elicitationId,relatedTaskId;requestedSchemapreferred over legacyschema.options.elicitationTimeoutExtensionMs(default 10 min). Timeout errors areRequestTimeoutand not retried; no change for servers without a handler/callback.-32602; declare viaclientCapabilities.elicitation(form-only by default unlessurlis declared).Written for commit a01b6cb. Summary will update on new commits.