@bicharts/chart-mcp 0.6.55 → 0.6.56
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 +13 -1
- package/dist/check-chart.mjs +82 -82
- package/dist/index.mjs +54 -54
- package/package.json +4 -4
- package/skills/bic-charts/SKILL.md +5 -1
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bicharts/chart-mcp",
|
|
3
|
-
"version": "0.6.
|
|
4
|
-
"description": "MCP (Model Context Protocol) stdio server for BIC AI charts: profile a dataset locally, then generate chart code that has passed the BIC backend's render gates. Works with any MCP-capable client (Claude Code, Claude Desktop, Cursor, Copilot Studio).
|
|
3
|
+
"version": "0.6.56",
|
|
4
|
+
"description": "MCP (Model Context Protocol) stdio server for BIC AI charts: profile a dataset locally, then generate chart code that has passed the BIC backend's render gates. Works with any MCP-capable client (Claude Code, Claude Desktop, Cursor, Copilot Studio). An account pays to author charts; the code it writes is yours and runs with no licence.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"mcp",
|
|
7
7
|
"modelcontextprotocol",
|
|
@@ -43,8 +43,8 @@
|
|
|
43
43
|
},
|
|
44
44
|
"// dependencies": "NONE, deliberately. dist/ bundles every module the server uses, so a runtime dependency installs nothing it needs - it only makes npx fetch that package (and its tree) before the first start. Everything the bundle carries is a devDependency; scripts/verify-package.mjs fails the release if a dependency appears or a shipped file imports anything but Node's built-ins.",
|
|
45
45
|
"devDependencies": {
|
|
46
|
-
"@bicharts/chart-host": "^0.6.
|
|
47
|
-
"@bicharts/shape-core": "^0.6.
|
|
46
|
+
"@bicharts/chart-host": "^0.6.56",
|
|
47
|
+
"@bicharts/shape-core": "^0.6.56",
|
|
48
48
|
"@modelcontextprotocol/sdk": "^1.0.0",
|
|
49
49
|
"@types/node": "^20.0.0",
|
|
50
50
|
"@types/papaparse": "^5.3.14",
|
|
@@ -769,7 +769,9 @@ render inside them.
|
|
|
769
769
|
**9. Check every chart, then deploy.** Check every chart locally with this server's `check_chart` tool,
|
|
770
770
|
at the size the panel will give it - by default it reads the chart's `minChartWidth` and `minChartHeight`
|
|
771
771
|
off its `BicChartPanel`, so pass no size unless you mean another one. A `WARNING` line in its reply is a
|
|
772
|
-
label
|
|
772
|
+
label cut off at that size: deal with it before you call the chart done. The reply says whether more room fixes it.
|
|
773
|
+
Never edit the generated chart code by hand: if something's wrong with a generated chart, regenerate it
|
|
774
|
+
(`generate_chart` with a prompt describing the fix) or report it.
|
|
773
775
|
You don't need to deploy to check a chart. Then `npx tsc -b` and the tests. Deploying (`npx rayfin up`), on Rayfin 1.36.1:
|
|
774
776
|
- Signed in? `npx rayfin login status` (a subcommand, not a `--status` flag); `npx rayfin login` if not.
|
|
775
777
|
- Name the workspace: `npx rayfin up -w "<workspace>"`. Left out, it deploys to My Workspace.
|
|
@@ -779,6 +781,8 @@ You don't need to deploy to check a chart. Then `npx tsc -b` and the tests. Depl
|
|
|
779
781
|
- Deleted the app outside Rayfin? `rayfin/.deployments.json` still names the deleted item, so the next
|
|
780
782
|
`rayfin up` fails with 404 Not Found. Move that file aside and deploy again.
|
|
781
783
|
|
|
784
|
+
What it costs: only the calls that author a chart (generate_chart, and the eligibility lists beyond a free hourly allowance) draw on the account. The chart code they write is the user's to keep and ship: it needs no licence, account, credits or connection to us to run, view or deploy, for any number of viewers.
|
|
785
|
+
|
|
782
786
|
## 4. Things that will otherwise cost you time
|
|
783
787
|
|
|
784
788
|
- **Place names, not coordinates.** If your data has city/state/ZIP but no lat/lon, pass a
|