
Linkly AI
ai.linkly由 linkly.ai 發布官方發布者v1.0.0更新於 Nov 23, 2026
Search and read the documents on your computer and your cloud libraries.
概覽
遠端 MCP 端點,讓助理搜尋並閱讀 Linkly AI 桌面應用程式索引的本機與雲端文件。
- 可以做什麼
- 依關鍵字或問題搜尋文件,可依類型、資料庫、路徑、修改時間篩選或依時間排序
- 尋找資料夾路徑,列出知識庫、資料夾、資料庫內檔案與筆記
- 檢視文件大綱、逐行比對並附上下文,依行範圍讀取內容
- 建立與編輯 Markdown 筆記,採版本比對寫入
- 檢查連線狀態,診斷本機、區域網路與遠端連線
- 適用情境
- 適合讓助理根據自己的 PDF、Office 檔案、掃描件、錄音轉錄與筆記回答問題,而不只依賴公開網頁;也適合從長文件中只取出需要的章節,不必整篇貼進對話。
- 執行需求
- 遠端端點需要 OAuth 登入(或已儲存的 API Key,也可用 LINKLY_API_KEY 提供)。文件須由 macOS、Windows 或 Linux 上的 Linkly AI 桌面應用程式完成索引;本機與區域網路模式要求該應用程式正在執行,遠端模式經雲端通道存取它。筆記存放在桌機上。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Linkly AI,將其新增到工作區。
- 連接 所需的 憑證。它們會被私密儲存,絕不會在公開頁面上展示。
- 為需要使用其工具的對話啟用該服務。
Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。
交給代理程式安裝
把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。
閱讀 https://sourceweft.com/mcp/ai.linkly%2Flinkly-ai/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。其他 MCP 客戶端
把它新增到你客戶端的 mcpServers 設定中。 客戶端會在首次連接時完成 OAuth 登入。
{
"mcpServers": {
"linkly-ai": {
"type": "http",
"url": "https://mcp.linkly.ai/mcp"
}
}
}README
Linkly AI CLI
Search and read the documents on your computer from the terminal, or give an AI agent the same access over MCP.
What is it?
Linkly AI is a desktop app for macOS, Windows and Linux that indexes the folders you choose: PDF, Word, PowerPoint, Excel, CSV, EPUB, RTF, Markdown, text, HTML, images (OCR), audio and video (speech transcription). The index stays on your computer, and every local feature is free without an account.
linkly is its command line. It talks to the running desktop app, so there is nothing to index twice.
Use it to:
- search your files by keyword or by question, and read the result in the terminal or in scripts (
--json) - let an agent with a terminal, such as Claude Code or Codex, search your files; the official skill teaches it how
- connect any MCP client over stdio with
linkly mcp
How it differs from grep and find: it reads inside PDFs, Office files, scans and recordings, matches meaning as well as keywords, and returns outlines so an agent can read only the sections it needs.
Quick Start
-
Download the desktop app and add a folder.
-
Install the CLI (all options):
-
Search:
Prerequisites
By default, the Linkly AI desktop app must be running with MCP server enabled. The CLI automatically discovers the app via ~/.linkly/port. Alternatively, use LAN mode (--lan with a saved LAN token) or Remote mode (--remote with a saved API key) — see Connection Modes.
Installation
macOS / Linux
Windows (PowerShell)
Homebrew (macOS / Linux)
Cargo
GitHub Releases
Pre-built binaries for all platforms are available on the Releases page.
From Source
Usage
Find Paths
Locate folder candidates when you only know a fuzzy or cross-language container name (e.g. "WeChat" but the actual path contains xinWeChat). Pass several variants in --patterns so the keywords are OR-matched in a single call. Output is intended as a --path-glob source for linkly search.
Search Documents
View Document Outline
Get structural outlines for one or more documents (IDs come from search results):
Locate Lines in a Document
Read Document Content
List Container Contents
Enumerate a container without full-text matching — indexed files under a directory, one library's files, or your notes:
Notes live on the Desktop machine — with --remote the listing reaches them through the tunnel; there is no cloud notes store.
Save a Note
Create or edit a markdown card note in your Desktop's Notes folder:
Edits are compare-and-swap: a stale --base-version is rejected — re-read, merge, retry. Tags live in the note body as #tokens (the source of truth): --tags only adds tags, and you remove one by deleting its #token from the content. Caution: Desktops older than 0.11.0 instead require --tags on edit and treat it as the full replacement set (tags you omit are deleted). Requires Desktop >= 0.11.0.
Check Status
MCP Bridge Mode
Run as a stdio MCP server for Claude Desktop, Cursor, or other MCP clients:
Claude Desktop configuration (claude_desktop_config.json):
The bridge advertises the desktop's nine tools. With --remote ("args": ["mcp", "--remote"])
it also advertises the two cloud-only tools the gateway implements — library_search
(find cloud libraries in the catalog, including ones not linked yet) and library_link
(link one so search / explore / list can use it, or with action: "unlink" release a
link the user named, e.g. when the Slot quota is full) — and the server instructions
describe that reach. The local bridge never advertises them: the desktop does not
implement them, so the tool list matches what the upstream can actually serve.
Calls through the bridge carry the name the connecting application gives itself when it
connects (Claude Desktop, for example, says claude-ai), so Desktop's access log shows
which application read the documents; with --remote the name is sent to the gateway as
well. --client <name> overrides it.
The bridge starts even when it cannot connect yet — Desktop is not running, or there is no
key for --remote. The tools are listed, and each call tries to connect again and reports
what is missing.
The bridge serves the desktop on this machine or the cloud gateway — it does not bridge to a
desktop on the LAN. A client on another machine should connect to the desktop's LAN HTTP
endpoint directly (copy the config from the desktop app's Agent usage → View MCP connection settings), or bridge with
--remote.
Diagnose Connection Issues
Runs a series of checks (port file, server reachability, auth, MCP round-trip) and reports
pass/fail with actionable advice. Without a flag it checks the local desktop and — when
credentials for them are saved — the remote gateway and the LAN desktop at once, in
separate groups, and succeeds when at least one connection works. A flag narrows the run
to that one connection, in the same format. --json returns
{"status", "groups": [{"mode", "configured", "status", "checks", …}]} either way; with a
flag the earlier single-connection fields (mode, checks, issues, …) are also kept at
the top level.
List Libraries
List all available knowledge libraries (useful with search --library):
Self-Update
Agent Skill
The linkly-ai skill teaches agents how to drive these tools. The CLI reports
its version, installs it, and upgrades it in place:
linkly status reports the skill in its main table, checked live on every run.
That is the reliable place to look; everything below is the nudge for someone
who did not think to look.
When the skill is missing or out of date, output carries a one-line notice
addressed to the assistant reading it — what is wrong, what it costs, and to
ask the user before running the fix. It leads the output rather than trailing
it, so a long result cannot bury it and a client that truncates cannot drop it.
Under --json it arrives as a skill_notice field; over linkly mcp it is a
separate content block ahead of the answer, sent once per process.
A missing skill is reported on every run — deciding it costs one filesystem check, and throttling it means one unrelated process can silence it for every session in the next four hours. The out-of-date notices do read the update server, so those are throttled to once every four hours. To turn it all off:
linkly mcp inherits the environment, so setting it in an MCP client's config
silences the bridge too.
update follows the shape of each install: a symlink is left to the store it
points at, a git checkout is reported rather than overwritten, and a real
directory is replaced with the previous copy moved aside until the new one
verifies. Only the linkly-ai subdirectory is ever touched — the surrounding
skills directory belongs to whatever else you have installed there.
Detection also looks at linkly-ai-skills, the directory name produced by
installs made during a 37-hour window in March 2026 when SKILL.md carried the
repository name in its name: field. Those copies work, so reporting them as
missing would be a false alarm; status labels the path as legacy, and
install / update still write only to linkly-ai.
Connection Modes
The CLI supports three connection modes:
Note: Without
--lanor--remotethe CLI only talks to the desktop on this machine.--lan,--remoteand--endpointare mutually exclusive;--endpointand--tokenare required together and ignore the saved LAN connection.
Remote mode setup
The link works on any device — open it on your phone if the CLI runs on a server. It is valid for 10 minutes; the page shows which account you are authorizing and the code to compare with your terminal.
Agents, or anything that cannot wait in the foreground, split the login in two steps. Run both in the same environment and config directory:
--wait stops after 300 seconds (--timeout to change); run it again while the link is
still valid. In --json mode failures carry a code: timeout, expired, denied,
no_pending_login, login_in_progress (use --wait, or --restart to start over),
already_logged_in (run linkly auth logout first) and network. Every message names
the command to run next.
Prefer to paste a key? Create one in the dashboard and save it instead:
LAN mode setup
Managing saved credentials
The remote API key and the LAN connection live side by side in ~/.linkly/credentials.json
(owner-only permissions); saving or removing one never touches the other.
logout also revokes a key that auth login issued. A key saved with set-key is only
removed locally, since it may be in use elsewhere — revoke it in the dashboard if needed.
Set LINKLY_API_KEY to use a key without saving it, for example in a container or in an MCP
client's env block. It takes precedence over the saved key for every --remote command.
Set LINKLY_CONFIG_DIR to keep credentials (and a login waiting for approval) somewhere other than ~/.linkly — for
example one directory per user when an agent serves several people from the same
system account. Each directory holds one account. Discovery of the local desktop app
(~/.linkly/port) is not affected.
Options
Connection options (--lan, --endpoint, --token, --remote) are available on search, find-paths, explore, grep, outline, read, list, note-save, status, doctor, and list-libraries commands. mcp accepts only --remote. --json and --client are available on all commands.
Naming yourself with --client
Desktop keeps a local access log of every MCP call so the user can see which AI
applications read their documents. --client <name> is how a call gets a name
there; without it the entry shows only where the call came from (local, LAN,
remote).
If you are an agent driving this CLI, always pass it:
linkly mcp does not need it: the bridge uses the name the connecting application
gives itself. Pass --client there only to override that name
(linkly mcp --client cursor).
It is a label, not a credential: it grants nothing and is never checked against anything, which is also why it cannot be made required — a person typing commands in a terminal should not have to name themselves. Printable ASCII, up to 64 characters; anything else is ignored rather than rejected, so a bad value never fails a call.
Examples
Community
- Documentation — guides, integrations, and troubleshooting
- Community — every official channel in one place
- GitHub Issues — bugs and feature requests
- YouTube · X
License
Apache-2.0
來源:README.md,提交 a4757e3
工具
0版本歷史
1- v1.0.0最新Nov 23, 2026
評分
已滿足適用檢查項的 85%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通必需25 分
- 已宣告認證方式必需10 分
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分
