Sign In

@pictify/mcp-server

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pictify/mcp-server

MCP server for Pictify - Generate images, GIFs, and PDFs with AI agents

Source
npmnpm
Version
1.0.0
Version published
Weekly downloads
224
-38.12%
Maintainers
1
Weekly downloads
 
Created
Source

@pictify/mcp-server

npm version MIT License

An MCP (Model Context Protocol) server for Pictify — generate images, GIFs, 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 PDFs from templates — invoices, certificates, reports, shipping labels
  • Batch generate up to 100 personalized images in one request (team badges, event passes, product catalogs)
  • A/B test images with built-in experiments, traffic splitting, and auto-optimization
  • Template system with 50+ expression functions for dynamic content (conditionals, string manipulation, date formatting)

Works with Claude Desktop, Claude Code, Cursor, Windsurf, and any MCP-compatible client.

Quick Start

No API key needed. The server handles authentication via your browser.

For MCP clients that support Streamable HTTP transport, use this URL:

http://localhost:3000/mcp

Start the server:

npx pictify-mcp-http

On the first request, your browser will open to sign in to Pictify. After that, everything works automatically.

Option 2: Stdio with API Key

For MCP clients that use stdio transport (most desktop apps), you'll need an API key:

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.

Claude Code

claude mcp add pictify -e PICTIFY_API_KEY=your_api_key -- npx -y @pictify/mcp-server

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"
      }
    }
  }
}

Available Tools

Image Generation

ToolDescription
pictify_create_imageGenerate an image from HTML/CSS, a URL screenshot, or a template
pictify_create_canvas_imageGenerate an image from FabricJS canvas JSON data
pictify_list_imagesList previously generated images
pictify_get_imageGet details of a specific image by ID

GIF Creation

ToolDescription
pictify_create_gifCreate animated GIF from HTML with CSS animations
pictify_capture_gifRecord a GIF from a live web page over time
pictify_list_gifsList previously generated GIFs
pictify_get_gifGet details of a specific GIF by ID

PDF Generation

ToolDescription
pictify_render_pdfGenerate single-page PDF from a template
pictify_render_multi_page_pdfGenerate multi-page PDF from a template
pictify_list_pdf_presetsList available PDF page size presets

Template Management

ToolDescription
pictify_list_templatesList saved templates with filtering and pagination
pictify_get_templateGet template details
pictify_get_template_variablesGet template variable definitions and types
pictify_render_templateRender a template with variables (supports layout variants)
pictify_create_templateCreate a new template (HTML or FabricJS)
pictify_update_templateUpdate an existing template
pictify_delete_templateDelete a template

Batch Operations

ToolDescription
pictify_batch_renderStart batch render job (up to 100 items, async)
pictify_get_batch_resultsCheck batch job status and get result URLs
pictify_cancel_batchCancel a running batch job

A/B Testing & Experiments

ToolDescription
pictify_list_experimentsList experiments (A/B tests, smart links, scheduled)
pictify_create_experimentCreate an experiment with variants and traffic weights
pictify_get_experimentGet experiment details and per-variant performance
pictify_get_experiment_quotaCheck experiment usage and plan limits
pictify_update_experimentUpdate experiment config (field access depends on status)
pictify_delete_experimentDelete an experiment
pictify_start_experimentStart routing traffic to variants
pictify_pause_experimentPause traffic routing (data preserved)
pictify_complete_experimentDeclare a winner and route all traffic to it
pictify_track_experiment_eventsTrack impressions, clicks, and conversions

Configuration

Stdio Mode

VariableDescriptionDefault
PICTIFY_API_KEYYour Pictify API key (required)
PICTIFY_BASE_URLCustom API base URLhttps://api.pictify.io
PICTIFY_DEBUGEnable verbose logging to stderrfalse

HTTP Mode (OAuth)

VariableDescriptionDefault
PICTIFY_BASE_URLPictify API base URLhttps://api.pictify.io
PICTIFY_AUTH_SERVER_URLOAuth authorization server URLhttps://api.pictify.io
MCP_PORTHTTP server port3000

Examples

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: ..."

A/B test an image:

"Create an A/B test experiment with two variants of my hero banner and start routing traffic."

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

Run HTTP mode locally:

npm run start:http

License

MIT

Keywords

mcp

FAQs

Package last updated on 20 Mar 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts