1. Conduid
  2. Developer Tools
  3. lucid-mcp-server
MCP server · Developer Tools

lucid-mcp-server

server)

Unclaimed MIT last commit 10 months ago devtools
52Fair

Scored 3 days ago · breakdown

About lucid-mcp-server

lucid-mcp-server is an MCP server published by smartzan63 in the Developer Tools category: server). It has been installed 0 times through Conduid.

The repository has 14 stars and 6 forks, with the last commit 10 months ago. Six months or more without a commit doesn't mean the server is broken, but check the open issues (0) before depending on it in production.

Install

Install
npx lucid-mcp-server
Claude Code
claude mcp add lucid-mcp-server -- npx -y lucid-mcp-server
npx
npx -y lucid-mcp-server

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Ask AI

Ask AI about lucid-mcp-server

Powered by Claude · Grounded in docs

I know everything about lucid-mcp-server. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

  • ·README presentNot checked yet.
  • ·License declaredNot checked yet.
  • ·Tests presentNot checked yet.
  • ·Dependencies pinnedNot checked yet.
  • ·No dynamic code executionNot checked yet.
  • !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.

Releases

v0.3.0v0.3.0 · 25 Jun 2026Added `create-diagram`: create a new Lucid document from Lucid Standard Import JSON; returns the edit URL. Requires a Lucid API key with document edit (write) scope. `delete-diagram`: move a Lucid document to the trash by ID. Requires…
v0.2.0v0.2.0 · 18 Jun 2026Highlights The server is now a pure Lucid bridge. It exports diagrams as images and lets your MCP client's own vision-capable model interpret them, so no AI provider keys are needed. Removed Built-in image-analysis backend (Azure OpenAI /…
v0.1.5v0.1.5 - Tab Metadata Tool · 1 Aug 2025🚀 New Feature: Tab Metadata Tool ✨ What's New Tab Metadata Tool**: New \get-document-tabs\ tool for retrieving lightweight page metadata from Lucidchart documents Returns compact JSON with document info and page metadata (id, title, index)…
v0.1.4v0.1.4 · 1 Jul 2025Refactored LLM provider architecture Added OpenAI provider and fallback logic All tests (unit, integration, manual e2e) passed Manual E2E: ImageAnalyzer with 2 providers, primary azure-openai, log confirmed See CHANGELOG for details
v0.1.3v0.1.3 - Major Refactoring & Critical Fixes · 23 Jun 2025What's New in v0.1.3 Added Utility functions in lucidModels.ts (validation, filtering, sorting) Comprehensive unit and integration tests (81%+ coverage) Fixed Critical: Cannot find module oas error in npm package isValidLucidDocument type…

README

Lucid MCP Server

smithery badge npm version npm downloads Install in VS Code

Model Context Protocol (MCP) server for Lucid App integration. Enables multimodal LLMs to access and analyze Lucid diagrams through visual exports.

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
  • 🤖 AI-powered diagram analysis with multimodal LLMs (supports Azure OpenAI and OpenAI)
  • ⚙️ Environment-based API key management with automatic fallback from Azure to OpenAI.
  • 📝 TypeScript implementation with full test coverage
  • 🔧 MCP Inspector integration for easy testing

Prerequisites

Before you begin, ensure you have the following:

  • Node.js: Version 18 or higher.
  • Lucid API Key: A key from the Lucid Developer Portal is required for all features.
  • AI Provider Key (Optional): For AI-powered diagram analysis, you need an API key for either:

Quick Start

Follow these steps to get the server running.

Installing via Smithery

To install lucid-mcp-server for Claude Desktop automatically via Smithery:

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

1. Install

Install the package globally from npm:

npm install -g lucid-mcp-server

2. Configure

Set the following environment variables in your terminal. Only the Lucid API key is required.

# Required for all features
export LUCID_API_KEY="your_api_key_here"

# Optional: For AI analysis, configure either Azure OpenAI or OpenAI

# Option 1: Azure OpenAI (takes precedence)
export AZURE_OPENAI_API_KEY="your_azure_openai_key"
export AZURE_OPENAI_ENDPOINT="https://your-resource.openai.azure.com"  
export AZURE_OPENAI_DEPLOYMENT_NAME="gpt-4o"

# Option 2: OpenAI (used as a fallback if Azure is not configured)
export OPENAI_API_KEY="your_openai_api_key"
export OPENAI_MODEL="gpt-4o" # Optional, defaults to gpt-4o

Note: The server automatically uses Azure OpenAI if AZURE_OPENAI_API_KEY is set. If not, it falls back to OpenAI if OPENAI_API_KEY is provided.

3. Verify

Test your installation using the MCP Inspector:

npx @modelcontextprotocol/inspector lucid-mcp-server

Usage

Once the server is running, you can interact with it using natural language or by calling its tools directly.

