Skip to main content
Glama
FAILOVER.js577 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.transformArguments = void 0; function transformArguments(options) { const args = ['FAILOVER']; if (options?.TO) { args.push('TO', options.TO.host, options.TO.port.toString()); if (options.TO.FORCE) { args.push('FORCE'); } } if (options?.ABORT) { args.push('ABORT'); } if (options?.TIMEOUT) { args.push('TIMEOUT', options.TIMEOUT.toString()); } return args; } exports.transformArguments = transformArguments;

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/GongRzhe/REDIS-MCP-Server'

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