We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/SPRIME01/MCPContextForge'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
test_vscode_integration.shโข1.87 kB
#!/bin/bash
# Test script for MCP Gateway VS Code integration
echo "๐งช Testing MCP Gateway VS Code Integration"
echo "=========================================="
# Check if VS Code bridge script exists
if [ -f "scripts/mcp_stdio_bridge.js" ]; then
echo "โ VS Code stdio bridge script exists"
else
echo "โ VS Code stdio bridge script missing"
exit 1
fi
# Check if Node.js dependencies are installed
if [ -f "scripts/package.json" ]; then
echo "โ Node.js package.json exists"
else
echo "โ Node.js package.json missing"
exit 1
fi
# Check if node_modules exists
if [ -d "scripts/node_modules" ]; then
echo "โ Node.js dependencies installed"
else
echo "โ Node.js dependencies missing"
exit 1
fi
# Check if .env file has required variables
if [ -f ".env" ]; then
echo "โ .env file exists"
# Check for required environment variables
if grep -q "MCP_GATEWAY_URL" .env; then
echo "โ MCP_GATEWAY_URL configured"
else
echo "โ MCP_GATEWAY_URL missing from .env"
exit 1
fi
if grep -q "MCP_ADMIN_USERNAME" .env; then
echo "โ MCP_ADMIN_USERNAME configured"
else
echo "โ MCP_ADMIN_USERNAME missing from .env"
exit 1
fi
if grep -q "MCP_ADMIN_PASSWORD" .env; then
echo "โ MCP_ADMIN_PASSWORD configured"
else
echo "โ MCP_ADMIN_PASSWORD missing from .env"
exit 1
fi
else
echo "โ .env file missing"
exit 1
fi
echo ""
echo "๐ฏ All checks passed! VS Code integration is ready."
echo ""
echo "๐ To complete the setup:"
echo "1. Open VS Code"
echo "2. Install the 'Model Context Protocol' extension"
echo "3. Add the configuration from 'make setup-vscode' to your VS Code settings.json"
echo "4. Restart VS Code"
echo "5. Your MCP Gateway tools should be available in Copilot!"