@celeon/insight-board-mcp 0.0.0-stage → 1.0.2
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/LICENSE +11 -0
- package/README.md +99 -2
- package/cli.mjs +1304 -0
- package/package.json +35 -4
- package/preview/3rdpartylicenses.txt +563 -0
- package/preview/browser/index.html +1 -0
- package/preview/browser/main-CU7XHWUF.js +21 -0
- package/preview/browser/styles-RLQJVG2B.css +1 -0
- package/preview/prerendered-routes.json +3 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
Insight Board MCP
|
|
2
|
+
Copyright CELEON. All rights reserved.
|
|
3
|
+
|
|
4
|
+
This package is a proprietary integration component for Insight Board.
|
|
5
|
+
Use with your authorized Insight Board SaaS subscription or self-hosted licence
|
|
6
|
+
is included without an additional MCP licence fee. Access remains subject to
|
|
7
|
+
your application's licence, capacity limits and API-key permissions.
|
|
8
|
+
|
|
9
|
+
No open-source licence, redistribution right or right to the private Insight
|
|
10
|
+
Board application source is granted by distribution of this package.
|
|
11
|
+
Third-party dependencies retain their respective licences.
|
package/README.md
CHANGED
|
@@ -1,3 +1,100 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Insight Board MCP
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Local stdio tools for Insight Board SaaS and self-hosted workspaces. Your MCP client starts and stops the process; you do not run a separate background service.
|
|
4
|
+
|
|
5
|
+
Requires Node.js **22.23.4+**, an existing Insight Board installation with the MCP automation API, and a workspace API key from **Settings → Workspace API keys**.
|
|
6
|
+
|
|
7
|
+
## Connect your client
|
|
8
|
+
|
|
9
|
+
Register the server with a command and two environment values. For clients using JSON:
|
|
10
|
+
|
|
11
|
+
```json
|
|
12
|
+
{
|
|
13
|
+
"mcpServers": {
|
|
14
|
+
"insight-board": {
|
|
15
|
+
"command": "npx",
|
|
16
|
+
"args": ["-y", "@celeon/insight-board-mcp@latest"],
|
|
17
|
+
"env": {
|
|
18
|
+
"INSIGHT_BOARD_URL": "https://boards.company.com",
|
|
19
|
+
"INSIGHT_BOARD_API_KEY": "ibk_your_workspace_key"
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
For Codex CLI, register the same connection:
|
|
27
|
+
|
|
28
|
+
```sh
|
|
29
|
+
codex mcp add insight_board --env INSIGHT_BOARD_URL=https://boards.company.com --env INSIGHT_BOARD_API_KEY=ibk_your_workspace_key -- npx -y @celeon/insight-board-mcp@latest
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
No global installation is needed. `npx` downloads and caches the package automatically. Add the connection once; your client starts the server when connecting.
|
|
33
|
+
|
|
34
|
+
Use your installation origin without `/api` or `/w/...`. The API key selects the workspace. Store credentials in your client's private configuration or secret inputs, not in shared files or chat. Use a separate connection/key for each workspace. To reconfigure, edit that connection in your client.
|
|
35
|
+
|
|
36
|
+
The client launches MCP when connecting and supplies the environment values. There is no setup wizard, separate credentials store or automatic `.env` loading. If values are missing, startup reports the missing configuration and exits. Client-specific prompts or one-click installation can collect values where supported; these are features of the client.
|
|
37
|
+
|
|
38
|
+
The client launches `npx`; `npx` resolves the package and runs its CLI from npm's cache. `command` and `args` are the normal MCP client launch configuration, not a global installation requirement.
|
|
39
|
+
|
|
40
|
+
## Optional previews and diagnostics
|
|
41
|
+
|
|
42
|
+
Install the matching Chromium once if you want image previews:
|
|
43
|
+
|
|
44
|
+
```sh
|
|
45
|
+
npx -y @celeon/insight-board-mcp@latest install-browser
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
Other tools work without Chromium. Browser installation is explicit; it does not run during npm installation.
|
|
49
|
+
|
|
50
|
+
After adding the Codex connection, you can optionally run:
|
|
51
|
+
|
|
52
|
+
```sh
|
|
53
|
+
npx -y @celeon/insight-board-mcp@latest doctor
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
It checks API access and Chromium, then exits. If the terminal has no Insight Board environment values, it reads the saved `insight_board` connection from `~/.codex/config.toml` (or `$CODEX_HOME/config.toml`). There is no need to enter the key again. An explicit environment URL/key pair takes precedence. Normal MCP startup still uses the environment supplied by the client. The client owns the normal stdio connection.
|
|
57
|
+
|
|
58
|
+
## Upload backgrounds and images
|
|
59
|
+
|
|
60
|
+
Ask the agent to upload a local image and use it in a layout. Give it the file's absolute path on the computer running MCP. No upload-folder setting is required. The MCP process can upload files it can read, subject to the API key's `assets.create` permission, server file-type/size rules and workspace quotas. The local upload limit is 100 MiB; the server may allow less.
|
|
61
|
+
|
|
62
|
+
## Use it
|
|
63
|
+
|
|
64
|
+
Ask your agent, for example:
|
|
65
|
+
|
|
66
|
+
> Find my production dataset, create a dashboard with KPI cards and a chart, upload the background from C:/Images/background.png, and show me a preview. Leave it as a draft.
|
|
67
|
+
|
|
68
|
+
The agent can manage sources, datasets, files, users, layouts and screens. It can build layouts in small steps, validate them and show Chromium previews. The widget catalog includes progress (actual versus target), status (value/label/tone rules), trend (latest value and dataset history), and bar/line/area charts. History must come from a dataset; it is not recorded automatically. Preview datasets are sampled to 100 records; external embedded media may be blocked.
|
|
69
|
+
|
|
70
|
+
## Permissions
|
|
71
|
+
|
|
72
|
+
Existing package limits and resource grants apply. All-content keys do **not** automatically receive user administration or settings-write access. Enable those explicitly when creating a key. Publishing, assigning, pairing, commands and deleting are separate actions. Editing a published layout requires publish permission; use `layout_duplicate` to prepare an independent draft otherwise.
|
|
73
|
+
|
|
74
|
+
User management applies to the selected workspace. It cannot manage platform accounts, issue API keys or activate licences. Saved source passwords are never returned.
|
|
75
|
+
|
|
76
|
+
## Build and test from source
|
|
77
|
+
|
|
78
|
+
From the Insight Board repository root:
|
|
79
|
+
|
|
80
|
+
```sh
|
|
81
|
+
pnpm mcp:build
|
|
82
|
+
pnpm mcp:test
|
|
83
|
+
pnpm mcp:pack
|
|
84
|
+
```
|
|
85
|
+
|
|
86
|
+
For dashboard visual checks, run `node website/scripts/check-widgets.mjs` after building MCP. It renders the shared components in Chromium at dark/light landscape, portrait and compact sizes, checks clipping and empty states, and saves screenshots under the ignored `website/product-test-results` directory. `pnpm mcp:smoke` also exercises widget creation/editing and previews against an isolated demo API.
|
|
87
|
+
|
|
88
|
+
The build produces `dist/apps/mcp-server`, containing a Node CLI and compiled browser renderer. End users run the npm package through their MCP client and do not need the repository or Angular development tools.
|
|
89
|
+
|
|
90
|
+
The MCP package has its own version in `apps/mcp-server/package.json`, independent of the application version. Package checks and npm publication are run locally using the commands below.
|
|
91
|
+
|
|
92
|
+
To release to npm, update that version, then run from `apps/mcp-server`:
|
|
93
|
+
|
|
94
|
+
```sh
|
|
95
|
+
pnpm publish:package
|
|
96
|
+
```
|
|
97
|
+
|
|
98
|
+
This builds the package, checks its contents with `npm pack --dry-run`, and publishes the compiled package to npm. To check without publishing, run `pnpm build:package` followed by `pnpm pack:check`.
|
|
99
|
+
|
|
100
|
+
Public npm publication requires authorization for the `@celeon` scope and is not performed by build, test or pack. Runtime MCP access is included with the application's licence/subscription; the AI agent and its model usage are supplied by the user.
|