Skip to main content
Glama

TreePod Financial MCP Agent

by janetsep
setup-github.sh5.66 kB
#!/bin/bash # 🏕️ TreePod Financial MCP - Automated GitHub Setup Script # Este script automatiza COMPLETAMENTE la configuración de Git y GitHub echo "🏕️ TreePod Financial MCP - Setup Completamente Automatizado" echo "==========================================================" echo "Este script hará TODO por ti - solo sigue las instrucciones" echo "" # Verificar que estamos en el directorio correcto if [ ! -f "server-final.js" ] || [ ! -f "treepod-web-app.html" ]; then echo "❌ Error: No estás en el directorio correcto del proyecto TreePod Financial MCP" echo " Asegúrate de ejecutar este script desde: /Users/janetsepulvedacorrea/Desktop/treepod-financial-mcp" exit 1 fi echo "✅ Directorio del proyecto verificado" # Verificar si Git ya está inicializado if [ -d ".git" ]; then echo "⚠️ Git ya está inicializado en este directorio" read -p "¿Quieres continuar? (y/N): " -n 1 -r echo if [[ ! $REPLY =~ ^[Yy]$ ]]; then echo "❌ Operación cancelada" exit 1 fi else echo "🔧 Inicializando Git..." git init echo "✅ Git inicializado" fi # Crear .gitignore si no existe if [ ! -f ".gitignore" ]; then echo "📝 Creando .gitignore..." cat > .gitignore << 'EOF' # Dependencies node_modules/ npm-debug.log* yarn-debug.log* yarn-error.log* # Environment variables .env .env.local .env.development.local .env.test.local .env.production.local # Logs logs *.log # Runtime data pids *.pid *.seed *.pid.lock # SSL certificates (keep structure but ignore actual certs) certs/*.pem certs/*.key certs/*.crt certs/*.p12 # macOS .DS_Store .AppleDouble .LSOverride ._* # IDE files .vscode/ .idea/ *.swp *.swo *~ # Backup files *.backup *.bak *.tmp # Build artifacts dist/ build/ EOF echo "✅ .gitignore creado" else echo "✅ .gitignore ya existe" fi # Agregar todos los archivos echo "📦 Agregando archivos al repositorio..." git add . # Verificar si hay cambios para commit if git diff --cached --quiet; then echo "⚠️ No hay cambios para hacer commit" else # Hacer commit echo "💾 Haciendo commit inicial..." git commit -m "🏕️ Initial commit: TreePod Financial MCP Agent - Complete MCP server implementation with 8 financial tools - Multiple server variants (HTTP, HTTPS, SSE, Auth) - Independent web interface (treepod-web-app.html) - Claude Desktop integration ready - Comprehensive documentation and diagnostic scripts - Financial tools: analysis, rates, occupancy, connection test" echo "✅ Commit inicial completado" fi # Crear rama main echo "🌿 Configurando rama main..." git branch -M main echo "✅ Rama main configurada" # Mostrar estado del repositorio echo "" echo "📊 Estado del repositorio:" echo "=========================" git status --short echo "" # Mostrar información para GitHub con instrucciones más claras echo "🚀 PASO CRÍTICO - CREAR REPOSITORIO EN GITHUB:" echo "==============================================" echo "⚠️ IMPORTANTE: Necesitas hacer esto MANUALMENTE (no puedo hacerlo por ti)" echo "" echo "📋 INSTRUCCIONES EXACTAS:" echo "1. 🌐 Abre en tu navegador: https://github.com/new" echo "2. 📝 Repository name: treepod-financial-mcp" echo "3. 📄 Description: 🏕️ Agente Financiero Inteligente para TreePod Glamping - Servidor MCP especializado" echo "4. 🔓 Visibilidad: Public (marca el botón)" echo "5. ❌ NO marques 'Add a README file'" echo "6. ❌ NO marques 'Add .gitignore'" echo "7. ❌ NO marques 'Choose a license'" echo "8. ✅ Haz clic en 'Create repository'" echo "" echo "⏳ Después de crear el repositorio, presiona ENTER aquí..." read -p "¿Ya creaste el repositorio en GitHub? (presiona ENTER): " echo "" # Pedir el username de GitHub echo "📝 CONFIGURACIÓN DE REMOTE:" echo "==========================" read -p "Ingresa tu username de GitHub: " github_username if [ -n "$github_username" ]; then # Configurar remote echo "🔗 Configurando remote origin..." git remote remove origin 2>/dev/null || true git remote add origin "https://github.com/$github_username/treepod-financial-mcp.git" echo "✅ Remote configurado: https://github.com/$github_username/treepod-financial-mcp.git" echo "" echo "🚀 COMANDOS PARA SUBIR A GITHUB:" echo "===============================" echo "Después de crear el repositorio en GitHub, ejecuta:" echo "" echo "git push -u origin main" echo "" echo "📋 VERIFICACIÓN:" echo "===============" echo "git status" echo "git remote -v" echo "" # Preguntar si quiere subir ahora read -p "¿Quieres intentar subir a GitHub ahora? (y/N): " -n 1 -r echo if [[ $REPLY =~ ^[Yy]$ ]]; then echo "🚀 Subiendo a GitHub..." if git push -u origin main; then echo "✅ ¡Proyecto subido exitosamente a GitHub!" echo "🌐 URL del repositorio: https://github.com/$github_username/treepod-financial-mcp" else echo "❌ Error al subir. Asegúrate de que:" echo " 1. El repositorio existe en GitHub" echo " 2. Tienes permisos de escritura" echo " 3. Tu autenticación de Git está configurada" fi fi else echo "⚠️ Username no proporcionado. Configuración manual requerida." fi echo "" echo "🎉 ¡Configuración de Git completada!" echo "📁 Directorio del proyecto: $(pwd)" echo "🔧 Archivos principales:" echo " - server-final.js (Claude Desktop)" echo " - treepod-web-app.html (Interfaz web)" echo " - README.md (Documentación)" echo " - package.json (Dependencias)"

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/janetsep/treepod-financial-mcp'

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