Skip to main content
Glama

ABSD DevOps MCP Server

by anthonybir
prompts.ts670 B
import { createInterface } from 'readline/promises'; import { stdin as input, stdout as output } from 'process'; /** * Ask a yes/no question and return true for yes, false for no. * TTY-safe: only works in interactive terminal. * * @param question The question to ask (will append " (y/N): ") * @returns Promise resolving to true for 'y'/'yes', false otherwise */ export async function askYesNo(question: string): Promise<boolean> { const rl = createInterface({ input, output }); try { const answer = await rl.question(`${question} (y/N): `); return answer.toLowerCase() === 'y' || answer.toLowerCase() === 'yes'; } finally { rl.close(); } }

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/anthonybir/ABSD_MCP'

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