import { PROMPTS } from "./prompts.js";
describe("prompts", () => {
it("should have a slug and query for each prompt", () => {
for (const prompt of PROMPTS) {
expect(prompt).toHaveProperty("slug");
expect(prompt).toHaveProperty("query");
}
});
it("should have unique slugs", () => {
const slugs = [];
for (const prompt of PROMPTS) {
expect(slugs).not.toContain(prompt.slug);
slugs.push(prompt.slug);
}
});
});
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/OpsLevel/opslevel-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server