Skip to content

docs(mcp): correct mcpConfigure(arguments) init-restore claim#4417

Merged
schloerke merged 1 commit into
mcpfrom
schloerke/issue-4415-v1
Jul 17, 2026
Merged

docs(mcp): correct mcpConfigure(arguments) init-restore claim#4417
schloerke merged 1 commit into
mcpfrom
schloerke/issue-4415-v1

Conversation

@schloerke

Copy link
Copy Markdown
Collaborator

Handles a documentation correction deferred as a non-goal from the #4415 design spec (the "widget auto-restore doc corrections from #4414" item).

Problem

The @param arguments roxygen for mcpConfigure() still claimed init args could be read "via input/bookmark restoration (init)." That auto-restore path was proven unworkable for MCP Apps — the UI renders at resources/read before the tool-call arguments exist — and was removed in #4414. The stale claim was the only leftover; the other locations (mcp/design-mcpConfigure.md, mcp/limitations.md, mcp/demo-app/app.R, and the R/mcp-session.R roxygen) were already corrected during #4414.

The companion out-of-scope item (the resourceUri-args init-path spike) is already fully documented in mcp/limitations.md §1 and its summary table, so no change was needed there.

Change

  • R/mcp-config.R: describe the real mechanism — a single mcpUpdates() observer applying updateXxxInput(), fresh instance per tool call, no input/bookmark auto-restore, brief open flash unavoidable — matching the wording already in R/mcp-session.R.
  • man/mcpConfigure.Rd: regenerated.

Docs-only. No NEWS entry (mcpConfigure() is still on the unreleased mcp feature branch).

The @param arguments roxygen still claimed init args could be read 'via
input/bookmark restoration (init)'. That auto-restore path was proven
unworkable for MCP (the UI renders at resources/read before args exist)
and removed in #4414. Describe the real mechanism instead: a single
mcpUpdates() observer applying updateXxxInput(), with the unavoidable
open flash noted. Handles the leftover doc correction deferred as a
non-goal from #4415's design spec.

Regenerated man/mcpConfigure.Rd.
@schloerke
schloerke merged commit 154c86d into mcp Jul 17, 2026
12 checks passed
@schloerke
schloerke deleted the schloerke/issue-4415-v1 branch July 17, 2026 19:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant