Skip to main content
Glama
uninstall.js667 B
const fs = require('fs'); const path = require('path'); const binDir = path.join(__dirname, 'bin'); if (fs.existsSync(binDir)) { try { fs.rmSync(binDir, { recursive: true, force: true }); console.log('Cleaned up gbox binaries.'); } catch (error) { if (error.code === 'EACCES') { console.error('Failed to clean up gbox binaries due to permission errors.'); console.error('Please try running the uninstall command with sudo:'); const pkgName = require('./package.json').name; console.error(`sudo npm uninstall -g ${pkgName}`); } else { console.error('An unexpected error occurred during cleanup:', error); } } }

Latest Blog Posts

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/babelcloud/gru-sandbox'

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