Skip to main content
Glama
trim.js336 B
import { regex_starts_with_whitespaces, regex_ends_with_whitespaces } from './patterns.js'; /** * @param {string} str */ export function trim_start(str) { return str.replace(regex_starts_with_whitespaces, ''); } /** * @param {string} str */ export function trim_end(str) { return str.replace(regex_ends_with_whitespaces, ''); }

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/MatheusgVentura/Project-One'

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