Skip to main content
Glama

Model Context Protocol Server

by hyen43
command.js777 B
import {logCommand} from '../verbose/start.js'; import {getVerboseInfo} from '../verbose/info.js'; import {getStartTime} from '../return/duration.js'; import {joinCommand} from './escape.js'; import {normalizeFdSpecificOption} from './specific.js'; // Compute `result.command`, `result.escapedCommand` and `verbose`-related information export const handleCommand = (filePath, rawArguments, rawOptions) => { const startTime = getStartTime(); const {command, escapedCommand} = joinCommand(filePath, rawArguments); const verbose = normalizeFdSpecificOption(rawOptions, 'verbose'); const verboseInfo = getVerboseInfo(verbose, escapedCommand, {...rawOptions}); logCommand(escapedCommand, verboseInfo); return { command, escapedCommand, startTime, verboseInfo, }; };

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/hyen43/mcpServer'

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