Koskamo

sampleimg MCP

A stateless MCP server that generates URLs for placeholder images, deterministic mock images, QR codes, OG images, avatars, charts, pixel art, and structured banners via URL parameters without requiring an API key.

Endpoint and access

No sign-in to connect and list tools. Individual tools may still need a vendor account, credentials, or permissions; check the documented prerequisites.

sampleimg MCP logo, by sampleimgCommunity listingStreamable HTTPNo sign-inEndpoint checked 2026-12-02Published by sampleimg
MCP endpoint (Streamable HTTP)
https://sampleimg.com/mcp
Vendor documentation

What its tools do

10 tools, grouped by the hints the server advertises. Hints are self-declared, not verified behavior.

10 of 10 have a description · 0 of 10 declare behavior hints · 9 of 9 with parameters document them all

Checks and signals

Each line is separate evidence, not a trust score.

  • Passed Endpoint answered the live check ·
  • Availability 1 of 1 checks passed in 30 days

What you can do with it

  • Generate placeholder images with custom dimensions and styling
  • Create deterministic mock images using seeds and styles
  • Produce QR codes and pixel art from data
  • Generate OG images and social media banners

Source and maintenance

Community listingRegistry 1.2.0
Maintenance checked

Protocol and capabilities

Server
sampleimg 1.0.0
MCP protocol negotiated in check
2025-06-18
Tools
10 advertised
Resources
Not advertised
Resource templates
Not advertised
Prompts
Not advertised
Server-advertised capabilities
{
  "tools": {
    "listChanged": false
  }
}

Server-provided instructions

Untrusted server output shown for inspection. It is not Koskamo guidance and is excluded from knowledge search.

sampleimg.com is a free, stateless image generation service. Full documentation for agents: https://sampleimg.com/llms.txt OpenAPI schema: https://sampleimg.com/openapi.json This MCP endpoint: https://sampleimg.com/mcp Use the tools to build image URLs, then embed those URLs directly; image bytes are not returned. Placeholder images: https://sampleimg.com/{width}x{height}?text=...&bg=...&fg=...&format=... Presets: /og (1200x630), /product (1200x1200), /avatar?seed=... , banners: /banner/{og|x|square|story|WxH} ; other endpoints: /qr, /chart, /pixel.

Tools

10 advertised

generate_placeholder_image_url
Advertised by the server during the last successful anonymous check.

Build a sampleimg.com placeholder or deterministic mock image URL. Supports size, text, background/foreground colors, a seed with a deterministic style, and output format.

generate_placeholder_image_url input schema
{
  "type": "object",
  "required": [
    "width",
    "height"
  ],
  "properties": {
    "bg": {
      "type": "string",
      "pattern": "^#?(?:[0-9a-fA-F]{3}|[0-9a-fA-F]{6})$",
      "description": "Background color as 3- or 6-digit hex, with or without #."
    },
    "fg": {
      "type": "string",
      "pattern": "^#?(?:[0-9a-fA-F]{3}|[0-9a-fA-F]{6})$",
      "description": "Text/foreground color as 3- or 6-digit hex, with or without #."
    },
    "seed": {
      "type": "string",
      "maxLength": 200,
      "minLength": 1,
      "description": "Deterministic background seed (1-200 characters)."
    },
    "text": {
      "type": "string",
      "maxLength": 100,
      "description": "Text rendered on the image (1-100 characters). Defaults to the dimensions."
    },
    "style": {
      "enum": [
        "gradient",
        "mesh",
        "geometric",
        "waves"
      ],
      "type": "string",
      "description": "Deterministic background style. Requires seed."
    },
    "width": {
      "type": "integer",
      "maximum": 4096,
      "minimum": 1,
      "description": "Image width in pixels (1-4096)."
    },
    "format": {
      "enum": [
        "svg",
        "png",
        "jpeg",
        "webp"
      ],
      "type": "string",
      "default": "png",
      "description": "Output format. jpeg/webp are accepted but currently return PNG."
    },
    "height": {
      "type": "integer",
      "maximum": 4096,
      "minimum": 1,
      "description": "Image height in pixels (1-4096). The width x height area must not exceed 4,194,304 pixels."
    }
  },
  "additionalProperties": false
}
generate_product_placeholder_url
Advertised by the server during the last successful anonymous check.

