Skip to main content
Glama

Godot Sentinel MCP

by Snack-JPG
test-setup.shโ€ข1.9 kB
#!/bin/bash echo "๐Ÿงช Testing Sentinel MCP Setup" echo "================================" # Check if we're in the right directory if [ ! -f "package.json" ]; then echo "โŒ Run this from the Sentinel project root" exit 1 fi echo "1. Installing dependencies..." npm install echo "2. Building TypeScript..." npm run build if [ $? -ne 0 ]; then echo "โŒ Build failed" exit 1 fi echo "3. Testing parser with sample Godot errors..." node -e " const { ParserGodot4 } = require('./dist/adapters/parser_godot4'); const parser = new ParserGodot4(); const testError = 'ERROR: Invalid call. Nonexistent function \\'get_damage\\' in base \\'Node\\'.\\nAt: res://scripts/combat/fighter.gd:45 @ _ready()'; const parsed = parser.parseFirstError(testError); if (parsed) { console.log('โœ… Parser working - found error at', parsed.file + ':' + parsed.line); console.log(' Message:', parsed.message); } else { console.log('โŒ Parser failed to detect error'); process.exit(1); } " echo "4. Testing HTTP server startup..." timeout 10s npm start & SERVER_PID=$! sleep 3 # Test health endpoint HEALTH_RESPONSE=$(curl -s http://localhost:8787/health 2>/dev/null || echo "failed") if [[ "$HEALTH_RESPONSE" == *"ok"* ]]; then echo "โœ… HTTP server responding" else echo "โŒ HTTP server not responding" kill $SERVER_PID 2>/dev/null exit 1 fi # Test MCP endpoint MCP_RESPONSE=$(curl -s -X POST http://localhost:8787/mcp \ -H "Content-Type: application/json" \ -d '{"method":"tools/list","id":"test"}' 2>/dev/null || echo "failed") if [[ "$MCP_RESPONSE" == *"run_tests"* ]]; then echo "โœ… MCP protocol responding with tools" else echo "โŒ MCP protocol not working" kill $SERVER_PID 2>/dev/null exit 1 fi kill $SERVER_PID 2>/dev/null echo "" echo "๐ŸŽ‰ Basic setup test PASSED!" echo "Next: Create a test Godot project to test full functionality"

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/Snack-JPG/Godot-Sentinel-MCP'

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