A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://www.npmjs.com/package/lucid-mcp-server below:

lucid-mcp-server - npm

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

Before you begin, ensure you have the following:

Follow these steps to get the server running.

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

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

Install the package globally from npm:

npm install -g lucid-mcp-server

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.

Test your installation using the MCP Inspector:

npx @modelcontextprotocol/inspector lucid-mcp-server

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

Lists documents in your Lucid account.

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

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 Click to view manual `settings.json` 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)"
      }
    ]
  }
}

  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.

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


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4