Build a sampleimg.com 1200x1200 product placeholder URL with a deterministic design derived from a seed.

generate_product_placeholder_url input schema
{
  "type": "object",
  "required": [
    "seed"
  ],
  "properties": {
    "seed": {
      "type": "string",
      "maxLength": 200,
      "minLength": 1,
      "description": "Product seed used to derive the deterministic design (1-200 characters)."
    },
    "format": {
      "enum": [
        "svg",
        "png",
        "jpeg",
        "webp"
      ],
      "type": "string",
      "default": "png",
      "description": "Output format. jpeg/webp are accepted but currently return PNG."
    }
  },
  "additionalProperties": false
}
generate_og_image_url
Advertised by the server during the last successful anonymous check.

Build a sampleimg.com 1200x630 OG image URL. Use title/description for the legacy OG template, or text for the preset-style OG image.

generate_og_image_url input schema
{
  "type": "object",
  "properties": {
    "bg": {
      "type": "string",
      "pattern": "^#?(?:[0-9a-fA-F]{3}|[0-9a-fA-F]{6})$",
      "description": "Background color as 3- or 6-digit hex, with or without #."
    },
    "fg": {
      "type": "string",
      "pattern": "^#?(?:[0-9a-fA-F]{3}|[0-9a-fA-F]{6})$",
      "description": "Text/foreground color as 3- or 6-digit hex, with or without #."
    },
    "text": {
      "type": "string",
      "maxLength": 100,
      "minLength": 1,
      "description": "Text for the 1200x630 preset-style OG image (1-100 characters). Cannot be combined with title."
    },
    "title": {
      "type": "string",
      "maxLength": 100,
      "minLength": 1,
      "description": "Title for the legacy OG template (1-100 characters)."
    },
    "format": {
      "enum": [
        "svg",
        "png"
      ],
      "type": "string",
      "description": "Output format."
    },
    "description": {
      "type": "string",
      "maxLength": 200,
      "minLength": 1,
      "description": "Description for the legacy OG template. Requires title."
    }
  },
  "additionalProperties": false
}
generate_avatar_url
Advertised by the server during the last successful anonymous check.

Build a sampleimg.com deterministic identicon avatar URL from a seed.

generate_avatar_url input schema
{
  "type": "object",
  "required": [
    "seed"
  ],
  "properties": {
    "seed": {
      "type": "string",
      "maxLength": 200,
      "minLength": 1,
      "description": "Avatar seed (1-200 characters). The same seed always produces the same avatar."
    },
    "size": {
      "type": "integer",
      "default": 512,
      "maximum": 1024,
      "minimum": 16,
      "description": "Avatar size in pixels (16-1024). Defaults to 512."
    },
    "format": {
      "enum": [
        "svg",
        "png"
      ],
      "type": "string",
      "description": "Output format."
    }
  },
  "additionalProperties": false
}
generate_chart_url
Advertised by the server during the last successful anonymous check.

Build a sampleimg.com bar or line chart URL from numeric data and optional labels.

generate_chart_url input schema
{
  "type": "object",
  "required": [
    "data"
  ],
  "properties": {
    "data": {
      "type": "string",
      "description": "Comma-separated numeric values (2-50 values), for example \"10,20,15\"."
    },
    "type": {
      "enum": [
        "bar",
        "line"
      ],
      "type": "string",
      "default": "bar",
      "description": "Chart type. Defaults to bar."
    },
    "format": {
      "enum": [
        "svg",
        "png"
      ],
      "type": "string",
      "description": "Output format."
    },
    "labels": {
      "type": "string",
      "description": "Comma-separated labels; the label count must match the data count."
    }
  },
  "additionalProperties": false
}
generate_qr_code_url
Advertised by the server during the last successful anonymous check.

