PlacePack
Generate deterministic placeholder image URLs and packs for docs, staging, testing, and AI agents.
Sollte ich dies verwenden
Qualität und Sicherheit
Basierend auf einer automatisierten Analyse der Tool-Definitionen und der Einhaltung des Protokolls.
Kontextkosten
Dies ist die ungefähre Anzahl der Tokens, die jedes Mal verbraucht werden, wenn die Tools des Servers in den Kontext eines Modells geladen werden. Höhere Werte verringern die Aufmerksamkeit, die für andere Aufgaben verfügbar ist.
Installieren
Installation mit einem Klick
Fügen Sie dies Ihrer Datei `claude_desktop_config.json` hinzu:
{
"mcpServers": {
"placepack": {
"command": "npx",
"args": [
"@martintoz/placepack-mcp"
]
}
}
}Ausführbare Pakete
0.1.2stdioRemote-Endpunkte
https://placepack.top/mcpstreamable-httpWas es kann
Tool-Inventar
Tools (3)
🟢placepack_list_presets
Return named PlacePack size presets with labels, specs, and default formats.
Eingabe-Schema
{
"type": "object",
"properties": {}
}🟢placepack_create_image(spec, format, bgColor, textColor, padding, ...)
Validate one size spec and return an embeddable PlacePack image URL, filename, Markdown, and HTML.
Eingabe-Schema
{
"type": "object",
"properties": {
"spec": {
"type": "string",
"minLength": 1,
"description": "Size spec such as 800x600.svg, hero:1600x900, or thumb:420x247@2x."
},
"format": {
"type": "string",
"enum": [
"svg",
"png",
"webp"
]
},
"bgColor": {
"description": "Background hex color, with or without #.",
"type": "string"
},
"textColor": {
"description": "Label hex color, with or without #.",
"type": "string"
},
"padding": {
"type": "number",
"minimum": 0,
"maximum": 200
},
"strokeWidth": {
"type": "number",
"minimum": 0,
"maximum": 20
},
"template": {
"description": "Label template. Tokens: {alias}, {w}, {h}, {ratio}, {index}, {bg}, {color}.",
"type": "string"
}
},
"required": [
"spec"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢placepack_create_pack(sizes, preset, format, bgColor, textColor, ...)
Validate multiple size specs or one preset and return a manifest of generated PlacePack image URLs. Optionally inline a small SVG ZIP as base64.
Eingabe-Schema
{
"type": "object",
"properties": {
"sizes": {
"description": "Newline-separated size specs.",
"type": "string"
},
"preset": {
"description": "Preset key such as og, developers, automation, or favicon.",
"type": "string"
},
"format": {
"type": "string",
"enum": [
"svg",
"png",
"webp"
]
},
"bgColor": {
"description": "Background hex color, with or without #.",
"type": "string"
},
"textColor": {
"description": "Label hex color, with or without #.",
"type": "string"
},
"padding": {
"type": "number",
"minimum": 0,
"maximum": 200
},
"strokeWidth": {
"type": "number",
"minimum": 0,
"maximum": 20
},
"template": {
"description": "Label template. Tokens: {alias}, {w}, {h}, {ratio}, {index}, {bg}, {color}.",
"type": "string"
},
"inlineZip": {
"description": "Return a base64 ZIP for SVG packs with at most 10 files.",
"type": "boolean"
}
},
"$schema": "http://json-schema.org/draft-07/schema#"
}Empfohlene Prompts
placepack_list_presetsplacepack_list_presetsCommunity
Nachweis