// Jest setup file for ESM projects
import { TextEncoder, TextDecoder } from 'util';
// Set up global TextEncoder and TextDecoder for Node.js environments
// These are needed for some MCP SDK functionality
global.TextEncoder = TextEncoder;
global.TextDecoder = TextDecoder;
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/metcalfc/atrax'
If you have feedback or need assistance with the MCP directory API, please join our Discord server