Skip to main content
Glama

open_project

Open an existing Adobe Premiere Pro project file from a specified path to begin video editing or continue work on a saved project.

Instructions

Opens an existing Adobe Premiere Pro project from a specified file path.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYesThe absolute path to the .prproj file to open

Implementation Reference

  • Core handler in PremiereProBridge that executes ExtendScript to open the project document in Premiere Pro 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);
    }
  • Tool registration in getAvailableTools() array, including name, description, and input schema using Zod.
      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')
      })
    },
  • Dispatch handler in executeTool switch statement that invokes the openProject wrapper for the 'open_project' tool.
    case 'open_project':
      return await this.openProject(args.path);
    case 'save_project':
  • Wrapper handler in PremiereProTools that calls the bridge handler, handles errors, and formats the standardized 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)}`
        };
      }
    }

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/hetpatel-11/Adobe_Premiere_Pro_MCP'

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