We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/vikram-agentic/linkedin-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
fix-endpoint.sh•2.48 kB
#!/bin/bash
# Fix Vertex AI Endpoint - Check correct format
PROJECT_ID="amgn-app"
REGION="us-central1"
echo "======================================"
echo "🔧 Fixing Vertex AI Endpoint"
echo "======================================"
echo ""
TOKEN=$(gcloud auth print-access-token 2>/dev/null)
if [ -z "$TOKEN" ]; then
echo "❌ Not authenticated. Run: gcloud auth login"
exit 1
fi
echo "📝 Issue: All Anthropic models return 404"
echo ""
echo "Possible causes:"
echo "1. Anthropic models not enabled in this project/region"
echo "2. Wrong endpoint format"
echo "3. Need to use Vertex AI Express Mode"
echo ""
echo "📝 Solution 1: Check if Anthropic models need to be enabled"
echo ""
echo "Go to Google Cloud Console:"
echo "https://console.cloud.google.com/vertex-ai/publishers/anthropic?project=$PROJECT_ID"
echo ""
echo "Enable Anthropic models if they're not already enabled."
echo ""
echo "📝 Solution 2: Try alternative endpoint format"
echo ""
echo "The current endpoint format might be wrong. Try using the full endpoint:"
echo ""
echo "Current: https://aiplatform.googleapis.com/v1/projects/.../publishers/anthropic/models/..."
echo "Try: https://${REGION}-aiplatform.googleapis.com/v1/projects/.../publishers/anthropic/models/..."
echo ""
echo "📝 Solution 3: Check model availability in region"
echo ""
echo "Run this command to check available models:"
echo "gcloud ai models list --region=$REGION --project=$PROJECT_ID"
echo ""
gcloud ai models list --region=$REGION --project=$PROJECT_ID --limit=5 2>&1 | head -10
echo ""
echo ""
echo "📝 Solution 4: Enable Anthropic Claude API"
echo ""
echo "The Anthropic models might need to be explicitly enabled."
echo "Go to: https://console.cloud.google.com/apis/library/aiplatform.googleapis.com?project=$PROJECT_ID"
echo ""
echo "Then check Model Garden:"
echo "https://console.cloud.google.com/vertex-ai/model-garden?project=$PROJECT_ID"
echo ""
echo "⚠️ RECOMMENDED ACTION:"
echo ""
echo "1. Go to: https://console.cloud.google.com/vertex-ai/publishers/anthropic?project=$PROJECT_ID"
echo "2. Check if Claude models are available"
echo "3. If not available, you may need to:"
echo " - Use a different region (some regions don't support Anthropic)"
echo " - Request access to Anthropic models"
echo " - Use Vertex AI Express Mode instead"
echo ""
echo "Common working regions for Anthropic:"
echo " - us-central1 (most common)"
echo " - us-east1"
echo " - europe-west1"
echo ""