Skip to content

Sunset /setup-providers and /setup-mcp in favour of /settings #832

Closed

Description

@will-lamerton

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-mcp path goes through handleMcpWizardComplete in useModeHandlers instead.
  • 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

  1. Remove /setup-providers and /setup-mcp from the slash-command registry (source/commands/lazy-registry.ts) and delete the two stub command files.
  2. Retire the SETUP_PROVIDERS / SETUP_MCP special-command entries and the configWizard / mcpWizard app modes, along with onEnterConfigWizardMode / onEnterMcpWizardMode in source/types/app.ts, useAppHandlers, and useModeHandlers, once nothing else needs them. Keep whatever the first-run / no-provider bootstrap path relies on.
  3. 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.
  4. 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.
  5. Consider splitting MCP out of the Providers tab into its own settings tab now that it is a first-class configuration surface.
  6. Add short-term aliases or a deprecation notice so existing users typing /setup-providers get pointed at /settings, rather than a bare "unknown command".
  7. 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 under docs/configuration/providers/. Also the in-app hint in source/commands/mcp.tsx:78.
  8. 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 mcp style subarguments exist so the old muscle memory has a direct one-line equivalent?

Activity

  1. addyCooks commented on Aug 11, 2026

    @addyCooks
    Collaborator

    Hard removal or deprecation?
    Deprecation, but short one. /setup-providers is in
    15 doc pages including getting-started, so new users will keep typing it, so we remove it
    from the slash menu but forward it to /settings with a notice.
    Also same thing/sessions and /history already use.

    Should /settings providers / /settings mcp exist?
    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 /settings
    doesn't apply until restart.

    @will-lamerton wdyt about it?

  2. added 2 commits that reference this issue on Aug 14, 2026
    b15db36
    038aa6f
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:tuiclean upenhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions