@bicharts/chart-mcp 0.6.46 → 0.6.48
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 +16 -39
- package/dist/index.mjs +47 -47
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -1,7 +1,20 @@
|
|
|
1
|
-
# @bicharts/chart-mcp
|
|
1
|
+
# @bicharts/chart-mcp
|
|
2
2
|
|
|
3
3
|
> **Make Generative AI for Charts *Better*.**
|
|
4
4
|
|
|
5
|
+
**Docs and examples:** [RegiaBI for developers](https://bizintelligencechampions.com/regiabi/developers?loc=npmmcp)
|
|
6
|
+
· live demos in [React](https://codexguy.github.io/bicharts-react-demo/) and
|
|
7
|
+
[Blazor](https://codexguy.github.io/bicharts-blazor-demo/) · the
|
|
8
|
+
[React walkthrough](https://github.com/codexguy/bicharts-react-demo/blob/master/docs/WALKTHROUGH.md) · the
|
|
9
|
+
[Blazor recipe](https://github.com/codexguy/bicharts/tree/main/examples/blazor) ·
|
|
10
|
+
[how a fresh agent built a Blazor app through this server](https://bizintelligencechampions.com/articles/apps-ontologies-regiabi-sep2026)
|
|
11
|
+
· [all articles](https://bizintelligencechampions.com/articles) ·
|
|
12
|
+
[terms](https://bizintelligencechampions.com/terms-regiabi)
|
|
13
|
+
|
|
14
|
+
Listed in the official [MCP Registry](https://registry.modelcontextprotocol.io/v0/servers/com.regiabi%2Fchart-mcp/versions/latest)
|
|
15
|
+
as `com.regiabi/chart-mcp`, so any MCP host that reads the registry can find it; or run it with
|
|
16
|
+
`npx -y @bicharts/chart-mcp` (setup below).
|
|
17
|
+
|
|
5
18
|
An MCP (Model Context Protocol) stdio server that puts **RegiaBI** behind any
|
|
6
19
|
MCP-capable AI client (Claude Code, Claude Desktop, Copilot Studio, Cursor, …).
|
|
7
20
|
|
|
@@ -103,14 +116,6 @@ Example (a semantic-model query result):
|
|
|
103
116
|
}
|
|
104
117
|
```
|
|
105
118
|
|
|
106
|
-
## Build
|
|
107
|
-
|
|
108
|
-
```powershell
|
|
109
|
-
cd mcp
|
|
110
|
-
npm install
|
|
111
|
-
npm run build # bundles to dist/index.mjs (single file)
|
|
112
|
-
```
|
|
113
|
-
|
|
114
119
|
## Credentials (`generate_chart` and `list_eligible_charts`)
|
|
115
120
|
|
|
116
121
|
**A trial or paid BIC account is required — no freemium.** Use the same
|
|
@@ -278,33 +283,5 @@ or in a project `.mcp.json`:
|
|
|
278
283
|
Claude Desktop uses the same `command`/`args`/`env` block in
|
|
279
284
|
`claude_desktop_config.json` under `mcpServers`.
|
|
280
285
|
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
```powershell
|
|
285
|
-
claude mcp add --scope user bic-chart-dev -- node c:/Source/PowerBI_Controls/llmchart/mcp/dist/index.mjs
|
|
286
|
-
```
|
|
287
|
-
|
|
288
|
-
The ready banner prints the build stamp, which is how you tell the two apart.
|
|
289
|
-
|
|
290
|
-
Try: *"Assess the shape of testharness/datasets/divisional_revenue_by_year.csv,
|
|
291
|
-
then generate a chart for it and write the preview to ./out."*
|
|
292
|
-
|
|
293
|
-
## Wire notes
|
|
294
|
-
|
|
295
|
-
Wire-compatible with the visual/harness envelope (see
|
|
296
|
-
`testharness/harness/client.py`, the reference implementation): gzip→base64→`.`
|
|
297
|
-
body, FNV X-Signature, `clientVersion >= 2.0.0.0`, plus `host: "SDK"` so prompts
|
|
298
|
-
resolve to the generic host profile once server rev 144 + tokenized config are
|
|
299
|
-
live (older servers ignore the field — deployment-order safe).
|
|
300
|
-
|
|
301
|
-
## Publishing (when the experiment proves out — NOT yet)
|
|
302
|
-
|
|
303
|
-
1. Keep `"private": true` until the conscious decision to release.
|
|
304
|
-
2. Publish **built artifacts only** (`files: ["dist"]` already enforces this —
|
|
305
|
-
the tarball carries the bundled `dist/index.mjs`, no source, no history).
|
|
306
|
-
3. `npm publish --access public` under the org scope; users then configure
|
|
307
|
-
`"command": "npx", "args": ["-y", "@bicharts/chart-mcp"]` — zero-install.
|
|
308
|
-
4. List in MCP registries/directories for discoverability.
|
|
309
|
-
5. shape-core rides inside the bundle minified (shared, not shown); the
|
|
310
|
-
open-source decision for readable source is separate and deferred.
|
|
286
|
+
Try: *"Assess the shape of ./sales.csv, then generate a chart for it and write the
|
|
287
|
+
preview to ./out."*
|