Skip to main content
Glama

MCP Search Server

by Nghiauet
main.py729 B
import typer from mcp_agent.cli.terminal import Application from mcp_agent.cli.commands import config app = typer.Typer() # Subcommands app.add_typer(config.app, name="config") # Shared application context application = Application() @app.callback() def main( verbose: bool = typer.Option(False, "--verbose", "-v", help="Enable verbose mode"), quiet: bool = typer.Option(False, "--quiet", "-q", help="Disable output"), color: bool = typer.Option( True, "--color/--no-color", help="Enable/disable color output" ), ): """Main entry point for the MCP Agent CLI.""" application.verbosity = 1 if verbose else 0 if not quiet else -1 application.console = application.console if color else None

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/Nghiauet/mcp-agent'

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