From 7fa50c8f52df21bd4362798dc7e06d959b2add7a Mon Sep 17 00:00:00 2001 From: Morten Bruun Date: Sat, 14 Mar 2026 08:53:46 -0400 Subject: [PATCH] feat: add Charta chart generator plugin MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Charta generates presentation-ready charts (waterfall, Mekko, bar, scatter, 12 types total) as SVG/PNG via MCP. Zero setup — runs via npx @charta/mcp. - npm: @charta/mcp@1.0.2 - Docs: getcharta.ai/developers - Registry: registry.modelcontextprotocol.io (io.github.mortenator/charta) --- .cursor-plugin/marketplace.json | 5 ++++ charta/.cursor-plugin/plugin.json | 31 ++++++++++++++++++++++ charta/README.md | 43 +++++++++++++++++++++++++++++++ charta/assets/avatar.svg | 25 ++++++++++++++++++ charta/mcp.json | 8 ++++++ 5 files changed, 112 insertions(+) create mode 100644 charta/.cursor-plugin/plugin.json create mode 100644 charta/README.md create mode 100644 charta/assets/avatar.svg create mode 100644 charta/mcp.json diff --git a/.cursor-plugin/marketplace.json b/.cursor-plugin/marketplace.json index 918bb39..ee029c8 100644 --- a/.cursor-plugin/marketplace.json +++ b/.cursor-plugin/marketplace.json @@ -32,6 +32,11 @@ "name": "ralph-loop", "source": "ralph-loop", "description": "Iterative self-referential AI loops using the Ralph Wiggum technique." + }, + { + "name": "charta", + "source": "charta", + "description": "Generate presentation-ready charts (waterfall, Mekko, bar, scatter, and 12 more) as SVG or PNG with one tool call." } ] } diff --git a/charta/.cursor-plugin/plugin.json b/charta/.cursor-plugin/plugin.json new file mode 100644 index 0000000..18578fe --- /dev/null +++ b/charta/.cursor-plugin/plugin.json @@ -0,0 +1,31 @@ +{ + "name": "charta", + "displayName": "Charta — Chart Generator", + "version": "1.0.0", + "description": "Generate presentation-ready charts (waterfall, Mekko, bar, scatter, and 12 more types) as SVG or PNG directly from Cursor. One tool call — no setup, no libraries.", + "author": { + "name": "Charta", + "email": "hello@getcharta.ai" + }, + "homepage": "https://getcharta.ai/developers", + "repository": "https://github.com/mortenator/charta-mcp", + "license": "MIT", + "logo": "assets/avatar.svg", + "keywords": [ + "charts", + "visualization", + "waterfall", + "mekko", + "svg", + "presentation", + "google-slides" + ], + "category": "developer-tools", + "tags": [ + "charts", + "data-visualization", + "svg", + "mcp" + ], + "mcp": "./mcp.json" +} diff --git a/charta/README.md b/charta/README.md new file mode 100644 index 0000000..8caffbc --- /dev/null +++ b/charta/README.md @@ -0,0 +1,43 @@ +# Charta — Chart Generator + +Generate presentation-ready charts directly from Cursor. Waterfall, Mekko/Marimekko, bridge, bar, grouped bar, stacked bar, scatter, line, area, combo, funnel, gantt, heatmap, and bubble charts — all as SVG or PNG. + +## What it does + +The Charta MCP server exposes two tools: + +- **`generate_chart`** — Generate a chart from your data. Returns SVG (or PNG if you ask). No setup, no libraries — just describe the chart and pass the data. +- **`save_chart`** — Save a previously generated chart to disk. + +## Example + +``` +Generate a waterfall chart showing Q1 revenue bridge: +Starting: 100, New Business: +45, Churn: -12, Expansion: +23, Ending: 156 +``` + +Cursor calls `generate_chart` and returns a publication-quality SVG you can drop straight into a slide deck or doc. + +## Install + +This plugin auto-configures the MCP server. No additional steps required. + +Manual config (if needed): + +```json +{ + "mcpServers": { + "charta": { + "command": "npx", + "args": ["-y", "@charta/mcp"] + } + } +} +``` + +## Links + +- Website: [getcharta.ai](https://getcharta.ai) +- Docs: [getcharta.ai/developers](https://getcharta.ai/developers) +- npm: [@charta/mcp](https://www.npmjs.com/package/@charta/mcp) +- GitHub: [mortenator/charta-mcp](https://github.com/mortenator/charta-mcp) diff --git a/charta/assets/avatar.svg b/charta/assets/avatar.svg new file mode 100644 index 0000000..26fdba2 --- /dev/null +++ b/charta/assets/avatar.svg @@ -0,0 +1,25 @@ + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/charta/mcp.json b/charta/mcp.json new file mode 100644 index 0000000..ddb53e3 --- /dev/null +++ b/charta/mcp.json @@ -0,0 +1,8 @@ +{ + "mcpServers": { + "charta": { + "command": "npx", + "args": ["-y", "@charta/mcp"] + } + } +}