We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/flight505/mcp-think-tank'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
fs.ts•325 B
import * as fs from 'fs';
/**
* Creates a directory and any parent directories if they don't exist
* @param dirPath - The path to create
*/
export function createDirectory(dirPath: string): void {
if (!fs.existsSync(dirPath)) {
fs.mkdirSync(dirPath, { recursive: true });
// Directory created, no logging
}
}