Skip to main content
Glama

Solid Multi-Tenant DevOps MCP Server

test-connection.shโ€ข2.68 kB
#!/bin/bash echo "๐Ÿงช Testing Solid MCP Server Connections..." echo "" echo "1๏ธโƒฃ Testing Backend API (http://localhost:8090)..." BACKEND_STATUS=$(curl -s -o /dev/null -w "%{http_code}" http://localhost:8090/) if [ "$BACKEND_STATUS" = "200" ]; then echo " โœ… Backend is responding (status: $BACKEND_STATUS)" else echo " โŒ Backend not responding (status: $BACKEND_STATUS)" fi echo "" echo "2๏ธโƒฃ Testing Super Admin Companies Endpoint..." COMPANIES=$(curl -s http://localhost:8090/api/v1/superadmin/companies) COMPANY_COUNT=$(echo "$COMPANIES" | grep -o '"id":' | wc -l | tr -d ' ') if [ "$COMPANY_COUNT" -gt 0 ]; then echo " โœ… Found $COMPANY_COUNT tenant company(ies)" else echo " โš ๏ธ No tenant companies found" fi echo "" echo "3๏ธโƒฃ Testing Agents Endpoint..." AGENTS=$(curl -s http://localhost:8090/api/v1/agents) AGENT_COUNT=$(echo "$AGENTS" | grep -o '"agent_type":' | wc -l | tr -d ' ') if [ "$AGENT_COUNT" -gt 0 ]; then echo " โœ… Found $AGENT_COUNT AI agents" else echo " โš ๏ธ No AI agents found" fi echo "" echo "4๏ธโƒฃ Testing Agents Server (http://localhost:8091)..." AGENTS_STATUS=$(curl -s -o /dev/null -w "%{http_code}" http://localhost:8091/health 2>/dev/null) if [ "$AGENTS_STATUS" = "200" ]; then echo " โœ… Agents server is responding (status: $AGENTS_STATUS)" else echo " โš ๏ธ Agents server status: $AGENTS_STATUS" fi echo "" echo "5๏ธโƒฃ Testing Docker Containers..." POSTGRES_STATUS=$(docker inspect solid-postgres --format='{{.State.Status}}' 2>/dev/null) REDIS_STATUS=$(docker inspect solid-redis --format='{{.State.Status}}' 2>/dev/null) if [ "$POSTGRES_STATUS" = "running" ]; then echo " โœ… PostgreSQL is running" else echo " โŒ PostgreSQL: $POSTGRES_STATUS" fi if [ "$REDIS_STATUS" = "running" ]; then echo " โœ… Redis is running" else echo " โŒ Redis: $REDIS_STATUS" fi echo "" echo "6๏ธโƒฃ Testing MCP Server..." if [ -f "src/index.js" ]; then echo " โœ… MCP server file exists" echo " โ„น๏ธ Path: $(pwd)/src/index.js" else echo " โŒ MCP server file not found" fi echo "" echo "==========================================" echo "๐Ÿ“Š Summary:" echo "==========================================" if [ "$BACKEND_STATUS" = "200" ] && [ "$POSTGRES_STATUS" = "running" ] && [ "$REDIS_STATUS" = "running" ]; then echo "โœ… All core services are healthy!" echo "" echo "Next step: Install MCP server in Claude Desktop" echo "Run: cat INSTALL.md" else echo "โš ๏ธ Some services need attention" echo "" echo "To start all services:" echo "cd /Users/adamcampbell/Desktop/Solid && ./start-all.sh" fi echo "=========================================="

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/Adam-Camp-King/solid-mcp-server'

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