from .config import AppConfig
from .server import MCPServer
from .utils import setup_logging, parse_args
from .commands import mcp_server
import logging
logger = logging.getLogger(__name__)
def main() -> None:
"""Main entry point for the RCON Model Context Protocol application."""
# Setup logging
setup_logging()
try:
# Load configurations
app_config = AppConfig.from_args(parse_args())
# Create and run the server
server = MCPServer(mcp_server, app_config)
server.run()
except Exception as e:
logger.error(f"Application error: {e}")
raise
if __name__ == "__main__":
main()
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/v9rt3x/cs2-rcon-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server