SL

smartzan63/lucid-mcp-server

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

19 stars 6 forks 品質 75 トレンド 26MIT

Lucid App 統合用のモデルコンテキストプロトコル(MCP)サーバー。 ルーシド図をイメージとしてエクスポートし、ビジョン対応のクライアントがそれらを解釈し、Lucid Standard Import JSON から新しい図を作成します.

概要

Lucid App 統合用のモデルコンテキストプロトコル(MCP)サーバー。 ルーシド図をイメージとしてエクスポートし、ビジョン対応のクライアントがそれらを解釈し、Lucid Standard Import JSON から新しい図を作成します。 - LucidChart、LucidSpark、LucidScale の ANSI およびメタデータ検索 - クイック ドキュメント構造の概要 - ルーシド ダイアグラムから ✔️ 、視覚対応可能なクライアントが解釈するためのイメージ コンテンツ ブロックとして返された - ルシド スタンダード インポート JSON (フローチャート、org チャート、UML、BPMN、クラウド アーキテクチャ) から 安全なレイアウトで - ️️ (ゴミをゴミ箱へ) - 完全なテストを 簡単にテスト 簡単にテストできます - サーバは Lucid REST API に薄いブリッジです。 独自のLMを実行します。 - Search-documents と get-document-tabs は Lucid API から JSON メタデータを返します。 - analyticsImage で get-document: リクエストされたページを PNG としてエクスポートし、MCP イメージコンテンツブロックとして返します。 - 作成-diagramはあなたが提供する Lucid 標準インポート JSON をパッケージ化します.

概要(AI 翻訳)

Lucid App 統合用のモデルコンテキストプロトコル(MCP)サーバー。 ルーシド図をイメージとしてエクスポートし、ビジョン対応のクライアントがそれらを解釈し、Lucid Standard Import JSON から新しい図を作成します。

コンテンツの表

  • 特徴
  • 使い方
  • クライアントとモデルの互換性
  • 前提条件
  • インストール
  • 使用法
  • 貢献
  • 参考文献
  • ライセンス

##特徴

  • LucidChart、LucidSpark、LucidScale からのドキュメントの発見**とメタデータ検索
  • ANSI 軽量タブメタデータ クイックドキュメント構造の概要
  • ルシド図から** PNG画像エクスポート**、ビジョン対応のクライアントが解釈するためのイメージコンテンツブロックとして返される
  • Lucid Standard Import JSON (flowcharts, org charts, UML, BPMN, クラウドアーキテクチャ) から 、サポートされたレイアウト
  • ️️ドキュメント削除(ゴミ箱に移動)
  • 完全なテストカバレッジでTypeScriptの実装**
  • ❀MCPインスペクターインテグレーションを簡単にテストできます

使い方

サーバは Lucid REST API に薄いブリッジです。 それは****独自のLMを実行しません。

  • [search-documents と get-document-tabs] は Lucid API から JSON メタデータを返します.

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。

Lucid MCP Server

Model Context Protocol (MCP) server for Lucid App integration. Exports Lucid diagrams as images so a vision-capable client can interpret them, and creates new diagrams from Lucid Standard Import JSON.

Table of Contents

Features

  • 🔍 Document discovery and metadata retrieval from LucidChart, LucidSpark, and LucidScale
  • 📑 Lightweight tab metadata for quick document structure overview
  • 🖼️ PNG image export from Lucid diagrams, returned as an image content block for a vision-capable client to interpret
  • ✏️ Diagram creation from Lucid Standard Import JSON (flowcharts, org charts, UML, BPMN, cloud architecture), with assisted layout
  • 🗑️ Document deletion (move to trash)
  • 📝 TypeScript implementation with full test coverage
  • 🔧 MCP Inspector integration for easy testing

How It Works

The server is a thin bridge to the Lucid REST API. It does not run any LLM of its own:

  • search-documents and get-document-tabs return JSON metadata from the Lucid API.
  • get-document with analyzeImage: true exports the requested page as a PNG and returns it as an MCP image content block.
  • create-diagram packages the Lucid Standard Import JSON you provide into a .lucid archive and creates a new document via the Lucid API.
  • delete-diagram moves a document to the trash.

Diagram interpretation is delegated entirely to the model already driving your MCP client. This keeps the server free of any AI-provider dependency and reuses the (typically more capable) model running your session instead of a second, separately configured one. Likewise, the Standard Import JSON for create-diagram is authored by your session model, so the server needs no diagram-generation logic of its own.

Creating and deleting documents require a Lucid API key with document edit (write) scope. A read-only key can still search, read, and export. There is no in-place content editing in the Lucid REST API: to change a diagram, create a new one (optionally deleting the old). The exported JSON format and the Standard Import format are not interchangeable, so there is no download-edit-reupload round trip.

GitHub で README 全文を見る

インストール

npx -y lucid-mcp-server
MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

{ "mcpServers": { "lucid": { "command": "npx", "args": ["-y", "lucid-mcp-server"], "env": { "LUCID_API_KEY": "your-lucid-api-key" } } } }