Skip to main content
Glama

Premiere Pro MCP Server

by jordanl61
runExtendScriptFile.js871 B
// runExtendScriptFile.js // Stub for executing ExtendScript files from Node.js // Replace this with your actual CEP/host communication implementation const path = require('path'); /** * Calls an ExtendScript function in a .jsx file with arguments. * @param {string} scriptFile - Path to the .jsx file * @param {string} functionName - Name of the function to call * @param {Array} args - Arguments to pass * @returns {Promise<object>} Result of the ExtendScript function */ async function runExtendScriptFile(scriptFile, functionName, args) { // TODO: Integrate with your CEP/host communication bridge // For now, just log the call and return a fake success console.log(`[Stub] Would call ExtendScript: ${scriptFile} -> ${functionName}(${args.join(', ')})`); // Simulate async call return { success: true }; } module.exports = { runExtendScriptFile };

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