Skip to main content
Glama

MCP Server Starter

by GreatAuk
import { describe, expect, it } from "bun:test"; import { someFunction } from "./index"; describe("someFunction", () => { it("should return expected output", async () => { const result = await someFunction({ name: "Test", address: { street: "123 Main St", zip: "12345" } }); expect(result).toBe("Hello Test"); }); it("should handle errors", async () => { // biome-ignore lint/suspicious/noExplicitAny: For testing purposes await expect(someFunction({} as any)).rejects.toThrow(); }); // Add more test cases as needed });

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/GreatAuk/mcp-weather'

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