/**
* Helper function to encode a URL for external links
* @param url The URL to encode for external linking
* @returns The encoded URL string
*/
export const getExternalLink = (url: string) => {
return encodeURIComponent(url);
};
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/XeroAPI/xero-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server