Skip to main content
Glama
index.js257 B
'use strict'; const minIndent = require('min-indent'); module.exports = string => { const indent = minIndent(string); if (indent === 0) { return string; } const regex = new RegExp(`^[ \\t]{${indent}}`, 'gm'); return string.replace(regex, ''); };

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