Skip to main content
Glama
__main__.py768 B
"""Main entry point for the Linux MCP Server.""" import logging import sys from .logging_config import setup_logging from .server import main def cli(): """Console script entry point for the Linux MCP Server.""" # Initialize logging first, before any other operations setup_logging() logger = logging.getLogger(__name__) logger.info("Starting Linux MCP Server") try: # FastMCP.run() creates its own event loop, don't use asyncio.run() main() except KeyboardInterrupt: logger.info("Linux MCP Server stopped by user") sys.exit(0) except Exception as e: logger.critical(f"Fatal error in Linux MCP Server: {e}", exc_info=True) sys.exit(1) if __name__ == "__main__": cli()

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/narmaku/linux-mcp-server'

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