KosmoKrator

rendering

Vega-Lite MCP, CLI, and Lua Integration for AI Agents

Vega-Lite integration docs for AI agents: MCP gateway setup, Vega-Lite CLI commands, Lua API reference, credentials, and function schemas.

1 functions 0 read 1 write No credentials auth

Vega-Lite for agents

No credentials required; available in web and CLI hosts when runtime dependencies are installed.

Use this integration from Lua code mode, the headless integrations CLI, or the KosmoKrator MCP gateway. The same package metadata powers all three surfaces.

Machine-Readable Metadata
integration_slug
vegalite
route_slug
vegalite
package
vegalite
auth_strategy
none No credentials
cli_setup_supported
true
cli_runtime_supported
true
mcp_gateway_supported
true
lua_supported
true
supports_multi_account
false

Quick Links

Vega-Lite MCP Client Matrix

Use these pages when a specific agent client or framework needs copy-pasteable MCP setup for Vega-Lite.

Vega-Lite CLI Matrix

Use these pages for direct Vega-Lite CLI workflows in scripts, CI, cron, and agent wrappers.

Runtime Requirements

NameTypeDescription
node binary Node.js is required to render Vega-Lite charts.

Function Catalog

FunctionTypeParametersDescription
vegalite.render_vegalite Write write 3 Render a Vega-Lite visualization to a PNG image. Pass a complete Vega-Lite JSON specification and get back a markdown image embed. IMPORTANT: Always use inline data with "data": {"values": [...]}. Never use "data": {"url": "..."}. Example spec: { "$schema": "https://vega.github.io/schema/vega-lite/v5.json", "data": {"values": [ {"category": "A", "value": 28}, {"category": "B", "value": 55}, {"category": "C", "value": 43} ]}, "mark": "bar", "encoding": { "x": {"field": "category", "type": "nominal"}, "y": {"field": "value", "type": "quantitative"} } } Supported mark types: bar, line, point, area, rect, circle, square, arc, text, tick, rule, trail, boxplot. Always include "type" in encoding channels: "quantitative", "nominal", "ordinal", or "temporal".