Skip to main content
Glama

linkwarden-mcp

CI npm downloads container node license docs

Linkwarden용 Model Context Protocol 서버입니다. Linkwarden은 저장된 모든 페이지의 영구 복사본을 보관하는 자체 호스팅 북마크 관리자입니다.

MCP 클라이언트 — Claude Code, Claude Desktop, Codex — 가 북마크 컬렉션을 검색하고, 컬렉션과 태그로 정리하며, 저장된 페이지의 보존된 기사 텍스트를 읽을 수 있어, 아카이브된 링크를 다시 라이브 사이트를 가져오지 않고 요약하거나 인용할 수 있습니다.

📖 전체 문서는 linkwarden-mcp.ni-c.de에서 확인하세요

Demo

참고: Linkwarden의 공개 API 참조는 불완전합니다. 이 서버는 linkwarden/linkwarden의 apps/web/pages/api/v1/** 라우트와 packages/lib/schemaValidation.ts의 요청 스키마를 기준으로 작성되었으며, v2.16.0 (2026-08-17)에서 확인되었습니다. 이 두 파일이 여기에 있는 모든 도구의 진실 공급원(source of truth)입니다.

요구 사항

  • Node.js ≥ 22

  • 실행 중인 Linkwarden 인스턴스

  • 설정 → 액세스 토큰에서 생성한 액세스 토큰

Linkwarden에는 토큰별 범위가 없습니다. 토큰은 생성한 계정의 모든 권한을 가집니다. 이 서버가 접근해야 하는 컬렉션에만 접근할 수 있는 전용 계정을 만들고, 관리자 토큰을 넘겨주지 마세요.

Related MCP server: raindrop-mcp

구성

변수

필수

설명

LINKWARDEN_URL

예

기본 URL (예: https://links.example.net, /api/v1 제외)

LINKWARDEN_TOKEN

예

설정 → 액세스 토큰에서 생성한 액세스 토큰

LINKWARDEN_READ_ONLY

아니요

true로 설정하면 읽기 도구만 등록

LINKWARDEN_INSECURE_TLS

아니요

true로 설정하면 자체 서명 인증서 허용 (이 연결에만 적용)

https://를 사용하세요. 일반 http를 사용하면 토큰이 암호화되지 않고 전송됩니다. 호스트가 로컬이 아닌 경우 서버에서 경고를 출력합니다. 자체 서명 인증서의 경우 LINKWARDEN_INSECURE_TLS보다는 적절한 내부 CA를 사용하는 것이 좋습니다.

토큰은 읽힌 후 프로세스 환경에서 제거되므로, 자식 프로세스나 /proc/<pid>/environ에서 볼 수 없습니다.

자격 증명 없이도 서버는 시작되고 도구 목록을 표시하므로, 레지스트리나 검사 도구가 내부를 들여다볼 수 있습니다. 그러나 모든 호출은 API에 도달하는 대신 설정 안내와 함께 실패합니다.

설치

Claude Code

claude mcp add linkwarden -e LINKWARDEN_URL=https://links.example.net -e LINKWARDEN_TOKEN=… -- npx -y linkwarden-mcp

Claude Desktop

{
  "mcpServers": {
    "linkwarden": {
      "command": "npx",
      "args": ["-y", "linkwarden-mcp"],
      "env": {
        "LINKWARDEN_URL": "https://links.example.net",
        "LINKWARDEN_TOKEN": "…"
      }
    }
  }
}

Codex

[mcp_servers.linkwarden]
command = "npx"
args = ["-y", "linkwarden-mcp"]
env = { LINKWARDEN_URL = "https://links.example.net", LINKWARDEN_TOKEN = "…" }

소스에서

npm install && npm run build
LINKWARDEN_URL=https://links.example.net LINKWARDEN_TOKEN=… node dist/index.js

Docker

docker build -t linkwarden-mcp .
docker run --rm -i \
  -e LINKWARDEN_URL=https://links.example.net \
  -e LINKWARDEN_TOKEN=… \
  linkwarden-mcp

도구

읽기

도구

설명

search_links

북마크 검색 또는 목록 보기. Linkwarden의 필드 필터(tag:, collection:, before:, ! …) 지원.

get_link

태그, 컬렉션, 보존된 형식의 존재 여부가 포함된 북마크 하나를 반환.

get_link_content

저장된 페이지의 보존된 기사 텍스트. 긴 문서는 분할하여 반환.

list_collections

링크 수와 함께 모든 컬렉션 표시; parentId로 중첩 구조 표현.

get_collection

구성원별 권한을 포함한 하나의 컬렉션.

list_tags

링크 수와 태그별 아카이브 설정이 포함된 태그 목록.

get_tag

하나의 태그.

get_dashboard

Linkwarden 대시보드에 표시되는 최근 추가 및 고정된 링크.

list_rss_subscriptions

이 계정이 구독 중인 RSS 피드.

get_current_user

토큰이 속한 계정과 아카이브 기본값을 확인. 연결 상태 확인에 유용.

get_worker_stats

보존 및 검색 색인 큐 상태. 관리자 계정만 가능 — 그 외는 HTTP 403.

쓰기

LINKWARDEN_READ_ONLY=true인 경우 전혀 등록되지 않습니다. 🔒 표시된 도구는 확인 토큰이 필요합니다.

도구

설명

create_link

북마크 저장, 선택적으로 태그와 컬렉션 지정 가능 (컬렉션은 필요 시 생성).

update_link

제목, 설명, 태그 또는 컬렉션 변경. 🔒 URL이 변경될 때만 필요.

set_link_pinned

이 계정의 링크를 고정 또는 고정 해제.

delete_link 🔒

북마크와 보존된 복사본 삭제.

bulk_update_links 🔒

여러 링크에 하나의 태그 목록 및/또는 컬렉션을 적용.

bulk_delete_links 🔒

여러 북마크를 한 번에 삭제.

represerve_link 🔒

기존 아카이브를 삭제하고 페이지를 다시 보존.

delete_link_preservations 🔒

여러 링크의 아카이브를 삭제하되 북마크는 유지.

create_collection

컬렉션 생성, 선택적으로 중첩 가능.

update_collection

컬렉션 이름 변경, 상위 컬렉션 변경 또는 공개. 🔒 공개할 때만 필요.

delete_collection 🔒

컬렉션 삭제 — 하위 링크와 하위 컬렉션까지 함께 삭제.

create_tags

태그 생성 또는 아카이브 설정 변경 (이름 기준 upsert).

rename_tag

태그 이름 변경.

delete_tags 🔒

태그 삭제; 링크는 유지.

merge_tags 🔒

여러 태그를 하나의 새 태그로 병합.

create_rss_subscription

RSS/Atom 피드 구독.

delete_rss_subscription 🔒

피드 폴링 중지.

의도적으로 노출하지 않은 기능

  • 액세스 토큰 관리 (/tokens). API 자격 증명을 생성할 수 있는 도구는 권한 상승 표면이 되며, 북마크 서버가 이를 보유할 이유가 없습니다.

  • 사용자 관리 (/users, 계정 삭제). 범위를 벗어납니다.

  • 백업 내보내기 및 가져오기 (/migration). 내보내기는 전체 인스턴스를 모델 컨텍스트에 덤프하고, 가져오기는 인스턴스를 파괴할 수 있습니다.

  • 하이라이트. 생성하려면 보존된 문서의 정확한 문자 오프셋이 필요하지만, 모델이 의미 있게 생성할 수 없으며 Linkwarden은 기존 하이라이트를 나열하는 경로를 제공하지 않습니다.

  • 아카이브 업로드 및 서명된 preserved URL. NEXT_PUBLIC_USER_CONTENT_DOMAIN이 구성되어 있어야 합니다.

  • 더 이상 사용되지 않는 GET /links 목록 경로 — search_links는 대신 GET /search를 사용하며, Linkwarden 자체에서 권장하는 방식입니다.

안전

  • 파괴적 도구는 두 단계로 이루어집니다. 첫 번째 호출은 정확한 대상에 바인딩된 수명이 짧은 확인 토큰을 반환하며, 두 번째 호출이 그 토큰을 가지고 있어야 작업이 수행됩니다. 모델은 이 게이트를 스스로 충족할 수 없으며, 한 링크, 태그 집합 또는 변경에 대해 발급된 토큰은 다른 용도로 재사용될 수 없습니다.

  • 가시성 확대는 파괴적 행위로 간주됩니다. 컬렉션 공개 및 링크 URL 변경(이전 페이지의 모든 보존 복사본이 삭제됨)은 모두 확인이 필요하며, 단순 삭제만 해당되지 않습니다.

  • 확인 프롬프트는 Linkwarden의 내용을 인용하지 않습니다. 제목, URL, 설명 및 컬렉션 이름은 저장된 페이지와 인스턴스의 다른 사용자로부터 비롯되며, 모델이 읽는 텍스트에는 숫자와 ID만 표시됩니다.

  • 반환된 콘텐츠는 신뢰할 수 없는 데이터로 표시되며, 특히 보존된 기사 텍스트는 대상 사이트를 제어하는 사람이 작성한 것입니다.

  • 부분 업데이트는 필드를 지우지 않습니다. Linkwarden의 업데이트 경로는 전체 레코드를 교체하므로, 이 서버는 현재 상태를 읽고 병합합니다. 그렇지 않으면 업데이트 시 링크의 태그나 컬렉션의 협력자가 조용히 사라집니다.

  • 200 응답만으로 신뢰하지 않습니다. 여러 Linkwarden 경로는 HTTP 200과 본문에 오류 문장으로 실패를 보고하며, 사용된 메서드에 대한 핸들러가 없는 경로는 아무것도 없이 200으로 응답합니다. 이 두 경우 모두 성공적인 쓰기 대신 오류로 보고됩니다.

  • 오류 본문은 잘리고, HTML 오류 페이지는 완전히 삭제되며, 리디렉션은 절대 따르지 않습니다(따라서 Bearer 토큰이 다른 호스트로 재사용될 수 없음). 모든 요청에는 타임아웃이 설정되어 있습니다.

  • LINKWARDEN_READ_ONLY=true는 쓰기 도구를 전혀 등록하지 않습니다.

  • 잔여 위험: 구성한 토큰의 권한 범위 내에서, 사용자가 확인한 후 모델이 파괴적인 작업을 수행하도록 요청받으면 실제로 수행될 수 있습니다. 계정의 범위를 좁히고, 호스트 수준의 권한 프롬프트를 유지하세요.

개발

npm install
npm run build
npm test
npm run test:coverage
npm run lint
npm run format
npm run docs:tools     # regenerate docs/reference/tools.md from the registered tools

docs/reference/tools.md는 생성되는 파일입니다. 커밋된 복사본이 더 이상 코드와 일치하지 않으면 CI가 실패합니다. 문서 사이트는 docs/에 있으며 자체 package.json과 lockfile을 가지고 있습니다. VitePress는 Docker 빌드 및 전체 테스트 매트릭스에서 실행되는 루트 설치에 포함되어서는 안 됩니다.

CONTRIBUTING.md를 참조하세요.

릴리스

모든 것은 태그로 구동됩니다. 수동 게시 단계는 없습니다.

  1. CHANGELOG.md의 [Unreleased] 섹션을 새 버전으로 이동하고 날짜를 기입합니다. 릴리스 워크플로가 awk로 해당 섹션을 추출하므로 ## [x.y.z] 제목 형식이 중요합니다.

  2. package.json의 version을 업데이트합니다.

  3. npm run lint && npm run build && npm run test:coverage를 실행합니다.

  4. 커밋한 후, 서명된 주석 태그를 만듭니다:

    git tag -s v0.1.1 -m "v0.1.1"
    git push origin main v0.1.1

그러면 release.yml이 태그가 package.json과 일치하는지 확인하고, Trusted Publishing(OIDC — 유출될 npm 토큰이 없음)을 통해 증명(provenance)과 함께 npm에 게시하며, 두 server.json 패키지 항목에 버전을 동기화하고, MCP 레지스트리에 게시한 후, 변경 로그 섹션에서 GitHub 릴리스를 생성합니다. ci.yml은 병렬로 멀티 아키텍처 컨테이너 이미지를 GHCR에 푸시합니다.

레지스트리 단계가 실패하면 main에서 수정하고 mcp-registry.yml 워크플로를 수동으로 실행하십시오. 실패한 작업을 다시 실행하는 것은 옵션이 아닙니다. 불변 태그를 체크아웃하므로 main의 수정 사항이 해당 태그에 도달할 수 없습니다.

라이선스

MIT © Willi Thiel

Available Tools

28 tools
create_collectionCreate a collectionA

Creates a collection. Pass parent_id to nest it under an existing collection. New collections are private; use update_collection to publish one.

Inputs: name (required), color, parent_id, description.

create_rss_subscriptionSubscribe to an RSS feedA

Subscribes to an RSS or Atom feed. Linkwarden polls it and files every new entry as a link in the given collection, preserving the pages according to the account defaults.

Linkwarden fetches the feed once immediately, so an unreachable feed fails right away. Because that fetch happens on the Linkwarden server, a URL addressing its own loopback or the link-local range is refused here before the request is made. That check covers the feed URL only — Linkwarden creates and preserves a link for every entry the feed contains, and on versions before 2.14 it does not check those addresses at all. Do not subscribe to a feed you do not trust. Subscription names must be unique per account, and instances cap the number of subscriptions (20 by default).

Inputs: url (required), name (required), collection_id, collection_name.

create_tagsCreate tags or change their archival settingsA
Idempotent

Creates tags, or updates the ones that already exist — the underlying route is an upsert keyed on the tag name. This is also the only way to set the per-tag archival overrides, which decide how links carrying the tag get preserved.

Note that tags are usually created implicitly by create_link and update_link; use this tool when the archival settings matter, or to create a tag before any link uses it.

Inputs: names (required), ai_tag, archive_as_pdf, archive_as_monolith, +3 more.

delete_collectionDelete a collectionA
Destructive

Deletes a collection. This cascades: every link inside it, every preserved copy of those pages, and every sub-collection below it are deleted too. Two-step: the first call reports how many links would be lost and returns a confirmation token.

Inputs: collection_id (required), confirm_token.

delete_rss_subscriptionDelete an RSS subscriptionA
Destructive

Stops polling a feed. Links that were already created from it stay where they are — only the subscription goes away.

Inputs: rss_subscription_id (required), confirm_token.

delete_tagsDelete tagsA
Destructive

Deletes one or more tags. The links keep existing, they just lose the tag. Two-step: the first call returns a confirmation token bound to exactly this set of ids.

Inputs: tag_ids (required), confirm_token.

get_collectionGet a collectionA
Read-only

Fetches one collection with its link count and the per-member create/update/delete permissions. Use search_links with collection_id to get the links inside it.

Inputs: collection_id (required).

get_current_userGet the authenticated accountA
Read-only

Reports which Linkwarden account the configured token belongs to and that account's archival defaults — which formats new links get preserved in, and whether duplicate URLs are rejected. Useful as a connectivity check and before creating links, because the defaults decide what get_link_content will later have to read.

Inputs: no named parameters.

get_dashboardGet the dashboard linksA
Read-only

Returns the links Linkwarden shows on its dashboard: the most recently added ones together with everything the account has pinned, deduplicated. A quick "what is going on here" overview — use search_links for anything targeted.

Inputs: no named parameters.

get_tagGet a tagA
Read-only

Fetches one tag with its archival settings. Use search_links with tag_id to get the links carrying it.

Inputs: tag_id (required).

get_worker_statsGet preservation queue statisticsA
Read-only

Reports how many links are waiting to be preserved, how many succeeded and how many failed, plus the search-index backlog. Use it to find out whether a page requested through represerve_link has been archived yet.

Requires the instance administrator account (the id in NEXT_PUBLIC_ADMIN, 1 by default); every other account gets HTTP 403 here. The counts cover the whole instance, not just this account.

Inputs: no named parameters.

list_collectionsList collectionsA
Read-only

Lists every collection the authenticated account owns or is a member of, with its link count. The list is flat: nesting is expressed through parentId, where null means the collection sits at the top level. Linkwarden does not page this route, so all collections come back at once.

Inputs: no named parameters.

list_rss_subscriptionsList RSS subscriptionsA
Read-only

Lists the RSS feeds this account subscribes to. Linkwarden polls them and files new entries as links in the configured collection.

Inputs: no named parameters.

list_tagsList tagsA
Read-only

Lists the tags of the authenticated account with the number of links each one is attached to. Tags cut across collections. The per-tag archival settings are included: null there means "inherit the account default", which is not the same as false.

Inputs: sort, cursor, search.

merge_tagsMerge tags into oneA
Destructive

Folds several tags into a single new one: every link that carried any of the source tags gets the new tag, and the source tags are deleted.

Two things to know before calling this. The new tag is created from scratch, so the name must not already be in use by this account — merging into an existing name fails. And the per-tag archival settings of the source tags are not carried over; set them again with create_tags afterwards if they mattered.

Inputs: tag_ids (required), new_name (required), confirm_token.

rename_tagRename a tagA
Idempotent

Renames a tag; every link carrying it keeps it. Tag names are unique per account, so renaming a tag to a name that already exists fails — use merge_tags to fold two tags into one instead.

Inputs: name (required), tag_id (required).

update_collectionUpdate a collectionA
Idempotent

Changes a collection. Fields that are not given stay as they are: the tool reads the collection first and merges, because the underlying route rebuilds the member list from the request body and would otherwise remove every collaborator.

Only the owner of a collection may update it. To move a collection to the top level pass parent_id=0 — Linkwarden needs an explicit marker for that and ignores null.

Setting is_public=true needs a confirmation token: it makes the collection and every link in it readable by anyone who has the URL, without logging in.

Inputs: collection_id (required), name, color, is_public, +3 more.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4.2/5.0

    Scored across 28 tools

    Disambiguation5/5

    Every tool targets a distinct resource/action combination: reads are list/get, mutations are create/update/delete, bulk operations carry a bulk_ prefix, and preservation/RSS/pinning have dedicated verbs. Near-neighbor tools like delete_link vs delete_link_preservations are clearly separated by their nouns and descriptions.

    Naming Consistency5/5

    All tool names follow a consistent snake_case verb_noun pattern, with list/get for reads, create/update/delete for writes, bulk_ for multi-item operations, and set_/represerve_/merge_ for special actions. The singular/plural distinction between single-item and bulk tools reinforces the pattern rather than breaking it.

    Tool Count3/5

    28 tools is on the heavy side and exceeds the typical comfortable range, though the set covers several distinct subdomains: links, preservation, collections, tags, RSS, and account/worker status. No tool is pure filler, but the count feels more like a full API wrapper than a tightly scoped MCP server.

    Completeness5/5

    The tool surface provides full lifecycle coverage for links, collections, and tags, plus bulk operations, preservation controls, RSS subscription management, and background-worker monitoring. There are no obvious dead ends: search_links covers listing, get_link_content reads archived text, and represerve_link/delete_link_preservations handle preservation lifecycle.

    Maintenance

    ActivityNo data
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      A
      quality
      D
      maintenance
      Enables managing bookmarks via the Linkwarden API with token-frugal tools for listing collections and links, adding/moving/deleting links, and creating collections.
      7
      -
    • A
      license
      B
      quality
      D
      maintenance
      Enables management of Raindrop.io bookmarks, collections, tags, and highlights via MCP tools, with support for search, bulk editing, and library auditing.
      17
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      MCP server for Linkwarden bookmarks providing read-first search and preserved content access with opt-in write, delete, and collection-delete tools, plus heuristic triage workflows.
      128 PyPI
      1
      MIT