What Is Remote Access
Linkly AI runs on your local machine, while online AI applications like ChatGPT and Claude.ai run in the cloud — they cannot directly reach the MCP server for your local knowledge base. Remote Access establishes a secure tunnel between your desktop app and the cloud, relaying requests over the public internet:- The desktop app opens a WebSocket tunnel connection to
mcp.linkly.ai - After OAuth authorization, the online AI application sends MCP requests to
https://mcp.linkly.ai/mcp - The cloud service forwards those requests through the tunnel to your desktop app, which executes them and returns the results
mcp.linkly.ai is a cloud MCP relay service maintained by Linkly AI. Data passes through it anonymously, and Linkly AI only records usage counts for display purposes.Which one should I use
Remote Access and Cloud Libraries both let a cloud-hosted AI read your material, but they solve problems in different directions:
You can use both at once; they don’t conflict.
Configuration Steps
1
Sign in to Linkly AI and upgrade to Pro
In the desktop app, go to Settings → Account and click Sign In. Once you authorize in the browser you’re brought back to the app automatically. Your API key is fetched automatically after you sign in — no copying and pasting from the dashboard required.Remote Access requires a Pro subscription, which you can upgrade to on the pricing page.
2
Turn on remote access in the desktop app
- Click the Agent icon at the bottom of the main window’s left sidebar to open the Agent usage page
- Under Management, turn on Allow remote access (internet). Allow local access must stay on too, or this switch can’t be turned on
- Wait for the status to show ● Connected. If it shows Not signed in and the switch turns itself off, you aren’t signed in yet — finish the previous step first
- The public address is under View MCP connection settings in the Integration section: the Remote (internet) part of the dialog has the address and a ready-to-copy config
3
Add the MCP service in your AI application
In AI applications that support MCP (such as ChatGPT or Claude.ai), add the following MCP endpoint:The first time you add it, an OAuth authorization flow is triggered. Follow the prompts to sign in and authorize in your browser.For per-application setup instructions, see the Integration Overview.
Connection statuses
The Allow remote access (internet) row shows the tunnel’s connection status, and so does the Remote (internet) part of the connection settings dialog. Reading this status tells you where the problem is:OAuth Authorization Explained
When online AI applications like ChatGPT and Claude.ai connect to a remote MCP service for the first time, an OAuth 2.1 authorization flow is automatically triggered:- The AI application detects that the MCP endpoint requires authorization
- It automatically redirects to the linkly.ai sign-in page. A new account signing in for the first time first lands on the Complete your profile page to set a display name and username
- The authorization page states which domain “you’ll be redirected to” once you allow access; make sure it’s the AI application you’re using (such as
claude.aiorchatgpt.com), then click Allow - The AI application receives an access token, and subsequent requests carry it automatically — no need to re-authorize
Security Considerations
- Protect your credentials: Tunnel credentials are the key to your local knowledge base — don’t share them, and don’t paste them into any AI conversation (ChatGPT, Claude, Cursor, Codex, Doubao, Kimi, and so on): conversations are sent to the model provider and kept in the chat history. Online AI apps connect through OAuth, and AI assistants using the CLI sign in with
linkly auth login, so you never need to copy the key. If the key has appeared in a conversation or you suspect it has been compromised, revoke and regenerate the API key in the dashboard - HTTPS transmission: The remote tunnel uses HTTPS/WSS encryption end to end
- Revoke anytime: You can disconnect the tunnel from the desktop app at any time. Revoking the API key in the dashboard prevents new connections and reconnections, but won’t immediately terminate an already-established tunnel session; AI apps connected over OAuth are revoked under Authorized apps on the Integrations page
- Sensitive information hidden automatically: content returned over remote MCP first has more than 200 kinds of sensitive information — API keys, passwords, private keys, bank card numbers, ID numbers and so on — replaced with
[REDACTED:<type>]markers before it reaches the AI app. Notes aren’t redacted for now, so that an AI editing a note doesn’t overwrite the original text. This lowers the risk of leaks but isn’t foolproof: keep your most important material out of the index with exclusion rules. Local and LAN connections don’t go through the cloud and aren’t redacted - Data never leaves your machine: Your document data always stays on your local computer — the tunnel only forwards MCP tool call requests and responses
FAQ
Status shows Pro required
Status shows Pro required
This means the current account isn’t Pro — the server rejects the tunnel handshake outright (HTTP 402).There are two ways forward:
- Upgrade to Pro: upgrade on the pricing page, then turn the Allow remote access (internet) switch back on
- Switch to a Cloud Library: push the material you need remote access to into the cloud. It works on free accounts, and it’s searchable with your computer off
One pitfall worth knowing: even when you’re using a Cloud Library, you must name the library explicitly at query time (
library="cloud://owner/slug"). If the library parameter is omitted, the request routes back to your own machine by default — that is, through the tunnel — and free accounts get the Pro prompt on that path.Status shows Not signed in
Status shows Not signed in
Work through this in order:
- Confirm that Settings → Account shows Connected to Linkly AI Cloud; if it doesn’t, sign in first
- If you entered an API key manually, check that it was pasted in full (it starts with
lkai_) and that it hasn’t been revoked in the dashboard - Generate a new API key in the dashboard, or simply sign out and sign in again so the app fetches one automatically
Desktop is offline, remote calls return an error
Desktop is offline, remote calls return an error
The remote MCP service requires the desktop app to be running with the tunnel connected. If the desktop app is closed or the tunnel drops, remote calls immediately return a 503 error.Make sure:
- Linkly AI Desktop is running
- The MCP server is running (the Allow local access row under Management on the Agent usage page shows Running)
- The tunnel status is ● Connected
The tunnel keeps dropping
The tunnel keeps dropping
The tunnel reconnects automatically after a drop, with no limit on attempts; the retry interval starts at 1 second and doubles each time, up to 120 seconds. While reconnecting, the status shows Connecting. If it drops frequently, check:
- Whether your network connection is stable
- Whether the credentials are still valid
Further reading
- Integration Overview — the four connection paths and how to choose
- Using Cloud Libraries — the free path that doesn’t need your computer on
- Using MCP — local and LAN modes
- Linkly AI Account — sign-in, Pro, and API keys