Build a sampleimg.com QR code URL for arbitrary text or a URL.

generate_qr_code_url input schema
{
  "type": "object",
  "required": [
    "data"
  ],
  "properties": {
    "data": {
      "type": "string",
      "maxLength": 1024,
      "minLength": 1,
      "description": "Text or URL encoded in the QR code (1-1024 characters)."
    },
    "size": {
      "type": "integer",
      "default": 256,
      "maximum": 1024,
      "minimum": 64,
      "description": "QR code size in pixels (64-1024). Defaults to 256."
    },
    "format": {
      "enum": [
        "svg",
        "png"
      ],
      "type": "string",
      "description": "Output format."
    }
  },
  "additionalProperties": false
}
generate_pixel_art_url
Advertised by the server during the last successful anonymous check.

Build a sampleimg.com pixel art URL from a preset or a custom comma-separated 0/1 grid.

generate_pixel_art_url input schema
{
  "type": "object",
  "properties": {
    "bg": {
      "type": "string",
      "pattern": "^#?(?:[0-9a-fA-F]{3}|[0-9a-fA-F]{6})$",
      "description": "Background color as 3- or 6-digit hex, with or without #."
    },
    "fg": {
      "type": "string",
      "pattern": "^#?(?:[0-9a-fA-F]{3}|[0-9a-fA-F]{6})$",
      "description": "Foreground color as 3- or 6-digit hex, with or without #."
    },
    "data": {
      "type": "string",
      "description": "Comma-separated rows of 0 and 1 characters (at most 16x16, square). Cannot be combined with preset."
    },
    "size": {
      "type": "integer",
      "default": 256,
      "maximum": 2048,
      "minimum": 64,
      "description": "Output size in pixels (64-2048). Defaults to 256."
    },
    "format": {
      "enum": [
        "svg",
        "png"
      ],
      "type": "string",
      "default": "svg",
      "description": "Output format. Defaults to svg."
    },
    "preset": {
      "enum": [
        "heart",
        "smiley",
        "check",
        "arrow",
        "star",
        "x"
      ],
      "type": "string",
      "description": "Built-in pixel art preset. Defaults to heart when data is omitted."
    }
  },
  "additionalProperties": false
}
generate_banner_url
Advertised by the server during the last successful anonymous check.

Build a sampleimg.com banner URL from structured props (template, title, subtitle, cta, image, colors, decoration). Supports the center, split, and hero layouts; the same props always render the same image.

