Skip to main content
Glama
ISandboxManager.ts535 B
import { ServerInfo } from "../domain/types.js"; /** * Interface for managing code execution sandbox */ export interface ISandboxManager { /** * Initialize the sandbox with server information * @param servers - Map of server information */ initialize(servers: Map<string, ServerInfo>): void; /** * Execute code in the sandbox * @param code - JavaScript code to execute * @returns Promise resolving to the execution result * @throws Error if execution fails */ execute(code: string): Promise<any>; }

Latest Blog Posts

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/eliavamar/mcp-of-mcps'

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