netcafe-images
Diagrams, badges, charts and QR codes as plain image URLs you can paste into Markdown.
我该使用它吗
质量与安全性
发现(7)
- HIGH
- MEDIUM在 make_qr 中
- MEDIUM在 make_badge 中
- MEDIUM在 make_chart 中
- MEDIUM在 render_diagram 中
- MEDIUM在 check_job 中
- LOW在 make_chart 中
基于对工具定义和协议合规性的自动分析。
上下文开销
这是每次将服务器的工具加载到模型上下文窗口时所消耗的大致 token 数。数值越高,可用于其他任务的注意力就越少。
安装
一键安装
将以下内容添加到你的 `claude_desktop_config.json` 文件中:
{
"mcpServers": {
"netcafe-images": {
"url": "https://ainetcafe.com/mcp/img?s=registry"
}
}
}远程端点
https://ainetcafe.com/mcp/img?s=registrystreamable-http它能做什么
工具清单
工具(8)
🟢what_can_you_do(task)
Describe a task in plain language (any language) and get back exactly which tools on this server do it, with ready-to-run example calls — instead of reading the whole catalogue and guessing. Also returns multi-step recipes when a task needs several tools chained (invoices to a ledger, a bank statement reconciled, a messy CSV turned into a deliverable). Deterministic and free: it calls no model, costs nothing, and never runs out of quota. Call this FIRST when you are not sure what this server offers.
输入模式
{
"type": "object",
"properties": {
"task": {
"type": "string",
"description": "What you are trying to do, e.g. \"reconcile a bank statement against my books\" or \"把一堆发票整理成能入账的表格\""
}
},
"required": [
"task"
]
}输出模式
{
"type": "object",
"additionalProperties": true
}🟢split_spritesheet(url, rows, cols, margin)
Cut a packed sprite sheet / texture atlas into separate transparent PNGs, returned as a zip. Give rows and cols for a uniform grid, or omit them to auto-detect sprites by transparent gaps.
输入模式
{
"type": "object",
"properties": {
"url": {
"type": "string",
"description": "Public URL of the sprite sheet image."
},
"rows": {
"type": "integer",
"description": "Grid rows. Omit together with cols to auto-detect."
},
"cols": {
"type": "integer",
"description": "Grid columns."
},
"margin": {
"type": "integer",
"description": "Pixels to trim inside each grid cell (for sheets with padding)."
}
},
"required": [
"url"
]
}输出模式
{
"type": "object",
"additionalProperties": true
}🟢make_qr(text)
Any text or URL → a QR code PNG you can embed or download. Stateless URL form: https://ainetcafe.com/i/qr/<text>
输入模式
{
"type": "object",
"properties": {
"text": {
"type": "string",
"description": "The text or URL to encode."
}
},
"required": [
"text"
]
}输出模式
{
"type": "object",
"additionalProperties": true
}🟢text_to_image(prompt, aspect)
Text prompt → a generated image, returned as a hosted URL you can embed straight into Markdown, HTML or a chat reply. Use it for illustrations, covers, concept art, social cards and mockups. Returns a job_id; poll check_job for the image url (about 1 minute). The beta platform covers the user charge ($0.00); capacity is rate-limited.
输入模式
{
"type": "object",
"properties": {
"prompt": {
"type": "string",
"description": "What to draw. Be specific about subject, style and composition."
},
"aspect": {
"type": "string",
"description": "Aspect ratio: \"1:1\" (default), \"16:9\", \"9:16\", \"4:3\", \"3:4\"."
}
},
"required": [
"prompt"
]
}输出模式
{
"type": "object",
"additionalProperties": true
}🟢make_badge(label, message, color)
Label + message + colour → a shields.io-style badge SVG, plus a ready-to-paste Markdown embed line. Stateless URL form: https://ainetcafe.com/i/badge/<label>-<message>-<color> — embed it and it renders forever.
输入模式
{
"type": "object",
"properties": {
"label": {
"type": "string",
"description": "Left side text, e.g. \"build\"."
},
"message": {
"type": "string",
"description": "Right side text, e.g. \"passing\"."
},
"color": {
"type": "string",
"description": "brightgreen | green | blue | red | orange | yellow | grey | purple, or a hex like \"007ec6\"."
}
},
"required": [
"label",
"message"
]
}输出模式
{
"type": "object",
"additionalProperties": true
}🟢make_chart(labels, values, type, config)
Labels + values (or a full Chart.js config) → a chart PNG URL. Bar, line, pie, radar, scatter. Stateless URL form for embedding: https://ainetcafe.com/i/chart/<labels>|<values>
输入模式
{
"type": "object",
"properties": {
"labels": {
"type": "string",
"description": "Comma-separated labels, e.g. \"Mon,Tue,Wed\"."
},
"values": {
"type": "string",
"description": "Comma-separated numbers, e.g. \"3,7,5\"."
},
"type": {
"type": "string",
"description": "bar (default) | line | pie | doughnut | radar | scatter."
},
"config": {
"type": "string",
"description": "Optional full Chart.js JSON config; overrides labels/values."
}
},
"required": []
}输出模式
{
"type": "object",
"additionalProperties": true
}🟢render_diagram(source, type, format)
Turn diagram-as-code into an image: Mermaid, PlantUML, Graphviz/DOT, C4, Excalidraw and 20+ more (self-hosted Kroki). Returns a hosted SVG/PNG URL you can embed directly in Markdown or HTML. Example — GET "https://ainetcafe.com/t/render_diagram?source=graph TD;A--%3EB&format=png"
输入模式
{
"type": "object",
"properties": {
"source": {
"type": "string",
"description": "The diagram source code (e.g. a Mermaid flowchart)."
},
"type": {
"type": "string",
"description": "Diagram language: mermaid (default), plantuml, graphviz, c4plantuml, excalidraw, blockdiag, erd…"
},
"format": {
"type": "string",
"description": "\"svg\" (default) or \"png\"."
}
},
"required": [
"source"
]
}输出模式
{
"type": "object",
"additionalProperties": true
}🟢check_job(job_id)
Get the status or result of a job started by deep_research, translate_pdf, or make_slides. Poll every 15-30 seconds until status is "done" or "error". While work is pending, follow retry_after_seconds and next_action; when complete, prefer structured_result when present. Example — GET https://ainetcafe.com/t/check_job?job_id=<id-from-a-job-tool>
输入模式
{
"type": "object",
"properties": {
"job_id": {
"type": "string",
"description": "The job_id returned when the task was started."
}
},
"required": [
"job_id"
]
}输出模式
{
"type": "object",
"properties": {
"job_id": {
"type": "string"
},
"kind": {
"type": "string"
},
"status": {
"type": "string"
},
"is_terminal": {
"type": "boolean"
},
"retry_after_seconds": {
"type": "integer"
},
"next_action": {
"type": [
"object",
"null"
]
},
"result": {},
"structured_result": {},
"error": {
"type": "string"
}
},
"required": [
"job_id",
"status"
]
}社区
证据