LucidLink
Lets agents read, write, search, lock and audit files in a LucidLink filespace
LucidLink is an MCP server for files and documents. It runs locally on your machine and is started by your AI client.
- Platforms
- CLI, Self-hosted
- Runs
- Locally
- What it can do
- Can change data (2 tools)
- Access
- Needs a secret key or token
- Version
- 1.0.1
Similar MCP servers
Install
Add with the CLI
Run in a terminal
claude mcp add mcp --env LUCIDLINK_TOKEN='<LUCIDLINK_TOKEN>' -- uvx lucidlink-mcpAdd --scope user to use it in every project, or --scope project to share it in .mcp.json.
Or share it with your project
Add to .mcp.json
{
"mcpServers": {
"mcp": {
"command": "uvx",
"args": [
"lucidlink-mcp"
],
"env": {
"LUCIDLINK_TOKEN": "<LUCIDLINK_TOKEN>"
}
}
}
}Add to claude_desktop_config.json
{
"mcpServers": {
"mcp": {
"command": "uvx",
"args": [
"lucidlink-mcp"
],
"env": {
"LUCIDLINK_TOKEN": "<LUCIDLINK_TOKEN>"
}
}
}
}Settings → Developer → Edit Config, then quit and reopen Claude Desktop.
Add to ~/.cursor/mcp.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.
Add to ~/.copilot/mcp-config.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.
Add with the CLI
Run in a terminal
codex mcp add mcp --env LUCIDLINK_TOKEN='<LUCIDLINK_TOKEN>' -- uvx lucidlink-mcpOr add to config.toml
Add to ~/.codex/config.toml
[mcp_servers.mcp]
command = "uvx"
args = ["lucidlink-mcp"]
env = { LUCIDLINK_TOKEN = "<LUCIDLINK_TOKEN>" }Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"mcp": {
"command": "uvx",
"args": [
"lucidlink-mcp"
],
"env": {
"LUCIDLINK_TOKEN": "<LUCIDLINK_TOKEN>"
}
}
}
}Gemini CLI and Antigravity
Gemini CLI
Add to ~/.gemini/settings.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
Antigravity
Add to ~/.gemini/config/mcp_config.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 (formerly Windsurf)
Add to ~/.config/devin/mcp_config.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
Add to cline_mcp_settings.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
Add to Zed settings.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
Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add
{ "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.
Junie
Add to ~/.junie/mcp/mcp.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
Add to ~/.kiro/settings/mcp.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.
Using several servers? Build one config file with the MCP config generator.
Configuration
LUCIDLINK_TOKENLucidLink service-account token (sa_live:...). Minted by a workspace admin under Service Accounts.RequiredLUCIDLINK_FILESPACEFilespace to auto-link at first use. Leave empty when the account sees exactly one filespace.LUCIDLINK_MCP_TOOLSETSComma-separated tool planes. Empty = full file toolset. 'admin' adds workspace, member, group and permission tools (writes need Node.js 22+); 'core' trims to a minimal file set.LUCIDLINK_MCP_READ_ONLYSet to 1 to expose only read, search and inspect tools.
About LucidLink
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.
Tools this server provides (9)
Taken from the project documentation; the running server may differ.
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_fileName suggests: reads
- Reads a file from the filespace.
- write_fileName suggests: changes
- Writes a file to the filespace.
- list_filesName suggests: reads
- Lists files in a folder.
- find_filesName suggests: reads
- Finds files in the filespace.
- grep_files
- Searches file contents.
- edit_linesName 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_trailName suggests: reads
- Reads the audit trail of file activity.
What it does
- 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
LucidLink 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.
