Skip to main content
Glama
index.js617 B
'use strict'; const restoreCursor = require('restore-cursor'); let isHidden = false; exports.show = (writableStream = process.stderr) => { if (!writableStream.isTTY) { return; } isHidden = false; writableStream.write('\u001B[?25h'); }; exports.hide = (writableStream = process.stderr) => { if (!writableStream.isTTY) { return; } restoreCursor(); isHidden = true; writableStream.write('\u001B[?25l'); }; exports.toggle = (force, writableStream) => { if (force !== undefined) { isHidden = force; } if (isHidden) { exports.show(writableStream); } else { exports.hide(writableStream); } };

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/airmcp-com/mcp-standards'

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