Skip to main content
Glama
n-r-w

KnowledgeGraph MCP Server

by n-r-w
health-check.js808 B
#!/usr/bin/env node /** * Health check script for the Knowledge Graph MCP service */ import { KnowledgeGraphManager } from '../dist/core.js'; async function healthCheck() { try { console.log('🔍 Checking service health...'); const manager = new KnowledgeGraphManager(); const isHealthy = await manager.healthCheck(); if (isHealthy) { console.log('✅ Service is healthy'); process.exit(0); } else { console.error('❌ Service health check failed'); process.exit(1); } } catch (error) { console.error('❌ Service health check failed:', error.message); process.exit(1); } } // Run health check if this script is executed directly if (import.meta.url === `file://${process.argv[1]}`) { healthCheck(); } export { healthCheck };

Latest Blog Posts

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/n-r-w/knowledgegraph-mcp'

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