# LucidLink

> LucidLink is an MCP server for files and documents. Lets agents read, write, search, lock and audit files in a LucidLink filespace. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Platforms:** CLI, Self-hosted
- **Website:** https://developer.lucidlink.com/docs/mcp/overview
- **MCP Registry name:** com.lucidlink/mcp
- **Categories:** [files and documents](https://ai-powered.com/categories/files-and-documents), [cloud and infrastructure](https://ai-powered.com/categories/cloud-and-infrastructure)
- **Listing updated:** 2026-11-23

## About

This server turns a LucidLink filespace into a working area for agents. It runs locally: your MCP client launches the lucidlink-mcp Python package through uvx on demand, so there is no hosted service to deploy. It signs in with a LucidLink service-account token that a workspace admin creates.

File operations include read_file, write_file, list_files, find_files, grep_files and edit_lines. Coordination is handled by byte-range advisory locks (lock_byte_range and unlock_byte_range), and read_audit_trail exposes who changed what when an admin has switched auditing on. An optional admin toolset adds workspace, member, group and permission tools, and a core option trims the set to a minimal file group.

Safety settings include a read-only environment flag, confirmation flags for destructive actions, and no need for a desktop mount of decrypted files.

## Features

- **File read and write:** Reads documents and saves summaries, reports or extracted data back as normal files.
- **Search tools:** find_files and grep_files locate files and content in the filespace.
- **File locking:** Whole-file or byte-range advisory locks coordinate edits between agents.
- **Audit trail:** read_audit_trail shows file activity when an admin enables auditing.
- **Read-only mode:** LUCIDLINK_MCP_READ_ONLY=1 exposes only read, search and inspect tools.
- **Optional admin tools:** The admin toolset adds workspace, member, group and permission tools.

## Good for

- Have an agent summarize project briefs stored in a filespace
- Stop two agents editing the same file at once
- Review who changed files and when
- Run a safe read-only research agent over shared media or documents
- Manage filespace members and groups from an assistant

## Install

### Claude Code: Add with the CLI (Terminal)

```sh
claude mcp add mcp --env LUCIDLINK_TOKEN='<LUCIDLINK_TOKEN>' -- uvx lucidlink-mcp
```

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

### Claude Code: Or share it with your project (.mcp.json)

```json
{
  "mcpServers": {
    "mcp": {
      "command": "uvx",
      "args": [
        "lucidlink-mcp"
      ],
      "env": {
        "LUCIDLINK_TOKEN": "<LUCIDLINK_TOKEN>"
      }
    }
  }
}
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "mcp": {
      "command": "uvx",
      "args": [
        "lucidlink-mcp"
      ],
      "env": {
        "LUCIDLINK_TOKEN": "<LUCIDLINK_TOKEN>"
      }
    }
  }
}
```

Settings → Developer → Edit Config, then quit and reopen Claude Desktop.

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "mcp": {
      "command": "uvx",
      "args": [
        "lucidlink-mcp"
      ],
      "env": {
        "LUCIDLINK_TOKEN": "<LUCIDLINK_TOKEN>"
      }
    }
  }
}
```

Use .cursor/mcp.json in a project to share it with the project.

### VS Code (~/.copilot/mcp-config.json)

```json
{
  "mcpServers": {
    "mcp": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "lucidlink-mcp"
      ],
      "env": {
        "LUCIDLINK_TOKEN": "<LUCIDLINK_TOKEN>"
      }
    }
  }
}
```

Or put the same entry in .mcp.json at your workspace root to share it.

### Codex: Add with the CLI (Terminal)

```sh
codex mcp add mcp --env LUCIDLINK_TOKEN='<LUCIDLINK_TOKEN>' -- uvx lucidlink-mcp
```

### Codex: Or add to config.toml (~/.codex/config.toml)

```toml
[mcp_servers.mcp]
command = "uvx"
args = ["lucidlink-mcp"]
env = { LUCIDLINK_TOKEN = "<LUCIDLINK_TOKEN>" }
```

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

```json
{
  "mcpServers": {
    "mcp": {
      "command": "uvx",
      "args": [
        "lucidlink-mcp"
      ],
      "env": {
        "LUCIDLINK_TOKEN": "<LUCIDLINK_TOKEN>"
      }
    }
  }
}
```

Or run: gemini mcp add -s user -e LUCIDLINK_TOKEN='<LUCIDLINK_TOKEN>' mcp uvx -- lucidlink-mcp

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

```json
{
  "mcpServers": {
    "mcp": {
      "command": "uvx",
      "args": [
        "lucidlink-mcp"
      ],
      "env": {
        "LUCIDLINK_TOKEN": "<LUCIDLINK_TOKEN>"
      }
    }
  }
}
```

Use .agents/mcp_config.json to add it to one workspace only.

### Devin Desktop (~/.config/devin/mcp_config.json)

```json
{
  "mcpServers": {
    "mcp": {
      "command": "uvx",
      "args": [
        "lucidlink-mcp"
      ],
      "env": {
        "LUCIDLINK_TOKEN": "<LUCIDLINK_TOKEN>"
      }
    }
  }
}
```

On Windows the file is %APPDATA%\\devin\\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

### Cline (cline_mcp_settings.json)

```json
{
  "mcpServers": {
    "mcp": {
      "command": "uvx",
      "args": [
        "lucidlink-mcp"
      ],
      "env": {
        "LUCIDLINK_TOKEN": "<LUCIDLINK_TOKEN>"
      }
    }
  }
}
```

Open it from the MCP Servers icon → Configure → Configure MCP Servers.

### Zed (Zed settings.json)

```json
{
  "context_servers": {
    "mcp": {
      "command": "uvx",
      "args": [
        "lucidlink-mcp"
      ],
      "env": {
        "LUCIDLINK_TOKEN": "<LUCIDLINK_TOKEN>"
      }
    }
  }
}
```

Open it with zed: open settings file. Merge context_servers into the settings you already have.

### JetBrains AI Assistant and Junie: AI Assistant (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

```json
{
  "mcpServers": {
    "mcp": {
      "command": "uvx",
      "args": [
        "lucidlink-mcp"
      ],
      "env": {
        "LUCIDLINK_TOKEN": "<LUCIDLINK_TOKEN>"
      }
    }
  }
}
```

The AI Assistant docs only show command and args. If the env block is ignored, use Junie for this server.

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

```json
{
  "mcpServers": {
    "mcp": {
      "command": "uvx",
      "args": [
        "lucidlink-mcp"
      ],
      "env": {
        "LUCIDLINK_TOKEN": "<LUCIDLINK_TOKEN>"
      }
    }
  }
}
```

Use .junie/mcp/mcp.json to share it with a project.

### Kiro (~/.kiro/settings/mcp.json)

```json
{
  "mcpServers": {
    "mcp": {
      "command": "uvx",
      "args": [
        "lucidlink-mcp"
      ],
      "env": {
        "LUCIDLINK_TOKEN": "<LUCIDLINK_TOKEN>"
      }
    }
  }
}
```

Use .kiro/settings/mcp.json to add it to one workspace only.

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "mcp": {
      "command": "uvx",
      "args": [
        "lucidlink-mcp"
      ],
      "env": {
        "LUCIDLINK_TOKEN": "<LUCIDLINK_TOKEN>"
      }
    }
  }
}
```

