Skip to main content
Glama

MCP Frontend Testing Server

command-executor.ts467 B
import { exec } from 'child_process'; import util from 'util'; const execPromise = util.promisify(exec); // Execute a command and return stdout export async function executeCommand(command: string, cwd: string): Promise<any> { return new Promise((resolve, reject) => { exec(command, { cwd }, (error, stdout, stderr) => { if (error) { reject(error); } resolve({ stdout, stderr }); }); }); }

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/StudentOfJS/mcp-frontend-testing'

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