#!/usr/bin/env node
import { GSuiteServer } from '../tools/server.js';
import logger from '../utils/logger.js';
async function checkHealth() {
try {
const server = new GSuiteServer();
// Attempt to start server
await server.run();
// If we get here without errors, consider it healthy
logger.info('Health check passed');
process.exit(0);
} catch (error) {
logger.error('Health check failed:', error);
process.exit(1);
}
}
checkHealth().catch(error => {
logger.error('Fatal error during health check:', error);
process.exit(1);
});
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/aaronsb/google-workspace-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server