
felores/placid-mcp-server
Developer toolsЭта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал
Generate image and video creatives using Placid.app templates in MCP compatible hosts
Обзор
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. - 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 1. Install Node.js (version 18 or higher) and npm from nodejs.org 2. Verify installation: The easiest way to get started is using Smithery, which will automatically configure everything for you: If you prefer to configure manually, add this to your Claude Desktop or Cline settings: 1. Log in to your Placid.app account 2. Go to Settings > API 3. Click on "Create API Token" 4. Give your token a name (e.g., "MCP Server") 5. Copy the generated token 6. Add the token to your configuration as shown above Lists available Placid templates with filtering options.
README
Показан фрагмент оригинального README. Открыть оригинал.
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.
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
collection_id(optional): Filter templates by collection IDcustom_data(optional): Filter by custom reference datatags(optional): Array of tags to filter templates by
Response
Returns an array of templates, each containing:
uuid: Unique identifier for the templatetitle: Template namethumbnail: Preview image URL (if available)layers: Array of available layers with their names and typestags: Array of template tags
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
template_id(required): UUID of the template to uselayers(required): Object containing dynamic content for template layers- For video layers:
{ "layerName": { "video": "https://video-url.com" } }
- For video layers:
Установка
npx @felores/placid-mcp-serverКонфигурация
{
"mcpServers": {
"placid": {
"command": "npx",
"args": ["@felores/placid-mcp-server"],
"env": {
"PLACID_API_TOKEN": "your-api-token"
}
}
}
}