generate_banner_url input schema
{
  "type": "object",
  "required": [
    "title"
  ],
  "properties": {
    "bg": {
      "type": "string",
      "pattern": "^#?(?:[0-9a-fA-F]{3}|[0-9a-fA-F]{6})(?:,#?(?:[0-9a-fA-F]{3}|[0-9a-fA-F]{6}))?$",
      "description": "Background hex color, or two comma-separated hex colors for a top-to-bottom gradient (default 111827)."
    },
    "fg": {
      "type": "string",
      "pattern": "^#?(?:[0-9a-fA-F]{3}|[0-9a-fA-F]{6})$",
      "description": "Text color as 3- or 6-digit hex (default ffffff)."
    },
    "cta": {
      "type": "string",
      "maxLength": 40,
      "minLength": 1,
      "description": "Optional call-to-action pill label (1-40 characters) drawn with the accent color."
    },
    "logo": {
      "type": "string",
      "pattern": "^https?://",
      "maxLength": 2048,
      "description": "Optional public http(s) logo rendered in the top-left corner."
    },
    "align": {
      "enum": [
        "left",
        "center"
      ],
      "type": "string",
      "description": "Text alignment. Defaults to center (left for split)."
    },
    "image": {
      "type": "string",
      "pattern": "^https?://",
      "maxLength": 2048,
      "description": "Public http(s) image used by split (right column) and hero (full bleed). Required for those templates and rejected for center. Max 2 MB, 5-second fetch, no redirects, private hosts rejected."
    },
    "title": {
      "type": "string",
      "maxLength": 100,
      "minLength": 1,
      "description": "Main headline (1-100 characters)."
    },
    "width": {
      "type": "integer",
      "maximum": 4096,
      "minimum": 320,
      "description": "Banner width in pixels (320-4096). Requires height."
    },
    "accent": {
      "type": "string",
      "pattern": "^#?(?:[0-9a-fA-F]{3}|[0-9a-fA-F]{6})$",
      "description": "Accent color for the CTA pill, decorations, and border (default f59e0b)."
    },
    "format": {
      "enum": [
        "svg",
        "png"
      ],
      "type": "string",
      "default": "png",
      "description": "Output format."
    },
    "height": {
      "type": "integer",
      "maximum": 4096,
      "minimum": 200,
      "description": "Banner height in pixels (200-4096). Requires width. The width x height area must not exceed 4,194,304 pixels."
    },
    "preset": {
      "enum": [
        "og",
        "x",
        "square",
        "story"
      ],
      "type": "string",
      "default": "og",
      "description": "Size preset (og 1200x630, x 1600x900, square 1080x1080, story 1080x1920). Cannot be combined with width/height."
    },
    "subtitle": {
      "type": "string",
      "maxLength": 200,
      "minLength": 1,
      "description": "Optional supporting line (1-200 characters)."
    },
    "template": {
      "enum": [
        "center",
        "split",
        "hero"
      ],
      "type": "string",
      "default": "center",
      "description": "Layout template. split and hero require image."
    },
    "decoration": {
      "enum": [
        "none",
        "dots",
        "grid",
        "diagonal",
        "border"
      ],
      "type": "string",
      "default": "none",
      "description": "Background decoration. split and hero accept only none or border."
    }
  },
  "additionalProperties": false
}
generate_banner_set
Advertised by the server during the last successful anonymous check.

Build a consistent set of sampleimg.com banner URLs across social size presets (og 1200x630, x 1600x900, square 1080x1080, story 1080x1920) from shared props. Returns one dimensioned URL per preset; the same props always render the same images.

generate_banner_set input schema
{
  "type": "object",
  "required": [
    "title"
  ],
  "properties": {
    "bg": {
      "type": "string",
      "pattern": "^#?(?:[0-9a-fA-F]{3}|[0-9a-fA-F]{6})(?:,#?(?:[0-9a-fA-F]{3}|[0-9a-fA-F]{6}))?$",
      "description": "Background hex color, or two comma-separated hex colors for a top-to-bottom gradient (default 111827)."
    },
    "fg": {
      "type": "string",
      "pattern": "^#?(?:[0-9a-fA-F]{3}|[0-9a-fA-F]{6})$",
      "description": "Text color as 3- or 6-digit hex (default ffffff)."
    },
    "cta": {
      "type": "string",
      "maxLength": 40,
      "minLength": 1,
      "description": "Optional call-to-action pill label (1-40 characters) drawn with the accent color."
    },
    "logo": {
      "type": "string",
      "pattern": "^https?://",
      "maxLength": 2048,
      "description": "Optional public http(s) logo rendered in the top-left corner."
    },
    "align": {
      "enum": [
        "left",
        "center"
      ],
      "type": "string",
      "description": "Text alignment. Defaults to center (left for split)."
    },
    "image": {
      "type": "string",
      "pattern": "^https?://",
      "maxLength": 2048,
      "description": "Public http(s) image used by split (right column) and hero (full bleed). Required for those templates and rejected for center. Max 2 MB, 5-second fetch, no redirects, private hosts rejected."
    },
    "title": {
      "type": "string",
      "maxLength": 100,
      "minLength": 1,
      "description": "Main headline (1-100 characters)."
    },
    "accent": {
      "type": "string",
      "pattern": "^#?(?:[0-9a-fA-F]{3}|[0-9a-fA-F]{6})$",
      "description": "Accent color for the CTA pill, decorations, and border (default f59e0b)."
    },
    "format": {
      "enum": [
        "svg",
        "png"
      ],
      "type": "string",
      "default": "png",
      "description": "Output format."
    },
    "presets": {
      "type": "array",
      "items": {
        "enum": [
          "og",
          "x",
          "square",
          "story"
        ],
        "type": "string"
      },
      "maxItems": 4,
      "minItems": 1,
      "description": "Size presets to include, in order. Defaults to all four: og, x, square, story.",
      "uniqueItems": true
    },
    "subtitle": {
      "type": "string",
      "maxLength": 200,
      "minLength": 1,
      "description": "Optional supporting line (1-200 characters)."
    },
    "template": {
      "enum": [
        "center",
        "split",
        "hero"
      ],
      "type": "string",
      "default": "center",
      "description": "Layout template. split and hero require image."
    },
    "decoration": {
      "enum": [
        "none",
        "dots",
        "grid",
        "diagonal",
        "border"
      ],
      "type": "string",
      "default": "none",
      "description": "Background decoration. split and hero accept only none or border."
    }
  },
  "additionalProperties": false
}
get_api_documentation
Advertised by the server during the last successful anonymous check.

