Skip to main content
Glama
ogimage-mcp

ogimage-mcp

Official
by ogimage-art

OG:IMAGE MCP Server

Generate beautiful OG images directly from Claude Desktop using ogimage.art.

Installation

Add to your Claude Desktop config (~/Library/Application Support/Claude/claude_desktop_config.json):

{
  "mcpServers": {
    "ogimage": {
      "command": "npx",
      "args": ["-y", "ogimage-mcp"]
    }
  }
}

Option 2: Global Install

npm install -g ogimage-mcp

Then add to Claude Desktop config:

{
  "mcpServers": {
    "ogimage": {
      "command": "ogimage-mcp"
    }
  }
}

Related MCP server: GPTImage

Usage

Once installed, you can ask Claude to generate OG images:

"Generate an OG image for my blog post titled 'How to Build a SaaS in 2024'"

"Create a dark-themed OG image with the title 'API Documentation' and subtitle 'Getting Started Guide'"

"List available OG image templates"

Available Tools

generate_og_image

Generate an OG image URL.

Parameters:

  • title (required): Main title text

  • subtitle: Optional subtitle

  • author: Optional author name

  • template: gradient, dark, sunset, ocean, forest, midnight, fire, minimal

  • size: 1200x630, 1200x675, 800x418

  • key: License key to remove watermark

list_templates

List all available templates and sizes.

get_meta_tag

Generate the HTML meta tag for any URL.

Pro Version

Free tier includes a small watermark. Get a Pro license at ogimage.art to:

  • Remove watermarks

  • Access premium templates

  • Use in commercial projects

Add your license key to remove watermarks:

"Generate an OG image with title 'My Post' using my key ABC123"

Examples

Basic:

> Generate an OG image with title "Hello World"

With options:

> Create an OG image:
  - Title: "Building APIs"
  - Subtitle: "A Complete Guide"
  - Template: dark
  - Author: "John Doe"

License

MIT

Available Tools

3 tools
generate_og_imageA

Generate an OG image URL for social media previews. Returns a URL you can use in tags.

Inputs: title (required), subtitle, author, template, +2 more.

get_meta_tagA

Generate the HTML meta tag for an OG image URL

Inputs: url (required).

list_templatesA

List all available OG image templates

Inputs: no named parameters.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4/5.0

    Scored across 3 tools

    Disambiguation5/5

    Each tool has a distinct purpose: generating an OG image URL, generating the HTML meta tag, and listing templates. No overlap.

    Naming Consistency5/5

    All tools follow a consistent verb_noun pattern with snake_case: generate_og_image, get_meta_tag, list_templates.

    Tool Count5/5

    Three tools cover the core functionality of OG image generation well; the count is appropriate for the narrow scope.

    Completeness4/5

    The set covers generation, meta tag output, and template discovery. Missing template management (create/update/delete) but these are not core to the primary use case.

    Related MCP Connectors

    Related MCP Servers