PlacePack
Generate deterministic placeholder image URLs and packs for docs, staging, testing, and AI agents.
¿Debería usar esto?
Calidad y seguridad
Basado en el análisis automatizado de las definiciones de herramientas y el cumplimiento del protocolo.
Costo de contexto
Este es el número aproximado de tokens que se consumen cada vez que las herramientas del servidor se cargan en el contexto de un modelo. Los recuentos más altos reducen la atención disponible para otras tareas.
Instalar
Instalación con un clic
Agrega esto a tu archivo `claude_desktop_config.json`:
{
"mcpServers": {
"placepack": {
"command": "npx",
"args": [
"@martintoz/placepack-mcp"
]
}
}
}Paquetes ejecutables
0.1.2stdioPuntos de conexión remotos
https://placepack.top/mcpstreamable-httpQué puede hacer
Inventario de herramientas
Herramientas (3)
🟢placepack_list_presets
Return named PlacePack size presets with labels, specs, and default formats.
Esquema de entrada
{
"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.
Esquema de entrada
{
"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.
Esquema de entrada
{
"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#"
}Prompts recomendados
placepack_list_presetsplacepack_list_presetsComunidad
Evidencia