## Tools

From the tool list in its README, going by the names, 2 of 9 tools change data; 3 names don't say. From the server's own tool labels and tool names; not verified by us.

- `read_file` (name suggests: reads): Reads a file from the filespace.
- `write_file` (name suggests: changes): Writes a file to the filespace.
- `list_files` (name suggests: reads): Lists files in a folder.
- `find_files` (name suggests: reads): Finds files in the filespace.
- `grep_files`: Searches file contents.
- `edit_lines` (name suggests: changes): Edits lines in a file.
- `lock_byte_range`: Takes an advisory lock on a byte range.
- `unlock_byte_range`: Releases a byte-range lock.
- `read_audit_trail` (name suggests: reads): Reads the audit trail of file activity.

## FAQ

### How is LucidLink installed?

Install uv and register it with your client, for example claude mcp add lucidlink -s user -- uvx lucidlink-mcp@latest.

### What credentials does LucidLink need?

A LucidLink service-account token, set as LUCIDLINK_TOKEN.

### Can I stop LucidLink from changing files?

Yes, set LUCIDLINK_MCP_READ_ONLY to 1.

### Does LucidLink need a mounted drive?

No, agents work through MCP or the Python SDK without a mounted drive.

### How do I add LucidLink to Claude Code?

Run this command in your terminal: claude mcp add mcp --env LUCIDLINK_TOKEN='<LUCIDLINK_TOKEN>' -- uvx lucidlink-mcp

### What are the best alternatives to LucidLink?

The closest alternatives to LucidLink are awslabs, kubeshark, Azure MCP Server, Pitot and Runeward.

## Where this comes from

- Description: written from the project's website.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [awslabs](https://ai-powered.com/mcp/awslabs): awslabs is an open-source MCP server for cloud and infrastructure.
- [kubeshark](https://ai-powered.com/mcp/kubeshark): kubeshark is an open-source MCP server for cloud and infrastructure.
- [Azure MCP Server](https://ai-powered.com/mcp/azure-mcp-server): Azure MCP Server is an open-source MCP server for cloud and infrastructure.
- [Pitot](https://ai-powered.com/mcp/pitot): Pitot is an open-source MCP server for cloud and infrastructure.
- [Runeward](https://ai-powered.com/mcp/runeward): Runeward is an open-source MCP server for developer tools.
- [Scholar Sidekick](https://ai-powered.com/mcp/scholar-sidekick): Scholar Sidekick is a freemium MCP server for education and exams.
- [Stashpad](https://ai-powered.com/mcp/stashpad): Stashpad is an open-source MCP server for files and documents.
- [KubeStellar MCP](https://ai-powered.com/mcp/kubestellar-mcp): KubeStellar MCP is an MCP server for cloud and infrastructure.

---
Source: https://ai-powered.com/mcp/lucidlink
