Repository navigation
Closed
Labels
needs-triageNot yet classified. Floor until a type and one priority tier are set.
Description
Problem
plugins/miro declares miro_api_token with required: true (plugins/miro/.claude-plugin/plugin.json). When the token is unset, the /plugin menu lists miro as an error: Plugin option "miro_api_token" isn't set. Open /plugin manage to configure it, or check that the plugin's userConfig schema declares "miro_api_token". The bundled server also exits at startup without the token, so the failure shows up as a menu error rather than as guidance at the moment someone tries to use Miro.
A missing credential should not render as a plugin error. It should fail fast when a Miro tool is first needed, and tell the user how to fix it.
Proposed fix
- Drop
required: truefrommiro_api_token(keepsensitive: true). Update the option description, which currently says "Required". - Launch the server through a small wrapper (still
command: node, or a script) that checksMIRO_API_TOKENbefore starting. If unset or empty, it writes one actionable message to stderr and exits non-zero: what is missing, and to run/plugin configure miro@melodic-software, or supply the token another way. - Add a
SessionStart(or first-use skill) notice only if the wrapper's message proves invisible to users. Check what/mcpshows for a failed server before adding a hook. - Update
plugins/miro/README.mdand the CHANGELOG. Add a test that runs the wrapper with the token unset and asserts the non-zero exit and message.
Evidence and open questions
- Current docs do not say whether
/pluginrenders an unsetrequired: trueoption as an error, or how${user_config.KEY}substitutes when the key is unset (https://code.claude.com/docs/en/plugins/manifest-reference.md, https://code.claude.com/docs/en/mcp.md). The paste above comes from an observed/pluginscreen on 2026-09-28. Confirm on a live install that droppingrequiredclears the error, and record the substituted value for an unset key (empty or literal) so the wrapper checks the right thing. - Related: Launch plugin MCP servers through vault-exec instead of user_config secrets #4342 (vault-exec launch design) closed with both plugins still on
user_config. Any wrapper here must stay compatible with that direction.
Acceptance criteria
- With
miro_api_tokenunset,/pluginshows no error for miro. - Starting the server (or first Miro tool use) with the token unset produces one message naming the missing value and the exact configure command.
- With the token set, behavior is unchanged.
Metadata
Metadata
Assignees
Labels
needs-triageNot yet classified. Floor until a type and one priority tier are set.
Type
Fields
No fields configured for issues without a type.
Activity
kyle-sexton commentedon Sep 29, 2026
Findings from reproducing this on a live install and reading the current docs (2026-09-29).
What triggered the error
miroinstalls withdefaultEnabled: false, andclaude plugin installnever prompts for userConfig. It printsN userConfig options not yet setand moves on (https://code.claude.com/docs/en/plugins/troubleshooting, "The userConfig dialog never appears").claude plugin enable miro@melodic-software -s userthen turned the plugin on with no token set, and the/pluginErrors tab showedPlugin option "miro_api_token" isn't set..../claude-ops:plugins syncunderinstall_new: all, and any enable-everything convergence run.mirohasrequired: true. The only${user_config.*}uses in.mcp.json,hooks/hooks.jsonand.lsp.jsonare inmiroanddometrain.mcp.json.What the docs say and don't say
Documented:
required: "Iftrue, the configuration dialog doesn't accept an empty value." It is described as a dialog rule, not a load gate.default: "Value used when the user provides nothing."(M required)afternot yet set. That is a warning line, not a load failure.urlthat references an unset${user_config.*}, the documented error isInvalid MCP server config ... URL is unset or invalid.Not documented:
Plugin option "X" isn't set.... It appears on no docs page I could fetch.${user_config.KEY}becomes in MCPenvorheaderswhen unset: empty string, literal text, or a skipped server. For ordinary env vars the docs say an unset variable is left as literal${VAR}text with a warning inclaude mcp list(https://code.claude.com/docs/en/mcp, "Environment Variable Expansion in .mcp.json"), but nothing says the same holds foruser_config.${VAR:-default}is documented for environment variables only, not${user_config.KEY:-...}.Consequences for the proposed fix
required: trueis the documented way to stop treating an empty value as invalid, but it is not documented to clear the Errors-tab row. Confirm on a live install before relying on it. The fix is not done until/pluginshows nothing for a miro that is enabled with no token.MIRO_API_TOKENand the literal text${user_config.miro_api_token}as "unset", because which one arrives is undocumented. Record the observed value in the test.defaultEnabled: falseplus the setup skill as the only enable path. That does not help a user who enables the plugin by hand, so it is a weaker fix./pluginerror appears only after the plugin is enabled, so the fleet tooling should also stop enabling a plugin whose required or credential option is unset./claude-ops:pluginsalready lists unset options underAction needed. It should hold back the enable step for those plugins until the option is set, instead of enabling and then reporting.Optional guard
A manifest lint that rejects
required: trueon anysensitive: trueoption would stop this class from coming back in a new credential-bearing plugin. Judgment, not researched.Upstream
The Errors-tab text and the unset-substitution behavior are both undocumented. Both are worth a
/feedbackdocs request once the local test settles what actually happens.fix(miro): address review on setup check, description, and README lea…
kyle-sexton commentedon Sep 29, 2026
Status (2026-09-29): the fix is merged in #5211 (miro 0.4.14).
requiredis dropped, the server starts without a token, and each tool call returns one error namingmiro_api_tokenand the configure command. Unset means an absent variable, an empty value, or an unexpanded${user_config.value. The setup skill now reportstoken not set.Left open on purpose: the docs do not say whether dropping
requiredclears the/pluginErrors-tab row, and that was not tested live. To close this issue, enable miro with no token on a live install and confirm/pluginshows nothing for it.