open_project
Open an Adobe Premiere Pro project directly by specifying the file path, enabling quick access to video editing workflows through MCP server automation.
Instructions
Opens an existing Adobe Premiere Pro project from a specified file path.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | The absolute path to the .prproj file to open |
Implementation Reference
- src/bridge/index.ts:199-217 (handler)Core handler function that executes ExtendScript code to open the specified Premiere Pro project file (.prproj) using app.openDocument() and returns structured project information.async openProject(path: string): Promise<PremiereProProject> { const script = ` // Open existing project app.openDocument("${path}"); var project = app.project; // Return project info JSON.stringify({ id: project.documentID, name: project.name, path: project.path, isOpen: true, sequences: [], projectItems: [] }); `; return await this.executeScript(script); }
- src/tools/index.ts:66-71 (schema)Tool schema definition including name, description, and Zod input schema requiring a 'path' parameter for the .prproj file.name: 'open_project', description: 'Opens an existing Adobe Premiere Pro project from a specified file path.', inputSchema: z.object({ path: z.string().describe('The absolute path to the .prproj file to open') }) },
- src/tools/index.ts:760-775 (handler)Tool handler wrapper in PremiereProTools class that delegates to bridge.openProject(), handles errors, and formats standardized success/error response.private async openProject(path: string): Promise<any> { try { const result = await this.bridge.openProject(path); return { success: true, message: `Project opened successfully`, projectPath: path, ...result }; } catch (error) { return { success: false, error: `Failed to open project: ${error instanceof Error ? error.message : String(error)}` }; } }
- src/tools/index.ts:438-439 (registration)Registration and dispatch mapping in executeTool switch statement that routes 'open_project' tool calls to the openProject handler method.case 'open_project': return await this.openProject(args.path);