Skip to main content
Glama

MCP Xcode

by Stefan-Nitu
AppInstallerAdapter.ts632 B
import { IAppInstaller } from '../../../application/ports/SimulatorPorts.js'; import { ICommandExecutor } from '../../../application/ports/CommandPorts.js'; /** * Installs apps on simulators using xcrun simctl */ export class AppInstallerAdapter implements IAppInstaller { constructor(private executor: ICommandExecutor) {} async installApp(appPath: string, simulatorId: string): Promise<void> { const result = await this.executor.execute( `xcrun simctl install "${simulatorId}" "${appPath}"` ); if (result.exitCode !== 0) { throw new Error(result.stderr || 'Failed to install app'); } } }

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/Stefan-Nitu/mcp-xcode'

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