Skip to main content
Glama

Coolify MCP Server

by StuMason
application-resources.test.ts1.39 kB
import { ApplicationResources } from '../../resources/application-resources.js'; import { CoolifyClient } from '../../lib/coolify-client.js'; import { jest } from '@jest/globals'; jest.mock('../../lib/coolify-client.js'); describe('ApplicationResources', () => { let resources: ApplicationResources; let mockClient: jest.Mocked<CoolifyClient>; beforeEach(() => { mockClient = { deployApplication: jest.fn(), } as unknown as jest.Mocked<CoolifyClient>; resources = new ApplicationResources(mockClient); }); describe('listApplications', () => { it('should throw not implemented error', async () => { await expect(resources.listApplications()).rejects.toThrow('Not implemented'); }); }); describe('getApplication', () => { it('should throw not implemented error', async () => { await expect(resources.getApplication('test-id')).rejects.toThrow('Not implemented'); }); }); describe('createApplication', () => { it('should throw not implemented error', async () => { await expect(resources.createApplication({ name: 'test-app' })).rejects.toThrow( 'Not implemented', ); }); }); describe('deleteApplication', () => { it('should throw not implemented error', async () => { await expect(resources.deleteApplication('test-id')).rejects.toThrow('Not implemented'); }); }); });

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/StuMason/coolify-mcp'

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