Skip to main content
Glama

export_project

Export current Adobe Premiere Pro projects or sequences to a specified output path, with customizable settings like preset names and audio inclusion for streamlined workflow automation.

Instructions

Export the current project or sequence

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
include_audioNoInclude audio in export (default: true)
output_pathYesOutput file path
preset_nameNoExport preset name (default: H.264 High Quality)

Implementation Reference

  • The main handler function that executes the tool logic. It destructures arguments, sends a POST request to the local API endpoint 'http://localhost:3001/api/export-project' with export parameters, handles the response, and returns formatted success or error messages.
    async exportProject(args) { const { output_path, preset_name = "H.264 High Quality", include_audio = true } = args; try { const response = await fetch('http://localhost:3001/api/export-project', { method: 'POST', headers: { 'Content-Type': 'application/json', }, body: JSON.stringify({ output_path, preset_name, include_audio }), }); if (!response.ok) throw new Error(`HTTP ${response.status}: ${response.statusText}`); const data = await response.json(); if (data.error) { return { content: [ { type: 'text', text: `⚠️ ${data.error}`, }, ], }; } if (data.status === 'queued') { return { content: [ { type: 'text', text: `🎬 **Export Queued Successfully**\n\n**Output Path:** ${data.output_path}\n**Preset:** ${data.preset_name}\n**Sequence:** ${data.sequence_name}\n**Queue Position:** ${data.queue_position}\n**Estimated Duration:** ${data.estimated_duration}`, }, ], }; } else { return { content: [ { type: 'text', text: `✅ **Export Started Successfully**\n\n**Output Path:** ${data.output_path}\n**Preset:** ${data.preset_name}\n**Sequence:** ${data.sequence_name}\n**Status:** ${data.status}`, }, ], }; } } catch (error) { return { content: [ { type: 'text', text: `❌ **Failed to export project**\n\nError: ${error.message}`, }, ], isError: true, }; } }
  • Input schema defining parameters for the export_project tool: output_path (required string), optional preset_name (string), include_audio (boolean).
    inputSchema: { type: 'object', properties: { output_path: { type: 'string', description: 'Output file path', }, preset_name: { type: 'string', description: 'Export preset name (default: H.264 High Quality)', }, include_audio: { type: 'boolean', description: 'Include audio in export (default: true)', }, }, required: ['output_path'], },
  • mcp-server.js:261-262 (registration)
    Switch case in the CallToolRequest handler that registers and routes 'export_project' calls to the exportProject method.
    case 'export_project': return await this.exportProject(args);
  • mcp-server.js:187-208 (registration)
    Tool definition registered in the ListTools response, including name, description, and input schema.
    { name: 'export_project', description: 'Export the current project or sequence', inputSchema: { type: 'object', properties: { output_path: { type: 'string', description: 'Output file path', }, preset_name: { type: 'string', description: 'Export preset name (default: H.264 High Quality)', }, include_audio: { type: 'boolean', description: 'Include audio in export (default: true)', }, }, required: ['output_path'], }, },

Other Tools

Related Tools

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/jordanl61/premiere-pro-mcp-server'

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