We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/kdoooh000h/gemini-daily-mcp-compressed'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
#!/bin/bash
echo "==================================="
echo "Testing gemini-daily-mcp Fix"
echo "==================================="
echo ""
# Test 1: Verify Gemini CLI JSON output
echo "Test 1: Gemini CLI JSON output format"
echo "-----------------------------------"
echo "Command: gemini -o stream-json -p 'Say Hello'"
echo ""
gemini -o stream-json -p "Say Hello" 2>&1 | grep -E '^\{' | head -4
echo ""
# Test 2: Verify parseGeminiOutput can extract response
echo "Test 2: Simulated parseGeminiOutput test"
echo "-----------------------------------"
echo "Expected: Should extract 'Hello' from JSON lines"
echo ""
# Simulate what parseGeminiOutput should do
echo '{"type":"init","session_id":"test-123"}
{"type":"message","role":"assistant","content":"Hello"}
{"type":"result","status":"success"}' | while read line; do
# Extract type
type=$(echo "$line" | jq -r '.type // empty' 2>/dev/null)
if [ "$type" = "init" ]; then
session_id=$(echo "$line" | jq -r '.session_id // empty' 2>/dev/null)
echo "✅ Found init event with session_id: $session_id"
fi
if [ "$type" = "message" ]; then
role=$(echo "$line" | jq -r '.role // empty' 2>/dev/null)
content=$(echo "$line" | jq -r '.content // empty' 2>/dev/null)
if [ "$role" = "assistant" ]; then
echo "✅ Found assistant message: $content"
fi
fi
done
echo ""
echo "==================================="
echo "Fix Summary"
echo "==================================="
echo "Changed:"
echo " - event.event → event.type"
echo " - event.conversation_id → event.session_id"
echo " - Removed dependency on result.text"
echo " - Now collects all assistant messages"
echo ""
echo "Status: ✅ Code compiled successfully"
echo ""