Skip to main content
Glama

systemprompt-mcp-interview

server.test.ts538 B
import { jest } from "@jest/globals"; import { Server } from "@modelcontextprotocol/sdk/server/index.js"; import { server } from "../server"; import { serverConfig, serverCapabilities } from "../config/server-config"; // Mock the Server class jest.mock("@modelcontextprotocol/sdk/server/index.js", () => ({ Server: jest.fn(), })); describe("server", () => { it("should create server with correct config", () => { expect(Server).toHaveBeenCalledWith(serverConfig, serverCapabilities); expect(server).toBeDefined(); }); });

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/Ejb503/systemprompt-mcp-interview'

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