Skip to main content
Glama

get_project_info

Retrieve current Premiere Pro project details including name, settings, and metadata for workflow automation and AI integration.

Instructions

Get basic information about the current Premiere Pro project

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The handler function that implements the core logic for the 'get_project_info' tool. It makes an HTTP request to localhost:3001 to retrieve project statistics from Premiere Pro and formats the response as MCP content or handles errors.
    async getProjectInfo() { try { // Fetch real project info from HTTP server which communicates with Premiere Pro const response = await fetch('http://localhost:3001/api/project-stats'); if (!response.ok) { throw new Error(`HTTP ${response.status}: ${response.statusText}`); } const projectData = await response.json(); return { content: [ { type: 'text', text: `**Current Premiere Pro Project Information:** šŸ“½ļø **Project**: ${projectData.projectName || 'Unknown Project'} šŸŽ¬ **Sequences**: ${projectData.sequences || 0} šŸŽ„ **Clips**: ${projectData.clips || 0} šŸ“ **Bins**: ${projectData.bins || 0} šŸ›¤ļø **Tracks**: ${projectData.tracks || 0} ā±ļø **Duration**: ${projectData.duration || 'Unknown'} *Retrieved from active Premiere Pro instance*`, }, ], }; } catch (error) { return { content: [ { type: 'text', text: `āŒ **Error getting project info**: ${error.message} **Troubleshooting:** - Ensure Premiere Pro is running - Check that HTTP server is running on port 3001 - Verify the MCP extension is loaded in Premiere Pro - Make sure a project is open in Premiere Pro`, }, ], isError: true, }; } }
  • The schema and metadata definition for the 'get_project_info' tool, including an empty input schema indicating no parameters are required.
    { name: "get_project_info", description: "Get basic information about the current Premiere Pro project", inputSchema: { type: "object", properties: {}, required: [] } },
  • mcp-server.js:222-223 (registration)
    Registration of the tool in the CallToolRequestSchema handler's switch statement, dispatching calls to the getProjectInfo method.
    case 'get_project_info': return await this.getProjectInfo();

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