Skip to main content
Glama

get_project_bins

Retrieve project bin structure and organization from Adobe Premiere Pro using the MCP Server for streamlined workflow automation and project management.

Instructions

Get project bin structure and organization

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The main handler function that fetches project bins data from the localhost:3001 API endpoint '/api/project-bins', processes it into a hierarchical list with counts and labels, and returns a formatted text response. Handles errors gracefully.
    async getProjectBins() { try { const response = await fetch('http://localhost:3001/api/project-bins'); 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}`, }, ], }; } const binsList = data.bins.map(bin => { const indent = bin.parent_bin ? ' ' : ''; const subBins = bin.sub_bins.length > 0 ? ` (${bin.sub_bins.length} sub-bins)` : ''; return `${indent}πŸ“ **${bin.bin_name}** - ${bin.media_count} items${subBins} ${bin.color_label ? `🏷️ ${bin.color_label}` : ''}`; }).join('\n'); return { content: [ { type: 'text', text: `πŸ“ **Project Bins (${data.total_bins} total)**\n\n${binsList}`, }, ], }; } catch (error) { return { content: [ { type: 'text', text: `❌ **Failed to get project bins**\n\nError: ${error.message}`, }, ], isError: true, }; } }
  • Input schema for the 'get_project_bins' tool: an empty object with no required properties.
    type: "object", properties: {}, required: [] }
  • mcp-server.js:102-109 (registration)
    Tool registration in the list returned by ListToolsRequestSchema, including name, description, and input schema.
    name: "get_project_bins", description: "Get project bin structure and organization", inputSchema: { type: "object", properties: {}, required: [] } },
  • mcp-server.js:243-244 (registration)
    Dispatch/registration in the CallToolRequestSchema switch statement that routes calls to the getProjectBins handler.
    case 'get_project_bins': return await this.getProjectBins();

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