Skip to main content

MCP Server

Pictify provides an MCP (Model Context Protocol) server that enables AI agents to generate images, GIFs, and PDFs programmatically.

What is MCP?

Model Context Protocol is a standard for connecting AI models to external tools and data sources. With Pictify’s MCP server, AI assistants like Claude can:
  • Generate images from descriptions
  • Create social media graphics
  • Render templates with dynamic data
  • Capture screenshots of web pages

Installation

Claude Desktop

Add Pictify to your Claude Desktop configuration:
Restart Claude Desktop after adding the configuration.

Claude Code

Set your API key:

Other MCP Clients

The Pictify MCP server follows the standard MCP protocol and works with any compatible client.

Available Tools

pictify_create_image

Generate a static image from HTML, a URL screenshot, or a template. Provide exactly one of html, url, or template. Parameters: Example:
The AI will call pictify_create_image with appropriate HTML. To screenshot a page, it passes url instead (optionally with selector to crop to a section).

pictify_render_template

Render a saved template with variables. Parameters: Example:

pictify_create_gif

Create an animated GIF from animated HTML, a URL, or a template. Provide exactly one of html, url, or template. Parameters:
To record a live web page over a fixed duration, use the pictify_capture_gif tool instead — it takes a url plus frameDurationSeconds (1–30) and a quality preset (low | medium | high).

pictify_list_templates

List available templates. Parameters:

Example Conversations

Creating Social Graphics

User: Create a Twitter header image for my AI startup “NeuralFlow” with a dark theme and neural network visualization. Claude: I’ll create a Twitter header image for NeuralFlow with a dark neural network theme. Calls pictify_create_image with HTML for the header Here’s your Twitter header image: [Image URL] The image features:
  • Deep purple gradient background
  • Animated neural network pattern
  • “NeuralFlow” in modern typography
  • Optimal 1500x500 dimensions for Twitter

Rendering Templates

User: I have a blog post template. Generate images for these three posts:
  1. “The Future of AI” by John Doe
  2. “Web3 Explained” by Jane Smith
  3. “Cloud Computing 101” by Bob Wilson
Claude: I’ll render your blog post template for each article. Calls pictify_render_template three times with different variables Here are your blog post images:
  1. “The Future of AI” - [Image URL]
  2. “Web3 Explained” - [Image URL]
  3. “Cloud Computing 101” - [Image URL]

Screenshots for Documentation

User: Take screenshots of our app’s dashboard, settings page, and billing page for documentation. Claude: I’ll capture screenshots of each page for your documentation. Calls pictify_create_image with a url for each page Here are your documentation screenshots:
  1. Dashboard - [Image URL]
  2. Settings - [Image URL]
  3. Billing - [Image URL]

Configuration Options

Environment Variables

Server Options

Building Custom Agents

With Anthropic’s Claude API

With LangChain

Best Practices

1. Provide Clear Descriptions

Give templates and tools clear descriptions so the AI understands when to use them:

2. Handle Errors Gracefully

3. Validate Input

4. Cache Results

For repeated requests, cache the results: