Skip to main content
Glama
Apache 2.0
845
2,105
  • Apple
util.ts350 B
/** * Parses a delimited list of items into an array, * trimming whitespace and filtering out empty items. * * Default delimiter is a comma (`,`). */ export function parseList(list: string, delimiter = ','): string[] { const items = list.split(delimiter).map((feature) => feature.trim()); return items.filter((feature) => feature !== ''); }

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/supabase-community/mcp-supabase'

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