Skip to main content
Glama

PostgreSQL API SSH MCP Server

by iMAGRAY
index.cjs1.13 kB
#!/usr/bin/env node /** * 🌐 API MANAGER (Legacy Compatibility) * Обратно совместимый API Manager для поддержки старых импортов */ const { createAPIManager } = require('../managers/APIManager.cjs'); const { createLogger } = require('../services/Logger.cjs'); const { createSecurity } = require('../services/Security.cjs'); const { createValidation } = require('../services/Validation.cjs'); // Создание экземпляра со стандартными сервисами class APIManager { constructor() { this.logger = createLogger(); this.security = createSecurity(this.logger); this.validation = createValidation(this.logger); this.manager = createAPIManager(this.logger, this.security, this.validation); } // Проксирование всех методов к основному менеджеру async handleAction(args) { return await this.manager.handleAction(args); } getStats() { return this.manager.getStats(); } async cleanup() { return await this.manager.cleanup(); } } module.exports = { APIManager };

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/iMAGRAY/PSQL_SSH_API_MCP'

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