P
Placid.app
community
devtools
Generate image and video creatives using Placid.app templates
Placid.app MCP Server
An MCP server implementation for integrating with Placid.app's API. This server provides tools for listing templates and generating images and videos through the Model Context Protocol.
<a href="https://glama.ai/mcp/servers/xeklsydon0">
<img width="380" height="200" src="https://glama.ai/mcp/servers/xeklsydon0/badge" />
</a>
Features
- List available Placid templates with filtering options
- Generate images and videos using templates and dynamic content
- Secure API token management
- Error handling and validation
- Type-safe implementation
Requirements: Node.js
- Install Node.js (version 18 or higher) and npm from nodejs.org
- Verify installation:
node --version npm --version
Installation
Quick Start (Recommended)
The easiest way to get started is using Smithery, which will automatically configure everything for you:
npx -y @smithery/cli install @felores/placid-mcp-server --client claude
Manual Configuration
If you prefer to configure manually, add this to your Claude Desktop or Cline settings:
{ "mcpServers": { "placid": { "command": "npx", "args": ["@felores/placid-mcp-server"], "env": { "PLACID_API_TOKEN": "your-api-token" } } } }
Getting Your Placid API Token
- Log in to your Placid.app account
- Go to Settings > API
- Click on "Create API Token"
- Give your token a name (e.g., "MCP Server")
- Copy the generated token
- Add the token to your configuration as shown above
Development
# Run in development mode with hot reload npm run dev # Run tests npm test
Tools
placid_list_templates
Lists available Placid templates with filtering options. Each template includes its title, ID, preview image URL, available layers, and tags.
Parameters
(optional): Filter templates by collection IDcollection_id
(optional): Filter by custom reference datacustom_data
(optional): Array of tags to filter templates bytags
Response
Returns an array of templates, each containing:
: Unique identifier for the templateuuid
: Template nametitle
: Preview image URL (if available)thumbnail
: Array of available layers with their names and typeslayers
: Array of template tagstags
placid_generate_video
Generate videos by combining Placid templates with dynamic content like videos, images, and text. For longer videos (>60 seconds processing time), you'll receive a job ID to check status in your Placid dashboard.
Parameters
(required): UUID of the template to usetemplate_id
(required): Object containing dynamic content for template layerslayers
- For video layers:
{ "layerName": { "video": "https://video-url.com" } }
- For image layers:
{ "layerName": { "image": "https://image-url.com" } }
- For text layers:
{ "layerName": { "text": "Your content" } }
- For video layers:
(optional): URL to an mp3 audio fileaudio
(optional): Set to 'auto' to trim audio to video lengthaudio_duration
(optional): Timestamp of trim start point (e.g. '00:00:45' or '00:00:45.25')audio_trim_start
(optional): Timestamp of trim end point (e.g. '00:00:55' or '00:00:55.25')audio_trim_end
Response
Returns an object containing:
: Current status ("finished", "queued", or "error")status
: URL to download the generated video (when status is "finished")video_url
: ID for checking status in Placid dashboard (for longer videos)job_id
Example Usage for LLM models
{ "template_id": "template-uuid", "layers": { "MEDIA": { "video": "https://example.com/video.mp4" }, "PHOTO": { "image": "https://example.com/photo.jpg" }, "LOGO": { "image": "https://example.com/logo.png" }, "HEADLINE": { "text": "My Video Title" } }, "audio": "https://example.com/background.mp3", "audio_duration": "auto" }
placid_generate_image
Generate static images by combining Placid templates with dynamic content like text and images.
Parameters
(required): UUID of the template to usetemplate_id
(required): Object containing dynamic content for template layerslayers
- For text layers:
{ "layerName": { "text": "Your content" } }
- For image layers:
{ "layerName": { "image": "https://image-url.com" } }
- For text layers:
Response
Returns an object containing:
: "finished" when completestatus
: URL to download the generated imageimage_url
Example Usage for LLM models
{ "template_id": "template-uuid", "layers": { "headline": { "text": "Welcome to My App" }, "background": { "image": "https://example.com/bg.jpg" } } }
Documentation
For more detailed information about the Placid API, visit the Placid API Documentation.
License
MIT
Related Servers
Adfin
official
The only platform you need to get paid - all payments in one place, invoicing and accounting reconciliations with [Adfin](https://www.adfin.com/).
View Details
APIMatic MCP
official
APIMatic MCP Server is used to validate OpenAPI specifications using [APIMatic](https://www.apimatic.io/). The server processes OpenAPI files and returns validation summaries by leveraging APIMatic’s API.
View Details