Example Prompts

  • Basic commands (works with just a Lucid API key):

    • "Show me all my Lucid documents"
    • "Get information about the document with ID: [document-id]"
  • AI Analysis (requires Azure OpenAI or OpenAI setup):

    • "Analyze this diagram: [document-id]"
    • "What does this Lucid diagram show: [document-id]"

Available Tools

🔍 search-documents

Lists documents in your Lucid account.

  • Parameters:
    • keywords (string, optional): Search keywords to filter documents.
  • Example:
    {
      "keywords": "architecture diagram"
    }
    

📋 get-document

Gets document metadata and can optionally perform AI analysis on its visual content.

  • Parameters:
    • documentId (string): The ID of the document from the Lucid URL.
    • analyzeImage (boolean, optional): Set to true to perform AI analysis. ⚠️ Requires Azure or OpenAI key.
    • pageId (string, optional): The specific page to export (default: "0_0").
  • Example:
    {
      "documentId": "demo-document-id-here-12345678/edit",
      "analyzeImage": true
    }
    

📑 get-document-tabs

Gets lightweight metadata about all tabs (pages) in a Lucid document without retrieving full content.

  • Parameters:
    • documentId (string): The ID of the document from the Lucid URL.
  • Returns: Document info with page metadata (id, title, index) for quick navigation and overview.
  • Example:
    {
      "documentId": "demo-document-id-here-12345678/edit"
    }
    

VS Code Integration

You can integrate the server directly into Visual Studio Code.

Method 1: Through VS Code UI (Recommended)

  1. Open the Command Palette (Ctrl+Shift+P or Cmd+Shift+P).
  2. Run the command: "MCP: Add Server".
  3. Choose "npm" as the source.
  4. Enter the package name: lucid-mcp-server.
  5. VS Code will guide you through the rest of the setup.
  6. Verify automatically created configuration, because AI can make mistakes

Method 2: Quick Install Link

Click the "Install in VS Code" badge at the top of this README, then follow the on-screen prompts. You will need to configure the environment variables manually in your settings.json.

Method 3: Manual Configuration

Add the following JSON to your VS Code settings.json file. This method provides the most control and is useful for custom setups.

{
  "mcp": {
    "servers": {
      "lucid-mcp-server": {
        "type": "stdio",
        "command": "lucid-mcp-server",
        "env": {
          "LUCID_API_KEY": "${input:lucid_api_key}",
          "AZURE_OPENAI_API_KEY": "${input:azure_openai_api_key}",
          "AZURE_OPENAI_ENDPOINT": "${input:azure_openai_endpoint}",
          "AZURE_OPENAI_DEPLOYMENT_NAME": "${input:azure_openai_deployment_name}",
          "OPENAI_API_KEY": "${input:openai_api_key}",
          "OPENAI_MODEL": "${input:openai_model}"
        }
      }
    },
    "inputs": [
      {
        "id": "lucid_api_key", 
        "type": "promptString",
        "description": "Lucid API Key (REQUIRED)"
      },
      {
        "id": "azure_openai_api_key",
        "type": "promptString", 
        "description": "Azure OpenAI API Key (Optional, for AI analysis)"
      },
      {
        "id": "azure_openai_endpoint",
        "type": "promptString",
        "description": "Azure OpenAI Endpoint (Optional, for AI analysis)"
      },
      {
        "id": "azure_openai_deployment_name",
        "type": "promptString",
        "description": "Azure OpenAI Deployment Name (Optional, for AI analysis)"
      },
      {
        "id": "openai_api_key",
        "type": "promptString", 
        "description": "OpenAI API Key (Optional, for AI analysis - used if Azure is not configured)"
      },
      {
        "id": "openai_model",
        "type": "promptString",
        "description": "OpenAI Model (Optional, for AI analysis, default: gpt-4o)"
      }
    ]
  }
}

Small Demo

image

🤝 Contributing

  1. Fork the repository.
  2. Create your feature branch (git checkout -b feature/amazing-feature).
  3. Commit your changes (git commit -m 'Add amazing feature').
  4. Push to the branch (git push origin feature/amazing-feature).
  5. Open a Pull Request.

📚 References

📄 License

This project is licensed under the MIT License - see the LICENSE file for details.

README mirrored from the source repository 3 days ago. The original is authoritative.

Questions

About lucid-mcp-server

How do I install lucid-mcp-server?

Run npx lucid-mcp-server, then add the server to your MCP client's configuration. Conduid has recorded 0 installs, so the command is known to work with current clients.

Is lucid-mcp-server safe to use with an AI agent?

Its trust score is 52 out of 100 (fair). It passes 0 of 1 static security checks; the failures are listed above. It has no ConduID identity yet, so agent calls to it are not receipted.

Is lucid-mcp-server still maintained?

Yes — the latest release is v0.3.0 (25 Jun 2026), and the last commit was 10 months ago. The repository has 14 stars and 0 open issues.