linkwarden-mcp
linkwarden-mcp
Linkwarden용 Model Context Protocol 서버입니다. Linkwarden은 저장된 모든 페이지의 영구 복사본을 보관하는 자체 호스팅 북마크 관리자입니다.
MCP 클라이언트 — Claude Code, Claude Desktop, Codex — 가 북마크 컬렉션을 검색하고, 컬렉션과 태그로 정리하며, 저장된 페이지의 보존된 기사 텍스트를 읽을 수 있어, 아카이브된 링크를 다시 라이브 사이트를 가져오지 않고 요약하거나 인용할 수 있습니다.
📖 전체 문서는 linkwarden-mcp.ni-c.de에서 확인하세요

참고: 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
구성
변수 | 필수 | 설명 |
| 예 | 기본 URL (예: |
| 예 | 설정 → 액세스 토큰에서 생성한 액세스 토큰 |
| 아니요 |
|
| 아니요 |
|
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-mcpClaude 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.jsDocker
docker build -t linkwarden-mcp .
docker run --rm -i \
-e LINKWARDEN_URL=https://links.example.net \
-e LINKWARDEN_TOKEN=… \
linkwarden-mcp도구
읽기
도구 | 설명 |
| 북마크 검색 또는 목록 보기. Linkwarden의 필드 필터( |
| 태그, 컬렉션, 보존된 형식의 존재 여부가 포함된 북마크 하나를 반환. |
| 저장된 페이지의 보존된 기사 텍스트. 긴 문서는 분할하여 반환. |
| 링크 수와 함께 모든 컬렉션 표시; |
| 구성원별 권한을 포함한 하나의 컬렉션. |
| 링크 수와 태그별 아카이브 설정이 포함된 태그 목록. |
| 하나의 태그. |
| Linkwarden 대시보드에 표시되는 최근 추가 및 고정된 링크. |
| 이 계정이 구독 중인 RSS 피드. |
| 토큰이 속한 계정과 아카이브 기본값을 확인. 연결 상태 확인에 유용. |
| 보존 및 검색 색인 큐 상태. 관리자 계정만 가능 — 그 외는 HTTP 403. |
쓰기
LINKWARDEN_READ_ONLY=true인 경우 전혀 등록되지 않습니다. 🔒 표시된 도구는 확인 토큰이 필요합니다.
도구 | 설명 |
| 북마크 저장, 선택적으로 태그와 컬렉션 지정 가능 (컬렉션은 필요 시 생성). |
| 제목, 설명, 태그 또는 컬렉션 변경. 🔒 URL이 변경될 때만 필요. |
| 이 계정의 링크를 고정 또는 고정 해제. |
| 북마크와 보존된 복사본 삭제. |
| 여러 링크에 하나의 태그 목록 및/또는 컬렉션을 적용. |
| 여러 북마크를 한 번에 삭제. |
| 기존 아카이브를 삭제하고 페이지를 다시 보존. |
| 여러 링크의 아카이브를 삭제하되 북마크는 유지. |
| 컬렉션 생성, 선택적으로 중첩 가능. |
| 컬렉션 이름 변경, 상위 컬렉션 변경 또는 공개. 🔒 공개할 때만 필요. |
| 컬렉션 삭제 — 하위 링크와 하위 컬렉션까지 함께 삭제. |
| 태그 생성 또는 아카이브 설정 변경 (이름 기준 upsert). |
| 태그 이름 변경. |
| 태그 삭제; 링크는 유지. |
| 여러 태그를 하나의 새 태그로 병합. |
| RSS/Atom 피드 구독. |
| 피드 폴링 중지. |
의도적으로 노출하지 않은 기능
액세스 토큰 관리 (
/tokens). API 자격 증명을 생성할 수 있는 도구는 권한 상승 표면이 되며, 북마크 서버가 이를 보유할 이유가 없습니다.사용자 관리 (
/users, 계정 삭제). 범위를 벗어납니다.백업 내보내기 및 가져오기 (
/migration). 내보내기는 전체 인스턴스를 모델 컨텍스트에 덤프하고, 가져오기는 인스턴스를 파괴할 수 있습니다.하이라이트. 생성하려면 보존된 문서의 정확한 문자 오프셋이 필요하지만, 모델이 의미 있게 생성할 수 없으며 Linkwarden은 기존 하이라이트를 나열하는 경로를 제공하지 않습니다.
아카이브 업로드 및 서명된
preservedURL.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 toolsdocs/reference/tools.md는 생성되는 파일입니다. 커밋된 복사본이 더 이상 코드와 일치하지 않으면 CI가 실패합니다. 문서 사이트는 docs/에 있으며 자체 package.json과 lockfile을 가지고 있습니다. VitePress는 Docker 빌드 및 전체 테스트 매트릭스에서 실행되는 루트 설치에 포함되어서는 안 됩니다.
CONTRIBUTING.md를 참조하세요.
릴리스
모든 것은 태그로 구동됩니다. 수동 게시 단계는 없습니다.
CHANGELOG.md의
[Unreleased]섹션을 새 버전으로 이동하고 날짜를 기입합니다. 릴리스 워크플로가awk로 해당 섹션을 추출하므로## [x.y.z]제목 형식이 중요합니다.package.json의version을 업데이트합니다.npm run lint && npm run build && npm run test:coverage를 실행합니다.커밋한 후, 서명된 주석 태그를 만듭니다:
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 toolsbulk_delete_linksDelete many links at onceADestructive
Deletes a set of bookmarks and all their preserved copies. Two-step: the first call returns a confirmation token that is bound to exactly this set of ids — adding an id afterwards invalidates it.
Inputs: link_ids (required), confirm_token.
bulk_update_linksRetag or move many links at onceADestructive
Applies the same tag list and/or target collection to a set of links. Cheaper than one update_link per link, but far blunter: it can only set tags and move collections, and the tag list applies to every link in the set.
With replace_tags=true the given tags REPLACE whatever each link had, so an empty tag list strips all tags from all of them. With replace_tags=false the tags are added to the existing ones. Either way this needs a confirmation token, because it rewrites many records at once.
Inputs: tags (required), link_ids (required), replace_tags (required), collection_id, +1 more.
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_linkCreate a linkA
Saves a bookmark. Linkwarden fetches the page title itself when no name is given, and queues the page for preservation according to the account defaults (get_current_user shows them).
The collection is optional; without one the link lands in "Unorganized". Naming a collection that does not exist creates it. If the account has "prevent duplicate links" enabled, saving a URL twice fails with HTTP 409.
Linkwarden does the fetching, so a URL addressing its own loopback, the link-local range or a cloud metadata endpoint is refused here. A private LAN address is accepted by this server, but Linkwarden 2.14 and later refuse to preserve one themselves — the bookmark is created and stays without an archive, so get_link_content will have nothing to return.
Inputs: url (required), name, tags, description, +2 more.
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 settingsAIdempotent
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 collectionADestructive
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_linkDelete a linkADestructive
Deletes a bookmark and every preserved copy of the page. Two-step: the first call returns a confirmation token, the second call with that token performs the deletion.
Inputs: link_id (required), confirm_token.
delete_link_preservationsDelete the preserved copies of linksADestructive
Removes the archived screenshot, PDF, readable text and single-file HTML of a set of links while keeping the bookmarks themselves. Useful to reclaim disk space. Unlike represerve_link this does NOT re-archive anything — use that tool if the copies should be recreated.
Inputs: link_ids (required), confirm_token.
delete_rss_subscriptionDelete an RSS subscriptionADestructive
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 tagsADestructive
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 collectionARead-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 accountARead-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 linksARead-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_linkGet a linkARead-only
Fetches one bookmark with its tags, collection and which preserved formats exist. Does not include the archived page text — use get_link_content for that.
Inputs: link_id (required).
get_link_contentRead the preserved text of a linkARead-only
Returns the readable article text Linkwarden extracted and stored when it preserved the page, so a saved bookmark can be read without fetching the live site. Only the readable format is served: the screenshot, PDF and single-file HTML archives are binary or raw markup and are not useful as text.
Long articles are returned in slices — pass the offset from the previous result to continue. If the link has no readable archive, the tool says so and represerve_link can create one.
Inputs: link_id (required), offset, max_chars.
get_tagGet a tagARead-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 statisticsARead-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 collectionsARead-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 subscriptionsARead-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 tagsARead-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 oneADestructive
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 tagAIdempotent
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).
represerve_linkPreserve a link againADestructive
Has Linkwarden archive the page again. This first DELETES the existing preserved copies and only then re-queues the link, so if the site is gone or now blocks the archiver, the old copies are lost and nothing replaces them. That is why it needs a confirmation token.
The work happens in a background worker; get_worker_stats shows the queue.
Inputs: link_id (required), confirm_token.
search_linksSearch and list linksARead-only
Searches bookmarks, or lists them when no query is given. This is the way to find links — there is no separate list tool, and the older /links listing route is deprecated upstream.
Plain text matches the title, URL, description and tag names of a link.
IMPORTANT: the field-filter syntax below only works on instances that run
Meilisearch. Linkwarden parses those filters exclusively in its Meilisearch
branch; without it the whole query is matched as one literal substring, so
tag:news searches for the characters "tag:news" and finds nothing. Use the
collection_id, tag_id and pinned_only arguments instead — those are applied by
the database and work either way. list_collections and list_tags give you the ids.
Where Meilisearch is available the filters are: url: name: description: type: collection: tag: pinned: public: before: after: Quote values that contain spaces, e.g. collection:"Read later". Prefix a filter with ! to negate it, e.g. !tag:archive. pinned: and public: take true or false; before: and after: take a date such as 2026-01-31. If the instance sets SEARCH_FILTER_LIMIT, field filters beyond that count are dropped silently, so prefer few, specific filters.
Returns at most 100 links plus a next_cursor for the following page. Article text is not included; use get_link_content for that.
Inputs: sort, query, cursor, tag_id, +2 more.
set_link_pinnedPin or unpin a linkAIdempotent
Pins a link to the account's dashboard, or removes the pin. Pins are per account, so this only affects the account the token belongs to. Pinned links can be listed with search_links and pinned_only=true.
Inputs: pinned (required), link_id (required).
update_collectionUpdate a collectionAIdempotent
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.
update_linkUpdate a linkAIdempotent
Changes a bookmark. Fields that are not given stay as they are: the tool reads the link first and merges, because the underlying route replaces the whole record and would otherwise clear the title, description and every tag.
The tags argument REPLACES the tag list — pass the full set you want. Moving a link to another collection only works for the collection owner.
Changing the URL is destructive and needs a confirmation token: Linkwarden deletes every preserved copy of the old page (screenshot, PDF, readable text, single-file HTML) and starts over.
Inputs: link_id (required), url, name, tags, +3 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 28 tools
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.
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.
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.
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
Related MCP Connectors
Search, save, tag, and summarize the links in your Link Crypt bookmark library.
Search, label, and manage your X (Twitter) bookmarks from any MCP client via Tweetsmash
Linked markdown notes as memory for AI apps: search, read, save and link notes over MCP.
All your bookmarks in one library. Share them with your AI agents. Read-only search over your saves.
Related MCP Servers
- FlicenseAqualityDmaintenanceEnables managing bookmarks via the Linkwarden API with token-frugal tools for listing collections and links, adding/moving/deleting links, and creating collections.7-
- AlicenseBqualityDmaintenanceEnables management of Raindrop.io bookmarks, collections, tags, and highlights via MCP tools, with support for search, bulk editing, and library auditing.17MIT
- AlicenseNot gradedqualityCmaintenanceMCP 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 PyPI1MIT
- FlicenseNot gradedqualityDmaintenanceThis MCP server connects to a Linkwarden instance, enabling semantic search, filtering, and management of bookmarks through natural language.-