Skip to main content
Glama

FakeStore MCP

by Mithgroth
jest.setup.ts354 B
import fetchMock from 'jest-fetch-mock'; import { NextResponse } from 'next/server'; // Enable fetch mocking for unit tests fetchMock.enableMocks(); // Override NextResponse.json to avoid calling Response.json static and causing errors // @ts-ignore (NextResponse as any).json = (body: any, init?: any) => new NextResponse(JSON.stringify(body), init);

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/Mithgroth/fakestore-mcp'

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