Introduction to MCP
MCP (Model Context Protocol) is an open protocol that enables AI assistants to call external tools to obtain contextual information. Linkly AI Desktop has a built-in MCP service that starts automatically upon installation — no additional configuration required. You only need to add Linkly AI’s MCP endpoint to your AI assistant, and the AI can directly search, browse, and read your local documents.Three Access Modes
Linkly AI provides three MCP access modes for different scenarios:Local Access
Use directly in local AI tools on your machine — no extra configuration needed. Suitable for Claude Code, Cursor, and other local applications.Endpoint:
http://127.0.0.1:60606/mcpLAN Access
Other devices on the same network can also connect. Requires enabling LAN access and using an access token.Endpoint:
http://{LAN IP}:60606/mcpRemote Access (Public)
Remotely access over the public internet via a tunnel. Suitable for online AI applications like ChatGPT and Claude.ai.Endpoint:
https://mcp.linkly.ai/mcpHTTP MCP (Recommended)
Most AI assistants support the HTTP transport protocol. Connect directly to
Linkly AI’s MCP endpoint without installing the CLI
Stdio MCP
Some AI assistants only support the stdio transport protocol and require
Linkly AI CLI as a bridge
Prerequisites
Install and launch Linkly AI Desktop
Go to linkly.ai to download and install the desktop application. After the first launch, complete the initialization wizard, and the app will automatically begin indexing your documents.
If you choose the Stdio MCP method, you also need to install Linkly AI
CLI.
Usage
HTTP MCP (Recommended)
For AI assistants that support HTTP/StreamableHTTP transport protocol. No CLI installation needed — connect directly.- Claude Code
- Cursor
- Codex
- Cherry Studio
Run in your terminal:
Stdio MCP
For AI assistants that support the stdio transport protocol. You need to install Linkly AI CLI first, then configurelinkly mcp as the stdio bridge command in your AI assistant.
- Claude Code
- Codex
- Cherry Studio
- Other AI Assistants
Run in your terminal:
LAN Access
If you need to access Linkly AI from another device on the same network (such as another computer or n8n running on a NAS), you can enable LAN access mode.Enable LAN access
In Linkly AI Desktop, go to Settings → MCP, find the “LAN Access” section, and toggle it on.
Get the LAN URL and access token
Once enabled, the interface will display:
- LAN URL: similar to
http://192.168.x.x:60606/mcp - Access Token: a random string
Verify Integration
After configuration, you can send the following prompt in your AI assistant to verify:Search my documents for content about XX
search tool and return relevant results from your local documents.
Use with Skills
We strongly recommend installing Linkly AI Skills alongside MCP configuration. Skills teach the AI assistant how to efficiently use Linkly AI’s tools, including when to search, when to browse outlines, when to read full text, and how to handle paginated reading of long documents.Please install the Agent Skill linkly-ai-skills and complete the LinklyAI tool integration...
Parameter Reference
The MCP service exposes three tools:search (retrieval), outline (outline), and read (read), forming a progressive document access workflow.
Please refer to the tool documentation: Linkly AI MCP Tools Introduction
