/**
* Utility function that uses the type system to check if a switch statement is exhaustive.
* If the switch statement is not exhaustive, there will be a type error caught in typescript
*
* See https://stackoverflow.com/questions/39419170/how-do-i-check-that-a-switch-block-is-exhaustive-in-typescript for more details.
*/
export function assertUnreachable(_: never): never {
throw new Error("Unreachable");
}
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/Arize-ai/phoenix'
If you have feedback or need assistance with the MCP directory API, please join our Discord server