Skip to main content
Glama

SSH MCP Server

by mfangtao
install.js710 B
'use strict'; const { spawnSync } = require('child_process'); const forceFailOnNonZero = (process.env.CI_CHECK_FAIL === 'ssh2'); // Attempt to build the bundled optional binding const args = [ `--target=${process.version}`, `--real_openssl_major=${/^\d+/.exec(process.versions.openssl)[0]}`, 'rebuild', ]; const result = spawnSync('node-gyp', args, { cwd: 'lib/protocol/crypto', encoding: 'utf8', shell: true, stdio: 'inherit', windowsHide: true, }); if (result.error || result.status !== 0) { console.log('Failed to build optional crypto binding'); if (forceFailOnNonZero) process.exit(1); } else { console.log('Succeeded in building optional crypto binding'); } process.exit(0);

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/mfangtao/mcp-ssh-server'

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