npm @pictify/mcp-serverstreamable-httpupdated 3mo ago
An MCP (Model Context Protocol) server for Pictify — generate images, GIFs, videos, and PDFs from AI agents like Claude, Cursor, and Windsurf.
pictify io 能做什么?
@pictify/mcp-server
An MCP (Model Context Protocol) server for Pictify — generate images, GIFs, videos, and PDFs from AI agents like Claude, Cursor, and Windsurf.
One-line install. No code required. Ask your AI assistant to create OG images, social media cards, screenshots, animated GIFs, PDF invoices, certificates, and more — all from natural language.
What can it do?
- Generate images from HTML/CSS, URLs, or reusable templates (OG images, Twitter cards, banners, product screenshots)
- Create animated GIFs from CSS animations or by recording live web pages
- Render videos from templates, including agent-authored Remotion scenes
- Render PDFs from templates — invoices, certificates, reports, shipping labels
- Batch generate up to 100 personalized images in one request (team badges, event passes, product catalogs)
- Template system with 50+ expression functions for dynamic content (conditionals, string manipulation, date formatting)
Works with Claude (claude.ai + Claude Code + Claude Desktop), Cursor, Windsurf, and any MCP-compatible client.
Quick Start
Prerequisites
Get your API key:
- Sign up or log in at pictify.io
- Go to API Tokens
- Create a new token and copy it
Claude.ai (Web)
Use the hosted remote server — no install needed:
- Go to claude.ai > Settings > Connectors
- Click Add custom connector
- URL:
https://mcp.pictify.io - Click Advanced Settings
- Client ID:
pictify - Client Secret: paste your API token
- Click Add
Claude Code
claude mcp add pictify -e PICTIFY_API_KEY=your_api_key -- npx -y @pictify/mcp-server
Claude Desktop
Add to your config file:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json - Linux:
~/.config/Claude/claude_desktop_config.json
{
"mcpServers": {
"pictify": {
"command": "npx",
"args": ["-y", "@pictify/mcp-server"],
"env": {
"PICTIFY_API_KEY": "your_api_key"
}
}
}
}
Restart Claude Desktop after saving.
Cursor
Add to Cursor's MCP settings (Settings > MCP Servers):
{
"mcpServers": {
"pictify": {
"command": "npx",
"args": ["-y", "@pictify/mcp-server"],
"env": {
"PICTIFY_API_KEY": "your_api_key"
}
}
}
}
Windsurf
Add to Windsurf's MCP settings:
{
"mcpServers": {
"pictify": {
"command": "npx",
"args": ["-y", "@pictify/mcp-server"],
"env": {
"PICTIFY_API_KEY": "your_api_key"
}
}
}
}
Examples
Try these prompts after connecting:
Create a social media card:
"Create a Twitter card image for my blog post titled 'Getting Started with MCP' with a blue gradient background, 1200x630."
Screenshot a website:
"Take a screenshot of stripe.com at 1440x900."
Render a template:
"List my templates and render the blog-header template with title 'Hello World'."
Batch generate images:
"Use my team-badge template to generate images for these 10 team members: ..."
Create a PDF invoice:
"Render my invoice template as a PDF with company name 'Acme Inc', amount '$1,500', and date 'March 2026'."
Available Tools
Image Generation
| Tool | Description |
|---|---|
pictify_create_image |
Generate an image from HTML/CSS, a URL screenshot, or a template |
pictify_create_canvas_image |
Generate an image from FabricJS canvas JSON data |
pictify_list_images |
List previously generated images |
pictify_get_image |
Get details of a specific image by ID |
GIF Creation
| Tool | Description |
|---|---|
pictify_create_gif |
Create animated GIF from HTML with CSS animations |
pictify_capture_gif |
Record a GIF from a live web page over time |
pictify_list_gifs |
List previously generated GIFs |
pictify_get_gif |
Get details of a specific GIF by ID |
PDF Generation
| Tool | Description |
|---|---|
pictify_render_pdf |
Generate single-page PDF from a template |
pictify_render_multi_page_pdf |
Generate multi-page PDF from a template |
pictify_list_pdf_presets |
List available PDF page size presets |
Template Management
| Tool | Description |
|---|---|
pictify_list_templates |
List saved templates with filtering and pagination |
pictify_get_template |
Get template details |
pictify_get_template_variables |
Get template variable definitions and types |
pictify_render_template |
Render a template with variables (supports layout variants) |
pictify_create_template |
Create a new template (HTML or FabricJS) |
pictify_update_template |
Update an existing template |
pictify_delete_template |
Delete a template |
Batch Operations
| Tool | Description |
|---|---|
pictify_batch_render |
Start batch render job (up to 100 items, async) |
pictify_get_batch_results |
Check batch job status and get result URLs |
pictify_cancel_batch |
Cancel a running batch job |
Configuration
| Variable | Description | Default |
|---|---|---|
PICTIFY_API_KEY |
Your Pictify API key (required for stdio mode) | — |
PICTIFY_BASE_URL |
Custom API base URL | https://api.pictify.io |
PICTIFY_DEBUG |
Enable verbose logging to stderr | false |
PICTIFY_MCP_SOURCE |
Slug identifying where this MCP server was installed from (e.g. mcp.so, glama, smithery, claude_desktop_gallery, github). Sent as X-Pictify-MCP-Source on every API call so Pictify can attribute installs by directory. |
unknown |
Install attribution
When you submit @pictify/mcp-server to an MCP directory, set
PICTIFY_MCP_SOURCE in the install snippet so we can attribute signups
to that listing. Example for the mcp.so directory entry:
{
"mcpServers": {
"pictify": {
"command": "npx",
"args": ["-y", "@pictify/mcp-server"],
"env": {
"PICTIFY_API_KEY": "your_api_key",
"PICTIFY_MCP_SOURCE": "mcp.so"
}
}
}
}
For the hosted remote (https://mcp.pictify.io), pass the slug as a
query param on the connector URL instead — the server persists it on
the OAuth session:
https://mcp.pictify.io?source=mcp.so
Accepted slugs: lowercase letters, digits, ., -, _, up to 64
characters. Anything else is dropped to unknown.
Development
git clone https://github.com/pictify-io/pictify-mcp.git
cd pictify-mcp
npm install
npm run build
Test with MCP Inspector:
PICTIFY_API_KEY=your_key npm run inspector
License
MIT
安装
把 pictify io 添加到你的客户端。选择你正在使用的那个。
{
"servers": {
"mcp-server": {
"type": "http",
"url": "https://mcp.pictify.io"
}
}
}Add to `.vscode/mcp.json` in your workspace.
claude mcp add mcp-server -- npx -y @pictify/mcp-servercodex mcp add mcp-server -- npx -y @pictify/mcp-serveramp mcp add mcp-server -- npx -y @pictify/mcp-server{
"mcpServers": {
"mcp-server": {
"command": "npx",
"args": [
"-y",
"@pictify/mcp-server"
]
}
}
}Add to `claude_desktop_config.json`, then restart Claude Desktop.
{
"mcpServers": {
"mcp-server": {
"command": "npx",
"args": [
"-y",
"@pictify/mcp-server"
]
}
}
}Add to `~/.cursor/mcp.json`, or `.cursor/mcp.json` for a single project.
{
"mcpServers": {
"mcp-server": {
"command": "npx",
"args": [
"-y",
"@pictify/mcp-server"
]
}
}
}Add to `~/.codeium/windsurf/mcp_config.json`.
{
"mcpServers": {
"mcp-server": {
"command": "npx",
"args": [
"-y",
"@pictify/mcp-server"
]
}
}
}Add to `cline_mcp_settings.json` via the MCP Servers panel.
{
"mcpServers": {
"mcp-server": {
"command": "npx",
"args": [
"-y",
"@pictify/mcp-server"
]
}
}
}Add to `~/.gemini/settings.json`.
{
"mcpServers": {
"mcp-server": {
"type": "local",
"command": "npx",
"args": [
"-y",
"@pictify/mcp-server"
],
"tools": [
"*"
]
}
}
}Add to `~/.copilot/mcp-config.json`, or run `/mcp add` inside the CLI.
{
"context_servers": {
"mcp-server": {
"command": {
"path": "npx",
"args": [
"-y",
"@pictify/mcp-server"
]
}
}
}
}Add to your Zed `settings.json`.
npx -y @pictify/mcp-serverRun `goose configure`, choose **Add Extension → Command-line Extension**, and paste this command.
评分
39 / 100
不完整
- 文档25/25
- 维护13/25
- 可信度6/20
- 能力0/15
- 安装体验15/15
- Documents what it does and how to connect
- Has a resolvable package or endpoint
- Exposes at least one tool, prompt or resource
- README has substantive content
- Includes a code example
- Documents its configuration
- Mentions credentials or security posture
- Last commit 100 days ago
- Has a release history
- Repository is not archived
- No licence detected
- Namespace verified in the official MCP registry
- Claimed by its owner
- Published under an organisation
- 0 tool(s) documented
- Provides prompt templates
- Provides resources
- 18 documented install method(s)
- Published to a package registry
- Offers a hosted endpoint — no local install
版本历史
| 版本 | 发布于 |
|---|---|
| 1.3.0最新 | 2026年5月24日 |
| 1.2.1 | 2026年5月24日 |