We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/jmagar/homelab-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
import { beforeEach, describe, expect, it } from "vitest";
import { DockerService } from "./index.js";
describe("DockerService Facade", () => {
let service: DockerService;
beforeEach(() => {
service = new DockerService();
});
it("should create service instance", (): void => {
expect(service).toBeDefined();
});
it("should delegate container operations", async (): Promise<void> => {
// Verify service has container methods
expect(typeof service.listContainers).toBe("function");
expect(typeof service.containerAction).toBe("function");
expect(typeof service.getContainerLogs).toBe("function");
});
it("should delegate image operations", (): void => {
expect(typeof service.listImages).toBe("function");
expect(typeof service.pullImage).toBe("function");
expect(typeof service.removeImage).toBe("function");
});
it("should delegate system operations", (): void => {
expect(typeof service.getHostStatus).toBe("function");
expect(typeof service.getDockerInfo).toBe("function");
expect(typeof service.pruneDocker).toBe("function");
});
it("should delegate network operations", (): void => {
expect(typeof service.listNetworks).toBe("function");
});
it("should delegate volume operations", (): void => {
expect(typeof service.listVolumes).toBe("function");
});
});