Skip to main content
Glama

MCP Instruct

by hlsitechio
NETLIFY-FINAL-DEPLOY.mdโ€ข4.34 kB
# ๐Ÿš€ Netlify Final Deployment - MCP Instruct ## โœ… Your Site is Live! - **URL**: https://superb-trifle-6be3cb.netlify.app - **Project ID**: 50e72970-27ba-4525-9a3f-dce5d5e8acbd ## ๐Ÿ“ฆ New Deployment Package Ready **File**: `netlify-final.zip` This package has the CORRECT structure for Netlify: ``` / โ”œโ”€โ”€ index.html (landing page) โ””โ”€โ”€ functions/ โ””โ”€โ”€ mcp-bridge.js (serverless function) ``` ## ๐Ÿ”„ Re-deploy with Correct Structure 1. **Go to Netlify Dashboard** - https://app.netlify.com/sites/superb-trifle-6be3cb/deploys 2. **Deploy the New Package** - Drag and drop `netlify-final.zip` - Wait for "Published" status 3. **Set Environment Variable** - Go to: Site configuration โ†’ Environment variables - Add: `MCP_API_KEY = mcp_your_secure_key` - Click Deploy โ†’ Trigger deploy โ†’ Deploy site ## ๐Ÿงช Test Your Endpoints After deployment, test these: ### 1. Landing Page: ``` https://superb-trifle-6be3cb.netlify.app/ ``` ### 2. Health Check (No Auth): ```bash curl https://superb-trifle-6be3cb.netlify.app/.netlify/functions/mcp-bridge ``` If you get HTML (404), the function isn't deployed yet. ### 3. Health Endpoint: ```bash curl -X GET https://superb-trifle-6be3cb.netlify.app/.netlify/functions/mcp-bridge/health ``` ### 4. With Authentication: ```bash curl -X GET \ -H "Authorization: Bearer YOUR_API_KEY" \ https://superb-trifle-6be3cb.netlify.app/.netlify/functions/mcp-bridge/agents ``` ## ๐Ÿ”— ChatGPT Desktop Configuration ### For Warp MCP: ```json { "mcpServers": { "mcp-instruct": { "url": "https://superb-trifle-6be3cb.netlify.app/.netlify/functions/mcp-bridge", "env": { "MCP_API_KEY": "your_api_key" } } } } ``` ### For ChatGPT Custom GPT: 1. Create new Custom GPT 2. Add Action: - **Server URL**: `https://superb-trifle-6be3cb.netlify.app/.netlify/functions/mcp-bridge` - **Auth Type**: API Key - **Auth Header**: `Authorization: Bearer YOUR_KEY` 3. OpenAPI Schema: ```yaml openapi: 3.0.0 info: title: MCP Instruct API version: 1.0.0 servers: - url: https://superb-trifle-6be3cb.netlify.app/.netlify/functions/mcp-bridge paths: /health: get: summary: Health check responses: '200': description: Server healthy /chat: post: summary: Chat endpoint requestBody: required: true content: application/json: schema: type: object properties: message: type: string command: type: string responses: '200': description: Chat response /agents: get: summary: List agents responses: '200': description: Available agents /agents/switch: post: summary: Switch agent requestBody: required: true content: application/json: schema: type: object properties: agent: type: string responses: '200': description: Agent switched ``` ## ๐ŸŽฏ Quick Test Commands Once connected to ChatGPT: 1. **Start Onboarding**: ``` mcp-instruct-onboarding ``` 2. **Switch to IT Expert**: ``` switch:it-expert ``` 3. **Switch to Ethical Hacker**: ``` switch:ethical-hacker ``` ## โœจ Troubleshooting ### If Functions Still Don't Work: 1. **Check Functions Tab** - Go to: https://app.netlify.com/sites/superb-trifle-6be3cb/functions - Should show `mcp-bridge` function 2. **Check Logs** - Functions tab โ†’ `mcp-bridge` โ†’ View logs 3. **Verify Environment Variable** - Site configuration โ†’ Environment variables - Ensure `MCP_API_KEY` is set 4. **Clear Cache & Redeploy** - Deploy the `netlify-final.zip` again - Wait 2-3 minutes for propagation ## ๐Ÿ“Š Success Indicators โœ… Landing page loads โœ… `/health` returns JSON (not HTML 404) โœ… Functions tab shows `mcp-bridge` โœ… ChatGPT can connect with API key --- **Your HTTPS MCP Server**: `https://superb-trifle-6be3cb.netlify.app`

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/hlsitechio/mcp-instruct'

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