Skip to main content
Glama

Task Trellis MCP

server.e2e.test.ts1.28 kB
import { McpTestClient } from "../utils/mcpTestClient"; import { TestEnvironment } from "../utils/testEnvironment"; describe("E2E Infrastructure - Server", () => { let testEnv: TestEnvironment; let client: McpTestClient; beforeEach(() => { testEnv = new TestEnvironment(); testEnv.setup(); client = new McpTestClient(testEnv.projectRoot); }, 30000); afterEach(async () => { await client?.disconnect(); testEnv?.cleanup(); }); it("should start server and establish MCP connection", async () => { await client.connect(); expect(client.isConnected()).toBe(true); }); it("should list available tools", async () => { await client.connect(); const response = await client.listTools(); expect(response).toBeDefined(); expect(response.tools).toBeDefined(); expect(Array.isArray(response.tools)).toBe(true); expect(response.tools.length).toBeGreaterThan(0); // Verify expected tools are present const toolNames = response.tools.map((t: any) => t.name); expect(toolNames).toContain("create_issue"); expect(toolNames).toContain("list_issues"); expect(toolNames).toContain("get_issue"); expect(toolNames).toContain("update_issue"); expect(toolNames).toContain("delete_issue"); }); });

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/langadventurellc/task-trellis-mcp'

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