Skip to main content
Glama

MCP Server

by cabrit0
main.py1.1 kB
import os import sys # Run setup_environment.py to configure Chrome try: from setup_environment import setup_environment setup_environment() except ImportError: print("Warning: setup_environment.py not found. Chrome configuration may not be complete.") except Exception as e: print(f"Warning: Error in setup_environment.py: {str(e)}") from api import MCPServerApp import config # Create FastAPI app app = MCPServerApp( title="MCP Server", version="1.1.3" ).get_app() if __name__ == "__main__": import uvicorn # Use configurações do arquivo config.py port = config.PORT debug = config.DEBUG print(f"Iniciando MCP Server na porta {port}") print(f"URL base: {config.BASE_URL}") print(f"Modo de depuração: {'Ativado' if debug else 'Desativado'}") print("") print("O servidor estará disponível em:") print(f" - Local: http://localhost:{port}") print(f" - Rede: http://0.0.0.0:{port}") print("") print("Pressione Ctrl+C para encerrar o servidor") uvicorn.run("main:app", host="0.0.0.0", port=port, reload=debug)

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/cabrit0/mcp_server_reuneMacacada'

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