MCP 服务器

GraphMake

com.graphmake/graphmake
设计与创意 媒体与内容 公开且可连接 MCP 2026-07-28

此 MCP 可以做什么

Generates PNG and SVG infographics from templates or scripts, including charts, KPI cards, timelines, and maps.

get_template
Get template fields
Read one template: its size, description and every editable text and number, as field keys with their current values (e.g. "w0.text": "Annual Report 2026", "w5.datasets.0.values": [820, 1050]). The same keys change the template when it is rendered. With preview set to true, the template's preview image is included.
只读 幂等
输入模式
{'type': 'object', 'required': ['id'], 'properties': {'id': {'type': 'string', 'description': 'Template id, e.g. "business-stats".'}, 'preview': {'type': 'boolean', 'description': 'Also return the template preview image (default false).'}}}
输出模式
{'type': 'object', 'required': ['id', 'name', 'category', 'width', 'height', 'description', 'previewUrl', 'fields'], 'properties': {'id': {'type': 'string'}, 'name': {'type': 'string'}, 'width': {'type': 'integer', 'description': 'Canvas width in px.'}, 'fields': {'type': 'array', 'items': {'type': 'object', 'required': ['key', 'widget', 'value'], 'properties': {'key': {'type': 'string', 'description': 'Field key, e.g. "w0.text" or "w5.datasets.0.values".'}, 'value': {'description': 'Current value: text, a number, or a list.'}, 'widget': {'type': 'string', 'description': 'The widget type the field belongs to.'}}}, 'description': 'Every editable text and number, with the key that changes it.'}, 'height': {'type': 'integer', 'description': 'Canvas height in px.'}, 'category': {'enum': ['business', 'education', 'marketing', 'health', 'technology', 'general'], 'type': 'string'}, 'previewUrl': {'type': 'string', 'description': 'The template preview image.'}, 'description': {'type': 'string'}}}
graphmake_script_reference
GraphMake Script reference
The full GraphMake Script language reference: every widget, chart, theme, style, size and syntax rule, with examples.
只读 幂等
输入模式
{'type': 'object', 'properties': {}}
输出模式
{'type': 'object', 'required': ['reference'], 'properties': {'reference': {'type': 'string', 'description': 'The language reference as Markdown.'}}}
list_templates
List templates
List GraphMake's designed infographic templates: id, name, category, size and what each is for. An optional query such as "sales report", "timeline", "resume" or "comparison" ranks the best matches first; an optional category filters the list.
只读 幂等
输入模式
{'type': 'object', 'properties': {'query': {'type': 'string', 'description': 'Optional words describing the infographic, e.g. "sales report".'}, 'category': {'enum': ['business', 'education', 'marketing', 'health', 'technology', 'general'], 'type': 'string', 'description': 'Optional category filter.'}}}
输出模式
{'type': 'object', 'required': ['count', 'templates'], 'properties': {'count': {'type': 'integer'}, 'templates': {'type': 'array', 'items': {'type': 'object', 'required': ['id', 'name', 'category', 'width', 'height', 'description'], 'properties': {'id': {'type': 'string'}, 'name': {'type': 'string'}, 'width': {'type': 'integer', 'description': 'Canvas width in px.'}, 'height': {'type': 'integer', 'description': 'Canvas height in px.'}, 'category': {'enum': ['business', 'education', 'marketing', 'health', 'technology', 'general'], 'type': 'string'}, 'description': {'type': 'string'}}}, 'description': 'Best match first when a query was given.'}}}
open_in_editor
Open in GraphMake editor
Build a GraphMake editor URL that opens with the script already rendered on an editable canvas, where the infographic can be restyled by hand and exported as PNG, SVG or PDF.
只读 幂等
输入模式
{'type': 'object', 'required': ['script'], 'properties': {'script': {'type': 'string', 'description': 'The GraphMake Script to load.'}}}
输出模式
{'type': 'object', 'required': ['editorUrl'], 'properties': {'editorUrl': {'type': 'string', 'description': 'Opens the result in the free GraphMake editor, where it can be restyled and exported as PNG, SVG or PDF.'}}}
render_infographic
Render infographic
Render GraphMake Script into an infographic image (PNG or SVG). GraphMake Script is a short line-based format, e.g. `title "..."`, `kpi "Label" "Value" icon=users`, `bar_chart "T" { Jan: 42\n Feb: 68 }`, `timeline { 2024: "Event" "detail" }`, `style bold` and `row { ... }` for side-by-side blocks; the full syntax is in the GraphMake Script reference. Returns the image and a link that opens it in the GraphMake editor for hand-editing and export. Script errors come back with the line number.
只读 幂等
输入模式
{'type': 'object', 'required': ['script'], 'properties': {'width': {'type': 'number', 'description': 'Optional canvas width in px (max 4000).'}, 'format': {'enum': ['png', 'svg'], 'type': 'string', 'description': 'png (default) returns an image; svg returns the SVG markup as text, ready to save to a file.'}, 'height': {'type': 'number', 'description': 'Optional canvas height in px (max 8000).'}, 'script': {'type': 'string', 'description': 'The GraphMake Script to render.'}}}
输出模式
{'type': 'object', 'required': ['format', 'bytes', 'editorUrl'], 'properties': {'bytes': {'type': 'integer', 'description': 'Size of the PNG or SVG in bytes. The image itself is in the content.'}, 'format': {'enum': ['png', 'svg'], 'type': 'string'}, 'editorUrl': {'type': 'string', 'description': 'Opens the result in the free GraphMake editor, where it can be restyled and exported as PNG, SVG or PDF.'}}}
render_template
Render template
Render a template filled with new content. "changes" maps the template's field keys to new values, e.g. {"w0.text": "Q3 Sales Review", "w5.labels": ["Jul","Aug","Sep"], "w5.datasets.0.values": [42, 51, 63]}. Fields not included keep the template's sample content. Replacing a whole list (e.g. "w7.values": [{"label": "A", "value": 40}, ...]) changes how many items it has; each item keeps the colours of the item it replaces. Returns the image and a link that opens the filled template in the GraphMake editor.
只读 幂等
输入模式
{'type': 'object', 'required': ['id'], 'properties': {'id': {'type': 'string', 'description': 'Template id, e.g. "business-stats".'}, 'format': {'enum': ['png', 'svg'], 'type': 'string', 'description': 'png (default) returns an image; svg returns the SVG markup as text.'}, 'changes': {'type': 'object', 'description': 'Field key -> new value, e.g. {"w0.text": "Q3 Sales Review"}.'}}}
输出模式
{'type': 'object', 'required': ['id', 'name', 'format', 'bytes', 'width', 'editorUrl'], 'properties': {'id': {'type': 'string'}, 'name': {'type': 'string'}, 'bytes': {'type': 'integer', 'description': 'Size of the PNG or SVG in bytes. The image itself is in the content.'}, 'width': {'type': 'integer', 'description': 'Width of the returned image in px (tall templates come back narrower).'}, 'format': {'enum': ['png', 'svg'], 'type': 'string'}, 'editorUrl': {'type': 'string', 'description': 'Opens the result in the free GraphMake editor, where it can be restyled and exported as PNG, SVG or PDF.'}}}
已更改
open_in_editor
2026年10月5日 02:40
已更改
render_template
2026年10月5日 02:40
已更改
get_template
2026年10月5日 02:40
已更改
list_templates
2026年10月5日 02:40
已更改
graphmake_script_reference
2026年10月5日 02:40
已更改
render_infographic
2026年10月5日 02:40
已添加
open_in_editor
2026年10月3日 02:40
已添加
render_template
2026年10月3日 02:40
已添加
get_template
2026年10月3日 02:40
已添加
list_templates
2026年10月3日 02:40
已添加
graphmake_script_reference
2026年10月3日 02:40
已添加
render_infographic
2026年10月3日 02:40