@databrainhq/mcp-server 0.1.0 → 0.1.1-test
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 +50 -10
- package/dist/index.js +1873 -253
- package/dist/index.js.map +1 -1
- package/package.json +8 -1
package/README.md
CHANGED
|
@@ -173,33 +173,38 @@ No need to memorize tool names or API details — the orchestrator handles it.
|
|
|
173
173
|
### Orchestration
|
|
174
174
|
- `setup_embed_interactive` — Interactive step-by-step embed setup. Confirms choices with the user, validates the pipeline, and returns a deterministic config block.
|
|
175
175
|
|
|
176
|
-
### Tools (
|
|
176
|
+
### Tools (38 total)
|
|
177
177
|
|
|
178
178
|
<details>
|
|
179
|
-
<summary>Infrastructure</summary>
|
|
179
|
+
<summary>Infrastructure (3)</summary>
|
|
180
180
|
|
|
181
181
|
- `list_datasources` — List all connected datasources
|
|
182
|
+
- `create_datasource` — Connect a new database (Postgres, Snowflake, BigQuery, MySQL, Redshift, and more)
|
|
183
|
+
- `sync_datasource` — Trigger schema metadata sync after connecting a database
|
|
182
184
|
</details>
|
|
183
185
|
|
|
184
186
|
<details>
|
|
185
|
-
<summary>Data Apps & Tokens</summary>
|
|
187
|
+
<summary>Data Apps & Tokens (6)</summary>
|
|
186
188
|
|
|
187
189
|
- `create_data_app` — Create a logical container for embeds
|
|
188
190
|
- `list_data_apps` — List data apps
|
|
189
191
|
- `create_api_token` — Generate API token scoped to a data app
|
|
190
192
|
- `list_api_tokens` — List API tokens for a data app
|
|
191
193
|
- `rotate_api_token` — Rotate an API token (invalidates the old one)
|
|
194
|
+
- `set_api_token` — Set an existing API token for the current session (no env var needed)
|
|
192
195
|
</details>
|
|
193
196
|
|
|
194
197
|
<details>
|
|
195
|
-
<summary>Datamarts & Semantic Layer</summary>
|
|
198
|
+
<summary>Datamarts & Semantic Layer (4)</summary>
|
|
196
199
|
|
|
197
200
|
- `list_datamarts` — List datamarts
|
|
201
|
+
- `create_datamart` — Create a curated subset of tables for analytics
|
|
198
202
|
- `get_semantic_layer_status` — Check semantic layer generation progress
|
|
203
|
+
- `generate_semantic_layer` — Auto-generate semantic layer for AI chat mode
|
|
199
204
|
</details>
|
|
200
205
|
|
|
201
206
|
<details>
|
|
202
|
-
<summary>Embed Management</summary>
|
|
207
|
+
<summary>Embed Management (7)</summary>
|
|
203
208
|
|
|
204
209
|
- `create_embed` — Create embed config for a dashboard/metric
|
|
205
210
|
- `list_embeds` — List embed configurations
|
|
@@ -211,14 +216,24 @@ No need to memorize tool names or API details — the orchestrator handles it.
|
|
|
211
216
|
</details>
|
|
212
217
|
|
|
213
218
|
<details>
|
|
214
|
-
<summary>
|
|
219
|
+
<summary>Customization (5)</summary>
|
|
215
220
|
|
|
216
|
-
- `
|
|
221
|
+
- `customize_embed_theme` — Set colors, typography, card styling, dashboard layout, chart fonts, buttons, checkboxes, and more
|
|
222
|
+
- `configure_chart_appearance` — Configure chart tooltip, legend, axes, labels, margins, and color palettes
|
|
223
|
+
- `configure_embed_options` — Toggle ~30 display/permission flags (metric ops, layout, downloads, loaders, UI, custom messages)
|
|
224
|
+
- `configure_filters` — Set up dashboard filters with defaults, date presets, SQL-based options, and visibility
|
|
225
|
+
- `configure_internationalization` — Set language (12 supported), translations, calendar type, and custom messages
|
|
226
|
+
</details>
|
|
227
|
+
|
|
228
|
+
<details>
|
|
229
|
+
<summary>Frontend Embedding (2)</summary>
|
|
230
|
+
|
|
231
|
+
- `generate_guest_token` — Generate frontend auth token with filters, theme overrides, permissions, and multi-datasource support
|
|
217
232
|
- `generate_embed_code` — Generate framework-specific code (React, Next.js, Vue, Angular, Svelte, SolidJS, vanilla JS)
|
|
218
233
|
</details>
|
|
219
234
|
|
|
220
235
|
<details>
|
|
221
|
-
<summary>Data & Analytics</summary>
|
|
236
|
+
<summary>Data & Analytics (9)</summary>
|
|
222
237
|
|
|
223
238
|
- `list_dashboards` — List dashboards
|
|
224
239
|
- `list_metrics` — List metrics
|
|
@@ -243,9 +258,34 @@ No need to memorize tool names or API details — the orchestrator handles it.
|
|
|
243
258
|
- `databrain://semantic-layer-guide` — Semantic layer for AI chat
|
|
244
259
|
- `databrain://multi-tenancy-guide` — Multi-tenant row-level security
|
|
245
260
|
|
|
246
|
-
### Prompts (
|
|
261
|
+
### Prompts (12)
|
|
262
|
+
|
|
263
|
+
<details>
|
|
264
|
+
<summary>Setup & Onboarding (4)</summary>
|
|
247
265
|
|
|
248
266
|
- `explore-data` — Discover available data and dashboards in your workspace
|
|
267
|
+
- `setup-from-scratch` — Full guided setup: datasource → datamarts → dashboard → embed → frontend code
|
|
268
|
+
- `setup-ai-chat` — Enable AI Pilot (natural language Q&A) on your embedded dashboard
|
|
269
|
+
- `setup-multi-tenant` — Configure row-level security so each customer only sees their own data
|
|
270
|
+
</details>
|
|
271
|
+
|
|
272
|
+
<details>
|
|
273
|
+
<summary>Customization (4)</summary>
|
|
274
|
+
|
|
275
|
+
- `brand-my-embed` — Customize colors, fonts, chart styles, and component theme
|
|
276
|
+
- `localize-embed` — Set up multi-language support with translations and locale settings
|
|
277
|
+
- `secure-my-embed` — Configure permissions, access controls, and role-based guest tokens
|
|
278
|
+
- `setup-filters` — Configure dashboard filters: string, date, number, SQL-based, and server-side
|
|
279
|
+
</details>
|
|
280
|
+
|
|
281
|
+
<details>
|
|
282
|
+
<summary>Operations & Troubleshooting (4)</summary>
|
|
283
|
+
|
|
284
|
+
- `diagnose-embed` — Troubleshoot a broken or misconfigured embed
|
|
285
|
+
- `analyze-data` — Query metrics, export data, apply filters, and ask AI-powered questions
|
|
286
|
+
- `manage-dashboards` — Export, import, and promote dashboards between environments
|
|
287
|
+
- `manage-embeds` — List, compare, rename, delete embeds and rotate API tokens
|
|
288
|
+
</details>
|
|
249
289
|
|
|
250
290
|
---
|
|
251
291
|
|
|
@@ -253,7 +293,7 @@ No need to memorize tool names or API details — the orchestrator handles it.
|
|
|
253
293
|
|
|
254
294
|
See [`docs/LLM_INSTRUCTIONS.md`](docs/LLM_INSTRUCTIONS.md) for detailed guidance on:
|
|
255
295
|
- Tool chaining and dependency graph
|
|
256
|
-
- Common workflows (embed, explore, theme, roles, export/import)
|
|
296
|
+
- Common workflows (embed, explore, theme, filters, i18n, AI chat, roles, export/import)
|
|
257
297
|
- Error recovery patterns
|
|
258
298
|
- Expected output formats
|
|
259
299
|
- Security guardrails
|