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.
https://sampleimg.com/mcpWhat its tools do
10 tools, grouped by the hints the server advertises. Hints are self-declared, not verified behavior.
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
- 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
{
"tools": {
"listChanged": false
}
}Server-provided instructions
Untrusted server output shown for inspection. It is not Koskamo guidance and is excluded from knowledge search.
Tools
10 advertised
generate_placeholder_image_url
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.
{
"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
Build a sampleimg.com 1200x1200 product placeholder URL with a deterministic design derived from a seed.
{
"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
Build a sampleimg.com 1200x630 OG image URL. Use title/description for the legacy OG template, or text for the preset-style OG image.
{
"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
Build a sampleimg.com deterministic identicon avatar URL from a seed.
{
"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
Build a sampleimg.com bar or line chart URL from numeric data and optional labels.
{
"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
Build a sampleimg.com QR code URL for arbitrary text or a URL.
{
"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
Build a sampleimg.com pixel art URL from a preset or a custom comma-separated 0/1 grid.
{
"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
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.
{
"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
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.
{
"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
Return sampleimg.com documentation links for agents: llms.txt, OpenAPI, and the MCP endpoint.
{
"type": "object",
"properties": {},
"additionalProperties": false
}Prompts
Not advertised
Resources
Not advertised
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.
Claude Code
claude mcp add --transport http sampleimg-mcp https://sampleimg.com/mcpCodex
codex mcp add sampleimg-mcp --url https://sampleimg.com/mcpCursor
{
"mcpServers": {
"sampleimg-mcp": {
"url": "https://sampleimg.com/mcp"
}
}
}Cline
{
"mcpServers": {
"sampleimg-mcp": {
"type": "streamableHttp",
"url": "https://sampleimg.com/mcp",
"disabled": false
}
}
}VS Code
{
"servers": {
"sampleimg-mcp": {
"type": "http",
"url": "https://sampleimg.com/mcp"
}
}
}Gemini CLI
gemini mcp add --transport http sampleimg-mcp https://sampleimg.com/mcpClaude Desktop
https://sampleimg.com/mcpWindsurf
{
"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.