Skip to main content
Glama
by 8b-is
test_keyword_search.sh1.08 kB
#!/bin/bash # Test keyword search for projects # This tests the find_projects MCP tool with keywords echo "Testing Smart Tree keyword search..." # Test 1: Search for 'cast' and 'tv' keywords in /aidata/ayeverse echo "" echo "Test 1: Searching for projects with keywords: cast, tv" echo "Expected: Should find q8-caster project" echo "" # We'll use a simple rust test to call the function directly cargo test --lib find_projects -- --nocapture 2>&1 | grep -A5 "q8-caster" || echo "Direct test not found, checking project structure..." # Verify q8-caster exists and has the right content if [ -d "/aidata/ayeverse/q8-caster" ]; then echo "✓ q8-caster directory exists" if [ -f "/aidata/ayeverse/q8-caster/README.md" ]; then echo "✓ README.md found" echo " README first line:" head -1 /aidata/ayeverse/q8-caster/README.md | sed 's/^/ /' fi else echo "✗ q8-caster not found" fi echo "" echo "To manually test via MCP, run:" echo " ./target/release/st --mcp" echo "Then use the find_projects tool with keywords: ['cast', 'tv']"

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/8b-is/smart-tree'

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