Back to MCP directory
publicPublicdnsLocal runtime

linkding-mcp-server

为自托管书签管理器linkding提供的MCP服务器工具,支持通过编译二进制或JSR包方式运行

article

README

🚀 (非官方)Linkding MCP 服务器

本项目是为 Linkding 自托管书签管理器提供的 MCP 服务器,能助力你更好地管理书签。

🚀 快速开始

本服务器可助力高效使用 Linkding 书签管理器,下面为你介绍具体的安装步骤。

📦 安装指南

二进制文件编译安装

执行以下命令进行编译:

deno task compile

编译完成后,会在 ./dist/main 生成一个编译好的二进制文件。

在配置 MCP 服务器时,使用以下内容:

"mcpServers": {
  "linkding-mcp-tools": {
    "command": "/path/to/linkding-mcp-server/dist/main",
    "env": {
      "LINKDING_URL": "https://your-linkding.example.com",
      "LINKDING_API_KEY": "xxx"
    }
  }
}

其中,LINKDING_API_KEY 是在 REST API 部分的 /settings/integrations 中找到的 API 密钥。

使用 JSR 包安装

你也可以使用 JSR 包 (@uta8a/linkding-mcp-server) 进行安装。配置 MCP 服务器时使用以下内容:

"mcpServers": {
  "linkding-mcp-tools": {
    "command": "/path/to/deno",
    "args": [
      "run",
      "-Ar",
      "jsr:@uta8a/linkding-mcp-server/server"
    ],
    "env": {
      "LINKDING_URL": "https://your-linkding.example.com",
      "LINKDING_API_KEY": "xxx"
    }
  }
}
help

Runtime guide

cloud

Hosted runtime

Hosted servers run from a provider-managed environment. You usually connect the MCP client to the hosted endpoint or follow the provider's authorization flow, without keeping a local process alive

  1. Open provider connection page
  2. Authorize or copy endpoint
  3. Connect from your MCP client
terminal

Local runtime / other methods

Local servers run on your own machine or infrastructure. You normally copy the server_config into your MCP client, install the required package, and provide env variables from env_schema when needed

  1. Copy server_config
  2. Install required package
  3. Fill env variables and restart client