Skip to main content
Glama
AIDC-AI

pixelle-mcp-Image-generation

by AIDC-AI
welcome.py2.3 kB
# Copyright (C) 2025 AIDC-AI # This project is licensed under the MIT License (SPDX-License-identifier: MIT). """Welcome and initial setup detection for interactive mode.""" from rich.console import Console from pixelle.cli.utils.display import show_welcome from pixelle.cli.utils.command_utils import detect_config_status console = Console() def run_interactive_mode(): """Run interactive mode with welcome message and menu""" # Show welcome message show_welcome() # Detect config status config_status = detect_config_status() if config_status == "first_time": # First time use: full setup wizard + start console.print("\n🎯 [bold blue]Detect this is your first time using Pixelle MCP![/bold blue]") console.print("We will guide you through a simple configuration process...\n") # Show root path info from pixelle.utils.os_util import get_pixelle_root_path current_root_path = get_pixelle_root_path() console.print(f"📁 [bold]Data will be stored in:[/bold] {current_root_path}") console.print("💡 To use a different location, run Pixelle commands in your preferred directory") console.print(" • Data and configurations will be stored in the directory where you run commands") console.print(" • This allows you to create separate root paths for different projects\n") import questionary if questionary.confirm("Start configuration wizard?", default=True, instruction="(Y/n)").ask(): from pixelle.cli.interactive.wizard import run_full_setup_wizard run_full_setup_wizard() else: console.print("❌ Configuration cancelled.") return elif config_status == "incomplete": # Config is incomplete: guide user to handle console.print("\n⚠️ [bold yellow]Detect config file exists but is incomplete[/bold yellow]") console.print("💡 Suggest to re-run configuration or manually edit config file") from pixelle.cli.interactive.menu import show_main_menu show_main_menu() else: # Config is complete: show main menu from pixelle.cli.interactive.menu import show_main_menu show_main_menu()

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/AIDC-AI/Pixelle-MCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server