We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/systeminit/si'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
exec.md•384 B
# Executing Commands
This documents the `siExec` command.
## Arguments
1. The command to run
2. An array of arguments
## Examples
```ts
const child = await siExec.waitUntilEnd("aws", ["ec2", "describe-instances"]);
if (child.exitCode !== 0) {
console.log(`Failed to run command, exit code: ${child.exitCode}`);
console.log(child.stdout);
console.error(child.stderr);
}
```