xc-mcp
Version:
MCP server that wraps Xcode command-line tools for iOS/macOS development workflows
20 lines • 2.47 kB
TypeScript
/**
* Unified IDB app lifecycle management.
*
* Routes IDB app operations (install, uninstall, launch, terminate) to
* specialized handlers while maintaining modular code organization.
*
* @param args App operation and parameters
* @returns Tool result with operation status
* @throws McpError for invalid operation or execution failure
*/
export declare function idbAppTool(args: any): Promise<{
content: {
type: "text";
text: string;
}[];
isError: boolean;
}>;
export declare const IDB_APP_DOCS = "\n# idb-app\n\nUnified IDB app lifecycle management - install, uninstall, launch, terminate.\n\n## Overview\n\nSingle tool for IDB-based app management. Routes to specialized handlers while maintaining clean operation semantics.\n\n## Operations\n\n### install\n\nInstall iOS app via IDB.\n\n**Parameters:**\n- `appPath` (string): Path to .app bundle\n- `udid` (string, optional): Target device UDID\n\n**Example:**\n```typescript\nawait idbAppTool({\n operation: 'install',\n appPath: '/path/to/MyApp.app'\n})\n```\n\n---\n\n### uninstall\n\nUninstall iOS app via IDB.\n\n**Parameters:**\n- `bundleId` (string): App bundle ID\n- `udid` (string, optional): Target device UDID\n\n**Example:**\n```typescript\nawait idbAppTool({\n operation: 'uninstall',\n bundleId: 'com.example.MyApp'\n})\n```\n\n---\n\n### launch\n\nLaunch iOS app via IDB.\n\n**Parameters:**\n- `bundleId` (string): App bundle ID\n- `udid` (string, optional): Target device UDID\n- `arguments` (string[], optional): Command-line arguments\n- `environment` (object, optional): Environment variables\n- `streamOutput` (boolean, optional): Stream app output\n\n**Example:**\n```typescript\nawait idbAppTool({\n operation: 'launch',\n bundleId: 'com.example.MyApp',\n arguments: ['--debug'],\n streamOutput: true\n})\n```\n\n---\n\n### terminate\n\nTerminate running iOS app via IDB.\n\n**Parameters:**\n- `bundleId` (string): App bundle ID\n- `udid` (string, optional): Target device UDID\n\n**Example:**\n```typescript\nawait idbAppTool({\n operation: 'terminate',\n bundleId: 'com.example.MyApp'\n})\n```\n\n---\n\n## Related Tools\n\n- `idb-targets`: List and manage IDB targets\n- `idb-ui-tap`, `idb-ui-input`, `idb-ui-gesture`: UI automation\n- `simctl-app`: Simctl-based app management\n";
export declare const IDB_APP_DOCS_MINI = "Manage IDB apps (install/launch/etc). Use rtfm({ toolName: \"idb-app\" }) for docs.";
//# sourceMappingURL=index.d.ts.map