Skip to main content
Glama

Stadia Maps Location API MCP Server

setup.ts592 B
import { afterAll, afterEach, beforeAll } from "vitest"; import { setupServer } from "msw/node"; import { handlers } from "./handlers.js"; // This configures a request mocking server with the given request handlers. export const server = setupServer(...handlers); // Establish API mocking before all tests. beforeAll(() => server.listen({ onUnhandledRequest: "error" })); // Reset any request handlers that we may add during the tests, // so they don't affect other tests. afterEach(() => server.resetHandlers()); // Clean up after the tests are finished. afterAll(() => server.close());

Latest Blog Posts

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/stadiamaps/stadiamaps-mcp-server-ts'

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