Skip to main content
Glama

MCP-NOSTR

by pablof7z
string.js369 B
/** * Convert a string to kebab-case * @param {string} str The input string * @returns {string} The kebab-cased string */ export function kebabCase(str) { return str .replace(/([a-z])([A-Z])/g, '$1-$2') // Convert camelCase to kebab-case .replace(/[\s_]+/g, '-') // Replace spaces and underscores with hyphens .toLowerCase(); // Convert to lowercase }

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/pablof7z/mcp-code'

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