Skip to main content
Glama

MCP Complete Implementation Guide

by saksham0712
start-chatgpt-demo.ps1•2.26 kB
#!/usr/bin/env pwsh # ChatGPT Demo Proxy Startup Script Write-Host "šŸŽ­ Starting ChatGPT DEMO Proxy Server..." -ForegroundColor Green Write-Host "šŸ’” DEMO MODE: This works without OpenAI API calls!" -ForegroundColor Cyan Write-Host " • Uses simulated AI responses" -ForegroundColor White Write-Host " • All MCP tools work perfectly" -ForegroundColor White Write-Host " • No API key or quota limits" -ForegroundColor White # Kill any existing server on port 3001 $existingProcess = Get-Process -Name node -ErrorAction SilentlyContinue | Where-Object { (netstat -ano | findstr ":3001") -match $_.Id } if ($existingProcess) { Write-Host "šŸ”„ Stopping existing server on port 3001..." -ForegroundColor Yellow Stop-Process -Id $existingProcess.Id -Force Start-Sleep -Seconds 2 } # Start the ChatGPT demo proxy server Write-Host "🌟 Starting ChatGPT Demo Proxy on port 3001..." -ForegroundColor Cyan Write-Host "Health check: http://localhost:3001/health" -ForegroundColor Cyan Write-Host "Chat interface: file:///$PWD/chatgpt-interface.html" -ForegroundColor Cyan Write-Host "" Write-Host "šŸŽÆ Demo Features:" -ForegroundColor Green Write-Host " • šŸ“ File system operations (read/write/list)" -ForegroundColor White Write-Host " • šŸ’» System information" -ForegroundColor White Write-Host " • šŸ¤– Simulated AI responses" -ForegroundColor White Write-Host " • šŸ› ļø All MCP tools working" -ForegroundColor White Write-Host "" Write-Host "šŸ’¬ Try these commands in the web interface:" -ForegroundColor Yellow Write-Host " 'Hello' - Get welcome message" -ForegroundColor Gray Write-Host " 'List files in my MCP directory' - Browse files" -ForegroundColor Gray Write-Host " 'Read my README file' - Read file contents" -ForegroundColor Gray Write-Host " 'Get system information' - System details" -ForegroundColor Gray Write-Host " 'Create a test file' - Write new file" -ForegroundColor Gray Write-Host "" Write-Host "Press Ctrl+C to stop the demo proxy" -ForegroundColor Yellow Write-Host "===========================================" -ForegroundColor Green try { node chatgpt-proxy-demo.js } catch { Write-Host "āŒ Failed to start ChatGPT demo proxy: $_" -ForegroundColor Red exit 1 }

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/saksham0712/MCP'

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