Skip to main content
Glama

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