Skip to content

Add a CLI/MCP mode toggle to the landing page #195

Open

Description

@KalebCole

Idea

After the Partiful MCP server ships, add a prominent CLI / MCP mode selector to the production landing page. It should feel as immediate and familiar as a light/dark-mode toggle, but switch the page between two product lenses rather than two color themes.

The visitor stays on one landing page and can instantly understand either way to use Partiful:

  • CLI mode: native binary installation, terminal commands, JSON output, schemas, and plan/confirmation workflow
  • MCP mode: MCP client setup, transport/configuration, tool discovery, agent invocation, and the same underlying safety guarantees

Experience direction

  • Use a compact, high-salience pill or segmented control near the primary navigation/hero.
  • Label both states explicitly as CLI and MCP; icons can support the labels but must not replace them.
  • Preserve one visual world, layout rhythm, and product story. The selector changes the integration lens, not the brand.
  • Switch all materially mode-specific content together: hero support copy, install/setup steps, examples, architecture explanation, proof points, and primary CTA.
  • Keep shared product outcomes and the event-planning story stable so visitors can compare modes without relearning the page.
  • Use a purposeful transition that respects prefers-reduced-motion and does not cause layout jumps.

Product-truth boundary

MCP mode must be based on the shipped, reviewed MCP server contract and implementation. Do not publish placeholder tool names, supported-client claims, transports, configuration examples, or capabilities before those facts are approved.

The MCP view must preserve the CLI safety model rather than imply that MCP bypasses it:

  • read operations remain deterministic and structured;
  • standard mutations still require a reviewed plan;
  • consequential actions still require exact confirmation;
  • private credentials, identifiers, and message content remain protected;
  • protocol drift still fails closed.

Interaction requirements

  • The selected mode is keyboard accessible and has visible focus.
  • Use appropriate mode-selector semantics such as tabs or a radio group rather than presenting it as an on/off setting.
  • The selected mode is URL-addressable so a CLI or MCP link can be shared directly.
  • Avoid a flash of the wrong mode during initial load.
  • Back/forward navigation restores the correct mode.
  • Both modes work at desktop and mobile widths, including the existing 390×844 target.
  • The page remains complete and understandable when scripting or motion is unavailable.

Acceptance criteria

  • Production remains a single docs/index.html landing surface
  • A clearly labeled CLI/MCP selector is available near the top of the page
  • CLI remains the default until the MCP server is released
  • CLI mode preserves the current native CLI install and capability content
  • MCP mode uses only reviewed, shipped MCP setup and tool information
  • Hero, setup, examples, proof, architecture, and CTA content switch coherently
  • Selection is shareable through the URL and works with browser history
  • Keyboard, screen-reader, focus, reduced-motion, no-script, and responsive behavior are covered
  • Automated interaction checks and desktop/mobile visual captures cover both modes
  • Existing GitHub Pages deployment remains intact

Dependencies

  • Blocked until the new MCP Server Wayfinder map resolves the server contract and the MCP implementation is reviewable or shipped.
  • Build on the production landing-page work tracked in Improve the production landing page using the agentic prototype.
  • Link the future MCP map and implementation issue here when they are created.

Out of scope

  • Treating CLI and MCP as different products or separate websites
  • A cosmetic light/dark theme toggle
  • Inventing MCP capabilities before implementation
  • Changing the underlying Partiful remote or CLI product contracts as part of the landing-page work

Activity

  1. added
    enhancement
    on Aug 14, 2026
  2. KalebCole commented on Aug 14, 2026

    @KalebCole
    OwnerAuthor

    Prototype captured on branch prototype/195-cli-mcp-toggle in draft PR #196.

    Interactive preview: https://kalebcole.github.io/partiful-cli/pr-preview/pr-196/?variant=A&mode=mcp

    Use the floating arrows to compare A — Header pill, B — Hero chooser, and C — Edge rail. Add mode=cli or mode=mcp to compare the two content lenses. Five rendered screenshots are committed under docs/prototypes/cli-mcp-toggle/screenshots/ and embedded in the PR.

  3. KalebCole commented on Nov 14, 2026

    @KalebCole
    OwnerAuthor

    Triage bot: held. This depends on the MCP server, which is on the hold list (#205). Needs: Kaleb's decision on MCP first.

  4. added
    held
    on Nov 14, 2026
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

    enhancementheld

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions