New:Microsoft Teams Notifications Are Now Available in Socket.Learn more →
Get Started

@pictify/mcp-server

Package Overview
Dependencies
Maintainers
1
Versions
9
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, videos, and PDFs with AI agents

latest
Source
npmnpm
Version
2.0.0
Version published
Weekly downloads
255
608.33%
Maintainers
1
Weekly downloads
 
Created
Source

@pictify/mcp-server

npm version MIT License

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)
  • Render videos and animated GIFs 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

Claude.ai (Web)

Use the hosted remote server — no install, no API key:

  • Go to claude.ai > Settings > Connectors
  • Click Add custom connector
  • URL: https://mcp.pictify.io
  • Click Add, then Connect — you'll log in to Pictify and approve access

Nothing goes in Advanced Settings. The connection appears under Connected apps in your Pictify settings, where you can disconnect it at any time.

Prerequisites for the local server

The npm package authenticates with an API key rather than a browser login:

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

ToolDescription
pictify_create_imageGenerate an image from HTML/CSS, a URL screenshot, or a template
pictify_get_imageGet details of a specific image by ID

Render History

ToolDescription
pictify_list_rendersList everything rendered — images, GIFs, PDFs and videos in one feed

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 — images and PDFs (format: 'pdf')
pictify_multi_size_renderRender one template at several sizes in a single call
pictify_create_templateCreate a new template (HTML or FabricJS)
pictify_update_templateUpdate an existing template
pictify_delete_templateDelete a template
pictify_validate_expressionCheck a {{ }} expression parses before using it
pictify_list_expression_functionsList the functions available inside expressions

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

Video

ToolDescription
pictify_list_video_templatesList your Remotion video templates
pictify_get_video_templateGet one video template in full
pictify_get_video_template_variablesDiscover the variables a video template expects
pictify_render_videoRender a video template to MP4 or GIF
pictify_create_video_templateUpload your own Remotion scene as a template
pictify_generate_video_templateGenerate a video template from a text prompt
pictify_update_video_templateUpdate a video template's name, size, duration or code
pictify_duplicate_video_templateCopy a video template
pictify_delete_video_templateDelete a video template

Configuration

VariableDescriptionDefault
PICTIFY_API_KEYYour Pictify API key (required for stdio mode)—
PICTIFY_BASE_URLCustom API base URLhttps://api.pictify.io
PICTIFY_DEBUGEnable verbose logging to stderrfalse
PICTIFY_MCP_SOURCESlug 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
PICTIFY_ANALYTICS_DISABLEDSet to 1, true or yes to send no usage analytics at allfalse

Self-hosting the HTTP server adds MCP_PORT, MCP_PUBLIC_URL (the public origin, used to build the protected-resource metadata document) and PICTIFY_AUTH_SERVER_URL (the OAuth authorization server to point clients at, defaulting to https://api.pictify.io; PICTIFY_AUTH_SERVER is accepted too).

Usage analytics

This server reports tool usage to PostHog so we can see which tools agents reach for and which ones fail. Each call records the tool name, its arguments and result, timing, whether it errored, the stated intent, your client name and version, and — when an API key resolves to an account — your email and plan.

Arguments and results mean the HTML, URLs, prompts and template variables you pass in. If that isn't acceptable for your use, set PICTIFY_ANALYTICS_DISABLED=1 and nothing is sent.

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

Keywords

mcp

FAQs

Package last updated on 20 Sep 2026

Related posts