Return sampleimg.com documentation links for agents: llms.txt, OpenAPI, and the MCP endpoint.

get_api_documentation input schema
{
  "type": "object",
  "properties": {},
  "additionalProperties": false
}

Prompts

Not advertised

No prompt definitions available.

Resources

Not advertised

No resource definitions available.

30-day availability

Aggregated from read-only remote checks; this is not a tool-execution or security guarantee.

Successful checks
1 of 1 (100%)
Average latency
721 ms
95th percentile latency
721 ms

Maintenance history

Public check and source-refresh events. Editorial and ownership records remain private.

  • · probe · passed · 721 ms · metadata changed · 10 tool(s)

Connect from your client

Each snippet registers the same endpoint; pick the client you use.

This server is operated by the named third party. Listing and endpoint checks are not an endorsement or a security audit. Review the operator's permissions, terms, and data handling before connecting. How listings are checked and corrected.

Claude Code

Run this once in a terminal. It registers the remote server. Use --scope project to write .mcp.json for the repo.
Claude Code configuration
claude mcp add --transport http sampleimg-mcp https://sampleimg.com/mcp

Codex

Run this once. Codex stores MCP servers in ~/.codex/config.toml (or .codex/config.toml in a trusted project).
Codex configuration
codex mcp add sampleimg-mcp --url https://sampleimg.com/mcp

Cursor

Merge this server into .cursor/mcp.json in your project, then enable sampleimg-mcp in your MCP settings.
Cursor configuration
{
  "mcpServers": {
    "sampleimg-mcp": {
      "url": "https://sampleimg.com/mcp"
    }
  }
}

Cline

Merge this into cline_mcp_settings.json (Cline → MCP Servers → Configure).
Cline configuration
{
  "mcpServers": {
    "sampleimg-mcp": {
      "type": "streamableHttp",
      "url": "https://sampleimg.com/mcp",
      "disabled": false
    }
  }
}

VS Code

Merge this server into .vscode/mcp.json. Use MCP: List Servers to start sampleimg-mcp and inspect its tools.
VS Code configuration
{
  "servers": {
    "sampleimg-mcp": {
      "type": "http",
      "url": "https://sampleimg.com/mcp"
    }
  }
}

Gemini CLI

Run this once. It writes .gemini/settings.json in the current project; pass --scope user for ~/.gemini/settings.json.
Gemini CLI configuration
gemini mcp add --transport http sampleimg-mcp https://sampleimg.com/mcp

Claude Desktop

Open Claude Settings > Connectors > Add custom connector, enter this server URL and enable it for the conversation. This is a manual remote-connector handoff, not a desktop JSON configuration.
Claude Desktop configuration
https://sampleimg.com/mcp

Windsurf

Merge this into ~/.codeium/windsurf/mcp_config.json, then refresh MCP in Cascade. Windsurf remote servers use serverUrl, not url.
Windsurf configuration
{
  "mcpServers": {
    "sampleimg-mcp": {
      "serverUrl": "https://sampleimg.com/mcp"
    }
  }
}

Let your agent find its tools

Find servers like sampleimg MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.