var rimraf = require('rimraf').sync;
var fs = require('fs');
module.exports = function del(file) {
if (fs.existsSync(file)) {
//if rimraf doesn't throw then the file has been deleted or didn't exist
rimraf(file, {
glob: false,
});
return true;
}
return false;
};
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/waldzellai/mcp-agent-ts'
If you have feedback or need assistance with the MCP directory API, please join our Discord server