@amcharts/amcharts5-mcp 1.7.0 → 1.7.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +14 -2
- package/content/SKILL.md +1 -1
- package/package.json +8 -4
package/README.md
CHANGED
|
@@ -212,8 +212,9 @@ npm start
|
|
|
212
212
|
| `get_doc` | Get a full documentation page (e.g. "charts/xy-chart/axes", "concepts/events") |
|
|
213
213
|
| `get_section` | Get a specific section from a reference file by heading |
|
|
214
214
|
| `get_quick_start` | Get a minimal working template for any chart type |
|
|
215
|
-
| `list_examples` | Browse all
|
|
215
|
+
| `list_examples` | Browse all 290+ examples, optionally filtered by category |
|
|
216
216
|
| `get_example` | Get the full code for a specific example |
|
|
217
|
+
| `get_api_reference` | Get the API reference for a class, interface or function — settings with their defaults, events, inheritance and the import line |
|
|
217
218
|
|
|
218
219
|
## Example Usage
|
|
219
220
|
|
|
@@ -228,13 +229,24 @@ Once connected, your AI assistant can:
|
|
|
228
229
|
|
|
229
230
|
## Content
|
|
230
231
|
|
|
231
|
-
The server includes **1,
|
|
232
|
+
The server includes **1,800+ documents**:
|
|
232
233
|
|
|
233
234
|
- **160+ documentation pages** — getting started, chart guides, concepts (themes, events, adapters, data binding, animations, accessibility, etc.), and framework integration guides (React, Angular, Vue, Next.js, Svelte, and more)
|
|
234
235
|
- **290+ code examples** — working demos across 16 categories including column/bar, line/area, pie/donut, maps, hierarchy, flow, radar/polar, stock, gauges, Gantt, timeline, and more
|
|
235
236
|
- **1,300+ API reference pages** — every class, interface and function in the amCharts 5 library, generated from the release's typings: settings with their real defaults (theme rules included), events, properties, data item fields, the inheritance chain and the import line
|
|
236
237
|
- **Curated skill reference** — quick-start templates and chart-specific guides from the [amCharts 5 AI Skill](https://github.com/amcharts/amcharts5-skill)
|
|
237
238
|
|
|
239
|
+
## Security
|
|
240
|
+
|
|
241
|
+
- **Read-only tools.** Every tool reads the bundled amCharts documentation and returns text. No tool writes files, runs commands or fetches URLs.
|
|
242
|
+
- **The hosted endpoint has no authentication, by design.** `https://mcp.amcharts.com/mcp` serves the same public documentation as amcharts.com. There are no accounts, API keys, user data or write operations behind it.
|
|
243
|
+
- It runs on Cloudflare Workers.
|
|
244
|
+
- MCP session state is kept in a Durable Object, as the MCP agents framework requires.
|
|
245
|
+
- Cloudflare's standard request logs are enabled. The server itself does not log tool arguments.
|
|
246
|
+
- **Local install.** The npm package runs over stdio on your machine and reads only the content bundled in it; it makes no network requests. Its only runtime dependencies are `@modelcontextprotocol/sdk` and `zod`.
|
|
247
|
+
- **Maintainer scripts.** The scripts in `scripts/` (the demo and docs scrapers, the API reference generator) are not part of the npm package and never run in the server.
|
|
248
|
+
- **Reporting a vulnerability:** https://www.amcharts.com/report-vulnerability/
|
|
249
|
+
|
|
238
250
|
## License
|
|
239
251
|
|
|
240
252
|
MIT
|
package/content/SKILL.md
CHANGED
|
@@ -961,7 +961,7 @@ am5hierarchy.VoronoiTreemap.new(root, { shapeType: "rectangle" }); // was: type
|
|
|
961
961
|
- `Gantt`: the category axis' `colorField` and `nameField` are honored (bar colors were always read from `color`).
|
|
962
962
|
- `Sunburst` ignores `singleBranchOnly` (always `true`). `StockToolbar` `focusable` now defaults to `true`.
|
|
963
963
|
- Responsive theme: minor axis labels are hidden only on charts 600 px or smaller (was 1000 px), so turned-on minor labels show on mid-size charts.
|
|
964
|
-
- `PatternSet` starts over from its first pattern past the end of its list (
|
|
964
|
+
- `PatternSet` starts over from its first pattern past the end of its list (elements after the 17th got no pattern).
|
|
965
965
|
- `DurationFormatter`: codes `H`, `D`, `Y`, `K`, `k`, `n` work (as `h`, `d`, `y`, `h`, `h`, `S` — e.g. `"HH:mm:ss"` gave `NaN`); durations between a month and a year use the month formats again (`1m 15d 00:00:00`, not `45d 00:00:00`), which `DurationAxis` labels show.
|
|
966
966
|
- `am5.CSVParser` honors `skipEmpty: false` (empty lines were always skipped). `series.updateData([])` removes every data item (it kept the first).
|
|
967
967
|
- A `fontSize` given as a number in a string (`"8"`) counts as pixels (was ignored). Filters (`brightness`, `saturate`, `blur`, …) combine instead of replacing each other, and one set back to neutral turns off.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@amcharts/amcharts5-mcp",
|
|
3
|
-
"version": "1.7.
|
|
3
|
+
"version": "1.7.1",
|
|
4
4
|
"mcpName": "io.github.amcharts/amcharts5",
|
|
5
5
|
"description": "On-demand access to amCharts 5 docs, code examples, and API reference",
|
|
6
6
|
"type": "module",
|
|
@@ -54,14 +54,18 @@
|
|
|
54
54
|
"author": "amCharts",
|
|
55
55
|
"license": "MIT",
|
|
56
56
|
"dependencies": {
|
|
57
|
-
"@modelcontextprotocol/sdk": "^1.
|
|
58
|
-
"
|
|
59
|
-
"turndown": "^7.2.2"
|
|
57
|
+
"@modelcontextprotocol/sdk": "^1.32.1",
|
|
58
|
+
"zod": "^3.25 || ^4.0"
|
|
60
59
|
},
|
|
61
60
|
"devDependencies": {
|
|
62
61
|
"@amcharts/amcharts5": "5.21.0",
|
|
63
62
|
"agents": "^0.16.2",
|
|
63
|
+
"jsdom": "^29.0.0",
|
|
64
|
+
"turndown": "^7.2.2",
|
|
64
65
|
"typescript": "5.9.3",
|
|
65
66
|
"wrangler": "^4.102.0"
|
|
67
|
+
},
|
|
68
|
+
"overrides": {
|
|
69
|
+
"@modelcontextprotocol/sdk": "$@modelcontextprotocol/sdk"
|
|
66
70
|
}
|
|
67
71
|
}
|