SL

syucream/lightdash-mcp-server

Developer tools

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

27 stars 13 forks 품질 60 트렌드 11MIT

A MCP(Model Context Protocol) server that accesses to Lightdash

개요

A MCP(Model Context Protocol) server that accesses to Lightdash. This server provides MCP-compatible access to Lightdash's API, allowing AI assistants to interact with your Lightdash data through a standardized interface. - list_projects - List all projects in the Lightdash organization - get_project - Get details of a specific project - list_spaces - List all spaces in a project - list_charts - List all charts in a project - list_dashboards - List all dashboards in a project - get_custom_metrics - Get custom metrics for a project - get_catalog - Get catalog for a project - get_metrics_catalog - Get metrics catalog for a project - get_charts_as_code - Get charts as code for a project - get_dashboards_as_code - Get dashboards as code for a project To install Lightdash MCP Server for Claude Desktop automatically via Smithery: - LIGHTDASH_API_KEY: Your Lightdash PAT - LIGHTDASH_API_URL: The API base URL The lightdash-mcp-server supports two transport modes: (default) and .

README

원문 README의 일부입니다. 원문 보기.

lightdash-mcp-server

A MCP(Model Context Protocol) server that accesses to Lightdash.

This server provides MCP-compatible access to Lightdash’s API, allowing AI assistants to interact with your Lightdash data through a standardized interface.

Features

Available tools:

  • list_projects - List all projects in the Lightdash organization
  • get_project - Get details of a specific project
  • list_spaces - List all spaces in a project
  • list_charts - List all charts in a project
  • list_dashboards - List all dashboards in a project
  • get_custom_metrics - Get custom metrics for a project
  • get_catalog - Get catalog for a project
  • get_metrics_catalog - Get metrics catalog for a project
  • get_charts_as_code - Get charts as code for a project
  • get_dashboards_as_code - Get dashboards as code for a project

Quick Start

Installation

Installing via Smithery

To install Lightdash MCP Server for Claude Desktop automatically via Smithery:

npx -y @smithery/cli install lightdash-mcp-server --client claude

Manual Installation

npm install lightdash-mcp-server

Configuration

  • LIGHTDASH_API_KEY: Your Lightdash PAT
  • LIGHTDASH_API_URL: The API base URL

Usage

The lightdash-mcp-server supports two transport modes: Stdio (default) and HTTP.

Stdio Transport (Default)

  1. Start the MCP server:
npx lightdash-mcp-server
  1. Edit your MCP configuration json:
...
    "lightdash": {
      "command": "npx",
      "args": [
        "-y",
        "lightdash-mcp-server"
      ],
      "env": {
        "LIGHTDASH_API_KEY": "",
        "LIGHTDASH_API_URL": "https://"
      }
    },
...

HTTP Transport (Streamable HTTP)

  1. Start the MCP server in HTTP mode:
npx lightdash-mcp-server -port 8080

This starts the server using StreamableHTTPServerTransport, making it accessible via HTTP at http://localhost:8080/mcp.

  1. Configure your MCP client to connect via HTTP:

For Claude Desktop and other MCP clients:

Edit your MCP configuration json to use the url field instead of command and args:

...
    "lightdash": {
      "url": "http://localhost:8080/mcp"
    },
...

For programmatic access:

Use the streamable HTTP client transport:

import { Client } from '@modelcontextprotocol/sdk/client/index.js';
GitHub에서 전체 README 보기

설치

npx -y lightdash-mcp-server
MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →