// Some RSS feeds use the id field, some use the guid field, and some use neither.
export function getId(item: { id: string; guid: string }) {
if (item === undefined) {
return undefined;
}
if (item.guid) {
return item.guid;
}
if (item.id) {
return item.id;
}
return JSON.stringify(item);
}
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/activepieces/activepieces'
If you have feedback or need assistance with the MCP directory API, please join our Discord server