@lightdash-tools/mcp 0.3.1 → 0.4.0

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 CHANGED
@@ -74,7 +74,7 @@ With auth disabled (default), any client can call the endpoint. With `MCP_AUTH_E
74
74
 
75
75
  ## Tools
76
76
 
77
- The server registers the following tools (names prefixed with `lightdash_tools__`):
77
+ The server registers the following tools (names prefixed with `ldt__`):
78
78
 
79
79
  - **Projects**: `list_projects`, `get_project`, `validate_project`, `get_validation_results`
80
80
  - **Explores**: `list_explores`, `get_explore`
package/dist/bin.js CHANGED
@@ -44,7 +44,7 @@ const program = new commander_1.Command();
44
44
  program
45
45
  .name('lightdash-mcp')
46
46
  .description('MCP server for Lightdash AI')
47
- .version('0.3.1')
47
+ .version('0.4.0')
48
48
  .option('--http', 'Run as HTTP server instead of Stdio')
49
49
  .option('--safety-mode <mode>', 'Filter registered tools by safety mode (read-only, write-idempotent, write-destructive)')
50
50
  .option('--projects <uuids>', 'Comma-separated list of allowed project UUIDs (overrides LIGHTDASH_ALLOWED_PROJECTS; empty = all allowed)')
package/dist/index.js CHANGED
@@ -24,7 +24,7 @@ function main() {
24
24
  const client = (0, config_js_1.getClient)();
25
25
  const server = new mcp_js_1.McpServer({
26
26
  name: 'lightdash-mcp',
27
- version: '1.0.0',
27
+ version: '0.4.0',
28
28
  });
29
29
  (0, index_js_1.registerTools)(server, client);
30
30
  const transport = new stdio_js_1.StdioServerTransport();
@@ -12,7 +12,7 @@ import type { LightdashClient } from '@lightdash-tools/client';
12
12
  import type { ToolAnnotations } from '@lightdash-tools/common';
13
13
  import type { z } from 'zod';
14
14
  /** Prefix for all MCP tool names (disambiguation when multiple servers are connected). */
15
- export declare const TOOL_PREFIX = "lightdash_tools__";
15
+ export declare const TOOL_PREFIX = "ldt__";
16
16
  export type TextContent = {
17
17
  content: Array<{
18
18
  type: 'text';
@@ -26,7 +26,7 @@ const common_1 = require("@lightdash-tools/common");
26
26
  const errors_js_1 = require("../errors.js");
27
27
  const config_js_1 = require("../config.js");
28
28
  /** Prefix for all MCP tool names (disambiguation when multiple servers are connected). */
29
- exports.TOOL_PREFIX = 'lightdash_tools__';
29
+ exports.TOOL_PREFIX = 'ldt__';
30
30
  // Re-export presets for convenience and backward compatibility in tools
31
31
  var common_2 = require("@lightdash-tools/common");
32
32
  Object.defineProperty(exports, "READ_ONLY_DEFAULT", { enumerable: true, get: function () { return common_2.READ_ONLY_DEFAULT; } });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lightdash-tools/mcp",
3
- "version": "0.3.1",
3
+ "version": "0.4.0",
4
4
  "description": "MCP server and utilities for Lightdash AI.",
5
5
  "keywords": [],
6
6
  "license": "Apache-2.0",
@@ -11,11 +11,11 @@
11
11
  "lightdash-mcp": "./dist/bin.js"
12
12
  },
13
13
  "dependencies": {
14
- "@modelcontextprotocol/sdk": "^1.26.0",
14
+ "@modelcontextprotocol/sdk": "^1.27.1",
15
15
  "commander": "^14.0.3",
16
16
  "zod": "^4.3.6",
17
- "@lightdash-tools/client": "0.3.1",
18
- "@lightdash-tools/common": "0.3.1"
17
+ "@lightdash-tools/client": "0.4.0",
18
+ "@lightdash-tools/common": "0.4.0"
19
19
  },
20
20
  "devDependencies": {
21
21
  "@types/node": "^25.2.3"
package/src/bin.ts CHANGED
@@ -12,7 +12,7 @@ const program = new Command();
12
12
  program
13
13
  .name('lightdash-mcp')
14
14
  .description('MCP server for Lightdash AI')
15
- .version('0.3.1')
15
+ .version('0.4.0')
16
16
  .option('--http', 'Run as HTTP server instead of Stdio')
17
17
  .option(
18
18
  '--safety-mode <mode>',
package/src/index.ts CHANGED
@@ -15,7 +15,7 @@ async function main(): Promise<void> {
15
15
  const client = getClient();
16
16
  const server = new McpServer({
17
17
  name: 'lightdash-mcp',
18
- version: '1.0.0',
18
+ version: '0.4.0',
19
19
  });
20
20
 
21
21
  registerTools(server, client);
@@ -29,7 +29,7 @@ import {
29
29
  } from '../config.js';
30
30
 
31
31
  /** Prefix for all MCP tool names (disambiguation when multiple servers are connected). */
32
- export const TOOL_PREFIX = 'lightdash_tools__';
32
+ export const TOOL_PREFIX = 'ldt__';
33
33
 
34
34
  export type TextContent = {
35
35
  content: Array<{ type: 'text'; text: string }>;