Skip to content

Add Rust CLI front end as alternative to Electron app #625

@aj47

Description

@aj47

Feature Request

Add a Rust CLI front end option as a desktop alternative to the Electron app.

Motivation

Providing a native Rust CLI would offer users a lightweight alternative to the Electron app, with benefits including:

  • Lower resource usage (no Chromium overhead)
  • Faster startup times
  • Better system integration
  • Smaller binary size
  • Option for users who prefer terminal-based interfaces

Proposed Implementation

  • Create a Rust CLI application that interfaces with the existing MCP backend
  • Support core functionality available in the Electron app
  • Provide both interactive and non-interactive modes
  • Cross-platform support (Windows, macOS, Linux)

Technical Considerations

  • Use existing Rust crates for terminal UI (e.g., ratatui, crossterm)
  • Maintain compatibility with current MCP protocol
  • Consider using clap for command-line argument parsing
  • Ensure feature parity where applicable

Benefits

  1. Performance: Native binary with minimal overhead
  2. Portability: Single executable, no Node.js/Electron dependencies
  3. Server environments: Better suited for headless/server deployments
  4. Developer preference: Appeals to CLI-focused developers
  5. Resource efficiency: Ideal for resource-constrained environments

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions