Skip to main content
Glama
assertString.js296 B
export default function assertString(input) { if (input === undefined || input === null) throw new TypeError("Expected a string but received a ".concat(input)); if (input.constructor.name !== 'String') throw new TypeError("Expected a string but received a ".concat(input.constructor.name)); }

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/indrasishbanerjee/aem-mcp-server'

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