import type { L } from 'ts-toolbelt'
/**
* Narrow a list to only have unique values.
* @param list
* @returns
*/
function unique<I>(list: L.List<I>) {
return Array.from(new Set(list))
}
export { unique }
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/prisma/prisma'
If you have feedback or need assistance with the MCP directory API, please join our Discord server