Skip to main content
Glama

Enhanced Coolify MCP Server

index.tsโ€ข1.16 kB
#!/usr/bin/env node import { StdioServerTransport } from '@modelcontextprotocol/sdk/server/stdio.js'; import { CoolifyMcpServer } from './lib/mcp-server.js'; import { EnhancedCoolifyMcpServer } from './lib/enhanced-mcp-server.js'; import { CoolifyConfig } from './types/coolify.js'; declare const process: NodeJS.Process; async function main(): Promise<void> { const config: CoolifyConfig = { baseUrl: process.env.COOLIFY_BASE_URL || 'http://localhost:3000', accessToken: process.env.COOLIFY_ACCESS_TOKEN || '', }; if (!config.accessToken) { throw new Error('COOLIFY_ACCESS_TOKEN environment variable is required'); } // Use enhanced server if ENHANCED flag is set, otherwise use original const useEnhanced = process.env.COOLIFY_MCP_ENHANCED === 'true'; const server = useEnhanced ? new EnhancedCoolifyMcpServer(config) : new CoolifyMcpServer(config); const transport = new StdioServerTransport(); console.error(`Starting ${useEnhanced ? 'Enhanced' : 'Standard'} Coolify MCP Server...`); await server.connect(transport); } main().catch((error) => { console.error('Fatal error:', 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/dazeb/coolify-mcp-enhanced'

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