Skip to main content
Glama

RTIdeas MCP API Server

server.py1.16 kB
#!/usr/bin/env python3 """ RTIdeas MCP API Server - Archivo Principal Servidor API REST para RTIdeas con soporte MongoDB """ import uvicorn import os import sys from pathlib import Path # Agregar el directorio actual al path sys.path.insert(0, str(Path(__file__).parent)) from rtideas_api_server import create_app def main(): """Función principal del servidor""" print("🚀 RTIdeas MCP API Server") print("=" * 50) # Crear la aplicación app = create_app() # Configuración del servidor host = os.getenv("API_HOST", "0.0.0.0") port = int(os.getenv("API_PORT", "8000")) reload = os.getenv("API_RELOAD", "false").lower() == "true" print(f"📍 Host: {host}") print(f"🔌 Puerto: {port}") print(f"🔄 Auto-reload: {'Sí' if reload else 'No'}") print(f"🌐 URL: http://{host}:{port}") print(f"📚 Docs: http://{host}:{port}/docs") print("=" * 50) # Iniciar servidor uvicorn.run( app, host=host, port=port, reload=reload, log_level="info" ) 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/automationagent10-max/MCP1'

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