PlacePack
Generate deterministic placeholder image URLs and packs for docs, staging, testing, and AI agents.
我該用這個嗎
品質與安全性
A
根據工具定義與協定合規性的自動化分析。
上下文成本
~552Token(工具定義)
~1.5 KB典型回應大小
極小的注意力影響(128k 上下文的 0.43%)
這是每次將伺服器的工具載入模型上下文時所消耗的約略 token 數量。數量越高,可用於其他工作的注意力就越少。
安裝
一鍵安裝
將以下內容加入你的 `claude_desktop_config.json` 檔案:
{
"mcpServers": {
"placepack": {
"command": "npx",
"args": [
"@martintoz/placepack-mcp"
]
}
}
}可執行的套件
npm@martintoz/placepack-mcp
0.1.2stdio遠端端點
https://placepack.top/mcpstreamable-http它能做什麼
工具清單
工具(3)
🟢 唯讀🟡 寫入🔴 刪除⚪ 未知
🟢placepack_list_presets
Return named PlacePack size presets with labels, specs, and default formats.
輸入結構描述
{
"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.
輸入結構描述
{
"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.
輸入結構描述
{
"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#"
}建議的提示詞
list_items
List all [items] available in PlacePack
預期的工具:
placepack_list_presetsbrowse_collection
Show me the [collection] from PlacePack
預期的工具:
placepack_list_presets社群
證據
近期觀測
已驗證未記錄版本3 個工具
已驗證未記錄版本3 個工具