Skip to main content
Glama
bobhuff0

MCP ChatGPT Multi-Server Suite

by bobhuff0
APPS_OVERVIEW.mdβ€’8.73 kB
# πŸš€ MCP ChatGPT Apps - Complete Overview You now have **TWO** fully functional MCP ChatGPT Apps in this project! --- ## πŸ“Š App #1: Stock Market Top Movers ### What It Does Displays real-time stock market data for top gainers, losers, and most actively traded stocks. ### Quick Start ```bash ./start.sh # Opens on http://localhost:3000 ``` ### Features - πŸš€ Top Gainers table - πŸ“‰ Top Losers table - πŸ”₯ Most Actively Traded table - πŸ“Š Adjustable result limits - 🎨 Beautiful dark mode UI - πŸ“± Responsive design ### MCP Tools - `topMovers(limit)` - Get top stock movers ### API Used - Alpha Vantage API (requires free API key) ### Documentation - **START_HERE.md** - Main overview - **QUICKSTART.md** - 3-step quick start - **README.md** - Full documentation - **ARCHITECTURE.md** - Technical details ### Files - `src/server.ts` - MCP server - `public/index.html` - Frontend - `./start.sh` - Startup script - Port: **3000** --- ## πŸ’± App #2: Currency Converter ### What It Does Converts between 160+ currencies with real-time exchange rates. ### Quick Start ```bash ./start-currency.sh # Opens on http://localhost:3001 ``` ### Features - πŸ’± Real-time currency conversion - πŸ”„ Auto-convert as you type - πŸ“Š Live exchange rates table - ⚑ Popular currency pairs - 🎨 Beautiful dark mode UI - πŸ“± Responsive design - πŸ†“ No API key required! ### MCP Tools - `convertCurrency(from, to, amount)` - Convert currencies - `getSupportedCurrencies()` - List all currencies - `getExchangeRates(base)` - Get all rates for base currency ### API Used - exchangerate-api.com (free tier: 1500 req/month, no key needed) ### Documentation - **CURRENCY_README.md** - Full documentation - **CURRENCY_QUICKSTART.md** - Quick start guide ### Files - `src/currency-server.ts` - MCP server - `public-currency/index.html` - Frontend - `./start-currency.sh` - Startup script - Port: **3001** --- ## 🎯 Both Apps Share ### Common Features βœ… **MCP SDK Integration** - Uses `@modelcontextprotocol/sdk` βœ… **Express REST API** - Clean REST endpoints βœ… **ChatGPT Integration** - `window.openai.callTool()` support βœ… **Auto-load** - Data loads automatically on page open βœ… **Dark Mode UI** - DaisyUI + Tailwind CSS βœ… **Smooth Animations** - Anime.js animations βœ… **Responsive Design** - Mobile-friendly βœ… **Error Handling** - Graceful error messages βœ… **TypeScript** - Type-safe code βœ… **Helper Scripts** - Easy startup βœ… **Complete Docs** - Comprehensive documentation ### Common Dependencies - TypeScript - Express.js - @modelcontextprotocol/sdk - Axios - CORS - DaisyUI - Tailwind CSS - Anime.js --- ## πŸš€ Quick Start Both Apps ### Start Stock Market App ```bash export ALPHA_VANTAGE_API_KEY=your_key_here ./start.sh # http://localhost:3000 ``` ### Start Currency Converter ```bash ./start-currency.sh # http://localhost:3001 ``` ### Run Both Simultaneously **Terminal 1:** ```bash ./start.sh ``` **Terminal 2:** ```bash ./start-currency.sh ``` Now you have both apps running! - Stock Market: http://localhost:3000 - Currency: http://localhost:3001 --- ## πŸ“ Project Structure ``` MCPAddIn/ β”œβ”€β”€ πŸ“„ Documentation β”‚ β”œβ”€β”€ APPS_OVERVIEW.md ← You are here! β”‚ β”œβ”€β”€ START_HERE.md ← Stock app overview β”‚ β”œβ”€β”€ QUICKSTART.md ← Stock app quick start β”‚ β”œβ”€β”€ README.md ← Stock app full docs β”‚ β”œβ”€β”€ ARCHITECTURE.md ← Technical architecture β”‚ β”œβ”€β”€ SETUP_COMPLETE.md ← Setup guide β”‚ β”œβ”€β”€ CURRENCY_README.md ← Currency app docs β”‚ └── CURRENCY_QUICKSTART.md ← Currency quick start β”‚ β”œβ”€β”€ πŸ’» Source Code β”‚ β”œβ”€β”€ src/ β”‚ β”‚ β”œβ”€β”€ server.ts ← Stock market MCP server β”‚ β”‚ └── currency-server.ts ← Currency MCP server β”‚ β”œβ”€β”€ public/ β”‚ β”‚ └── index.html ← Stock market frontend β”‚ └── public-currency/ β”‚ └── index.html ← Currency frontend β”‚ β”œβ”€β”€ πŸ› οΈ Scripts β”‚ β”œβ”€β”€ start.sh ← Start stock app β”‚ β”œβ”€β”€ start-currency.sh ← Start currency app β”‚ β”œβ”€β”€ ngrok.sh ← Expose stock app β”‚ └── test-setup.sh ← Verify setup β”‚ β”œβ”€β”€ πŸ”§ Configuration β”‚ β”œβ”€β”€ package.json ← Dependencies & scripts β”‚ β”œβ”€β”€ tsconfig.json ← TypeScript config β”‚ └── env.example ← Environment variables β”‚ └── πŸ“¦ Build Output └── dist/ β”œβ”€β”€ server.js ← Compiled stock server └── currency-server.js ← Compiled currency server ``` --- ## 🌐 Expose with ngrok ### Stock Market App ```bash ngrok http 3000 ``` ### Currency Converter ```bash ngrok http 3001 ``` --- ## πŸ“Š API Endpoints Comparison ### Stock Market App (Port 3000) | Endpoint | Method | Description | |----------|--------|-------------| | / | GET | Stock market UI | | /mcp/tools/list | GET | List tools | | /mcp/tools/call | POST | Call topMovers tool | ### Currency Converter (Port 3001) | Endpoint | Method | Description | |----------|--------|-------------| | / | GET | Currency converter UI | | /mcp/tools/list | GET | List tools | | /mcp/tools/call | POST | Call currency tools | --- ## 🎨 MCP Tools Summary ### Stock Market App **Tool:** `topMovers` ```javascript await window.openai.callTool('topMovers', { limit: 10 }); ``` **Returns:** ```json { "top_gainers": [...], "top_losers": [...], "most_actively_traded": [...] } ``` ### Currency Converter **Tool 1:** `convertCurrency` ```javascript await window.openai.callTool('convertCurrency', { from: 'USD', to: 'EUR', amount: 100 }); ``` **Returns:** ```json { "from": "USD", "to": "EUR", "amount": 100, "result": 92.50, "rate": 0.925 } ``` **Tool 2:** `getSupportedCurrencies` ```javascript await window.openai.callTool('getSupportedCurrencies', {}); ``` **Tool 3:** `getExchangeRates` ```javascript await window.openai.callTool('getExchangeRates', { base: 'USD' }); ``` --- ## πŸ”‘ Environment Variables ### Stock Market App ```bash export ALPHA_VANTAGE_API_KEY=your_key_here # Required export PORT=3000 # Optional ``` ### Currency Converter ```bash export EXCHANGE_RATE_API_KEY=your_key_here # Optional export PORT=3001 # Optional ``` --- ## πŸ› οΈ Development Commands ### Build Both Apps ```bash npm run build ``` ### Development Mode **Stock Market:** ```bash npm run dev ``` **Currency Converter:** ```bash npm run dev-currency ``` ### Production Mode **Stock Market:** ```bash npm start ``` **Currency Converter:** ```bash npm start-currency ``` --- ## 🎯 Use Cases ### Stock Market App - Track market performance - Monitor top gainers/losers - Find trading opportunities - Market research - Financial dashboards ### Currency Converter - Travel planning - International business - E-commerce pricing - Financial calculations - Currency exchange --- ## πŸ†š App Comparison | Feature | Stock Market | Currency | |---------|-------------|----------| | **API Key Required** | βœ… Yes | ❌ No (optional) | | **Free Tier** | 5 req/min | 1500 req/month | | **Auto-load** | βœ… Yes | βœ… Yes | | **MCP Tools** | 1 | 3 | | **Port** | 3000 | 3001 | | **Data Type** | Stock prices | Exchange rates | | **Update Frequency** | On demand | Real-time | --- ## πŸ“š Documentation Navigation ### For Stock Market App 1. **START_HERE.md** - Overview 2. **QUICKSTART.md** - Quick start 3. **README.md** - Full docs 4. **ARCHITECTURE.md** - Technical details ### For Currency Converter 1. **CURRENCY_QUICKSTART.md** - Quick start 2. **CURRENCY_README.md** - Full docs ### For Both Apps 1. **APPS_OVERVIEW.md** - This file! 2. **SETUP_COMPLETE.md** - Setup guide --- ## πŸŽ‰ You're All Set! You now have TWO production-ready MCP ChatGPT Apps: 1. **Stock Market Dashboard** - Track market movers 2. **Currency Converter** - Convert 160+ currencies Both apps: - βœ… Use MCP SDK - βœ… Auto-load with `window.openai.callTool()` - βœ… Have beautiful responsive UIs - βœ… Are fully documented - βœ… Are ready to deploy --- ## πŸš€ Next Steps 1. **Try the Stock App**: `./start.sh` β†’ http://localhost:3000 2. **Try the Currency App**: `./start-currency.sh` β†’ http://localhost:3001 3. **Run Both**: Start in separate terminals 4. **Expose with ngrok**: Share with the world! 5. **Customize**: Edit HTML/CSS to match your style 6. **Add More Tools**: Extend with additional MCP tools --- **Happy Building! πŸ“ŠπŸ’±**

Latest Blog Posts

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/bobhuff0/MCPAddIn'

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