Repository navigation
Description
Summary
/setup-providers and /setup-mcp predate /settings. Now that /settings has a proper tabbed UI with a Providers tab that already lists configured providers and MCP servers, having two separate top-level entry points into the same wizards is redundant and confusing. We should sunset the two /setup-* commands and make /settings the single place to configure providers and MCP servers.
Current state
Both commands are "special commands": thin stubs in source/commands/setup-providers.tsx and source/commands/setup-mcp.tsx registered for slash-menu discovery, dispatched in source/app/utils/app-util.ts via SPECIAL_COMMANDS.SETUP_PROVIDERS / SPECIAL_COMMANDS.SETUP_MCP, which call onEnterConfigWizardMode() / onEnterMcpWizardMode(). Those set app modes configWizard / mcpWizard in useModeHandlers, rendered by source/app/components/modal-selectors.tsx.
/settings reaches the same wizards by a different route: settings-tabs.tsx -> Providers tab -> settings-providers-list.tsx / settings-mcp-list.tsx, each of which renders ProviderWizard / McpWizard inline once you pick an entry.
So we have two parallel plumbing paths into one pair of wizards, with slightly different behaviour on each:
- The settings path refreshes running MCP connections after save (
onMcpChanged); the standalone/setup-mcppath goes throughhandleMcpWizardCompleteinuseModeHandlersinstead. - The settings list panels are list-first but every row currently opens the same "add or edit" wizard flow. Selecting a specific provider or server does not deep-link into editing that entry.
Proposed work
- Remove
/setup-providersand/setup-mcpfrom the slash-command registry (source/commands/lazy-registry.ts) and delete the two stub command files. - Retire the
SETUP_PROVIDERS/SETUP_MCPspecial-command entries and theconfigWizard/mcpWizardapp modes, along withonEnterConfigWizardMode/onEnterMcpWizardModeinsource/types/app.ts,useAppHandlers, anduseModeHandlers, once nothing else needs them. Keep whatever the first-run / no-provider bootstrap path relies on. - Make the settings panels the real home for this. Concretely: selecting a provider or server row should edit that entry, with explicit add and delete affordances, instead of every row opening the same generic wizard.
- Unify post-save behaviour so both providers and MCP servers reload the running session consistently (MCP reconnect, provider/model reselection) regardless of which panel triggered the save.
- Consider splitting MCP out of the Providers tab into its own settings tab now that it is a first-class configuration surface.
- Add short-term aliases or a deprecation notice so existing users typing
/setup-providersget pointed at/settings, rather than a bare "unknown command". - Update the docs, which reference the commands in a number of places:
docs/features/commands.md,docs/features/index.md,docs/getting-started/index.md,docs/configuration/mcp-configuration.md, and every per-provider page underdocs/configuration/providers/. Also the in-app hint insource/commands/mcp.tsx:78. - Update the affected tests, including
source/app/utils/app-util.spec.ts, which asserts on the setup command names.
Open questions
- Hard removal or a deprecation period with aliases that forward to
/settings? - Should
/settings providers//settings mcpstyle subarguments exist so the old muscle memory has a direct one-line equivalent?
Activity
addyCooks commentedon Aug 11, 2026
Hard removal or deprecation?
Deprecation, but short one.
/setup-providersis in15 doc pages including getting-started, so new users will keep typing it, so we remove it
from the slash menu but forward it to
/settingswith a notice.Also same thing
/sessionsand/historyalready use.Should
/settings providers//settings mcpexist?I think yes, and build them first
then the deprecation alias is just a one-line forward.
Also I'm thinking that we should split MCP
into its own tab so the rule is simply
/settings <tab>instead of a special case.One thing to fix before pointing people there is, that the settings providers panel drops
the config path and never recreates the client, so a provider added via
/settingsdoesn't apply until restart.
@will-lamerton wdyt about it?
fix(settings): address PR Nano-Collective#848 review feedback
feat(settings): edit or delete a provider/server from its own row
feat(settings): sunset /setup-providers and /setup-mcp in favour of /… (
Resolve conflicts with upstream main for timeline undo (#3)