faved-mcp
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@faved-mcp search my bookmarks for python tutorials"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
faved-mcp
An MCP server for Faved, the open-source bookmark manager.
It exposes Faved's bookmarks, hierarchical tags (folders), metadata, imports and exports as MCP tools, so any MCP client (Claude Desktop, Cursor, Hermes, custom agents) can read and organize a collection without screen-scraping or direct SQLite access.
Works against any Faved instance: self-hosted or cloud.
API-only: no database coupling, no Faved core changes.
Read-only by default; write tools are opt-in.
Ships both as a Python package and as a Docker layer on top of the official Faved image.
Status
v0.1.0: 18 tools, API-only, read-only by default. Tests cover the client and every tool group; the stdio and HTTP transports are verified end to end.
Related MCP server: ChatGPT Bookmark Site MCP Server
Install
pip install faved-mcp
faved-mcp setupsetup asks for your Faved URL, the username and password you already use, checks the
login, and writes ~/.config/faved-mcp/config.json (mode 600). Then point your MCP
client at faved-mcp; no other configuration is needed.
The package is also attached to the v0.1.0 release if you prefer a pinned wheel:
pip install https://github.com/bc1pzzfnxl/faved-mcp/releases/download/v0.1.0/faved_mcp-0.1.0-py3-none-any.whl
faved-mcp setupEnvironment variables override the file, for Docker and CI:
export FAVED_URL=https://faved.example.com
export FAVED_USERNAME=alice
export FAVED_PASSWORD=...
faved-mcpHTTP mode, for containers and remote clients:
export FAVED_MCP_TOKEN=$(openssl rand -hex 32)
faved-mcp --transport http --host 0.0.0.0 --port 8090
# MCP endpoint: http://host:8090/mcp (Authorization: Bearer $FAVED_MCP_TOKEN)Configuration
Variable | Default | Meaning |
|
| Base URL of the Faved instance |
| — | Faved account used by the server |
| — | Its password |
|
|
|
|
| HTTP bind address |
|
| HTTP port |
| — | Bearer token required in HTTP mode |
|
| Enable mutating tools |
|
| Allow |
|
| Upstream timeout, seconds |
|
| Setup file written by |
faved-mcp setup stores your existing Faved login in the config file; environment variables take precedence. A reader account gives read-only access at the API level; an owner account is required for write tools. A separate service account is optional, not mandatory. Never expose the HTTP transport publicly without FAVED_MCP_TOKEN.
Docker
Build the layer that adds the MCP server beside Apache in the official Faved image:
docker build --load -t faved-mcp:0.1.0 .
# or keep your pinned/patched base:
docker build --load --build-arg BASE_IMAGE=faved-app:2.10.1-ro1 -t faved-mcp:0.1.0 .On a BuildKit docker-container builder, --load is required or the image stays in the build cache.
docker run --rm -p 8080:80 -p 8090:8090 \
-e FAVED_USERNAME=mcp -e FAVED_PASSWORD=... \
-e FAVED_MCP_TOKEN=$(openssl rand -hex 32) \
-e FAVED_MCP_ENABLE_WRITE=false \
-v faved-data:/var/www/html/storage \
faved-mcp:0.1.0A compose example is in docker-compose.example.yml.
The container runs supervisord with Apache and faved-mcp (HTTP, port 8090, /mcp). FAVED_URL defaults to http://127.0.0.1, so the MCP server talks to the Faved instance in the same container. Publish 8090 only on an internal network; exposing it is the operator's decision.
Development
python3 -m venv .venv
.venv/bin/pip install -e '.[dev]'
PYTHONPATH=src .venv/bin/pytest -q
.venv/bin/python scripts/smoke_stdio.py # stub Faved + MCP stdio handshakeClient configuration
{
"mcpServers": {
"faved": {
"type": "http",
"url": "https://faved-mcp.example.com/mcp",
"headers": { "Authorization": "Bearer <FAVED_MCP_TOKEN>" }
}
}
}Authentication, the dedicated Faved account and WAN exposure are explained in docs/DEPLOY.md.
Tools
See docs/TOOLS.md for the full contract. Summary:
Read: faved_status, list_bookmarks, get_bookmark, search_bookmarks, list_tags, get_tag, collection_stats, find_duplicates, fetch_url_metadata.
Write (opt-in): add_bookmark, update_bookmark, delete_bookmarks, tag_bookmarks, create_tag, update_tag, delete_tag.
Import/export: import_bookmarks, export_bookmarks.
License
MIT, same as Faved.
Available Tools
18 toolsadd_bookmarkC
Add a bookmark. Dedupe policy: error (default), return_existing or allow.
Inputs: url (required), tags, title, dedupe, +4 more. Returns: object
collection_statsA
Summarize the collection: totals, items per top-level folder, domains, untagged, duplicates.
Inputs: no named parameters. Returns: object
create_tagB
Create a tag (folder). A title containing slashes creates the hierarchy.
Inputs: title (required), color, parent, pinned, +2 more. Returns: object
delete_bookmarksA
Delete bookmarks by id. Dry run by default; an empty selection is refused.
Inputs: ids (required), dry_run. Returns: object
delete_tagB
Delete a tag and its subtree. detach keeps bookmarks; delete_items removes them too.
Inputs: tag (required), mode, dry_run. Returns: object
export_bookmarksC
Export the collection as canonical JSON, CSV or Markdown grouped by folder.
Inputs: scope, format, include_metadata. Returns: object
faved_statusA
Check the Faved instance: version, authenticated account, role and write capability.
Inputs: no named parameters. Returns: object
fetch_url_metadataA
Preview a URL through Faved's SSRF-guarded metadata endpoint without saving it.
Inputs: url (required). Returns: object
find_duplicatesC
Find bookmark groups sharing a normalized URL, with a suggested keeper (oldest id).
Inputs: scope, include_title_similarity. Returns: object
get_bookmarkA
Read one bookmark by id or exact URL, with its full metadata and tag paths.
Inputs: id, url. Returns: object
get_tagA
Read one tag by id or path: ancestors, direct children and counts; optionally its bookmarks.
Inputs: tag (required), limit, offset, include_items. Returns: object
import_bookmarksC
Import an HTML bookmarks file, a Pocket ZIP or a canonical JSON export.
Inputs: format (required), path, source_name, content_base64. Returns: object
list_bookmarksC
List bookmarks with optional tag, domain, text and date filters. Tag accepts an id or a path.
Inputs: tag, sort, limit, query, +7 more. Returns: object
list_tagsC
List the tag tree (folders), optionally with direct and subtree item counts.
Inputs: format, include_counts. Returns: object
search_bookmarksB
Search title, description, notes and URL. Title matches rank before description, then URL.
Inputs: query (required), tag, limit, domain, +1 more. Returns: object
tag_bookmarksC
Add, remove or replace tags on several bookmarks. Exactly one of add/remove/replace.
Inputs: ids (required), add, remove, replace, +1 more. Returns: object
update_bookmarkC
Update a bookmark; tags replace the existing tag set when provided.
Inputs: id, url, tags, image, +6 more. Returns: object
update_tagB
Rename, recolor, pin or move a tag; moving also moves its subtree.
Inputs: tag (required), color, title, parent, +2 more. Returns: object
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 18 tools
Most tools target a distinct resource+action pair (bookmarks vs tags vs import/export vs diagnostics), and descriptions clarify the boundaries well. Minor overlap remains between list_bookmarks and search_bookmarks (filters vs text ranking), and between update_bookmark and tag_bookmarks (both can replace tag sets), plus collection_stats vs find_duplicates/list_tags counts.
The dominant convention is snake_case verb_noun (list_bookmarks, get_tag, create_tag, delete_tag, import_bookmarks), applied consistently across the set. Deviations are minor: faved_status and collection_stats are noun phrases rather than verb-led, but still readable and unambiguous.
18 tools is slightly above the comfortable range but each maps to a real operation (bookmark CRUD, tag CRUD, bulk tagging, import/export, stats, duplicate detection, status). Nothing feels redundant enough to cut, though a couple of diagnostic tools could be consolidated.
Full lifecycle coverage: bookmarks can be listed, searched, read, added, updated, deleted (with dry run), bulk-tagged, exported, and imported, and tags have complete CRUD including subtree moves and detach/delete semantics. Auxiliary needs like duplicate cleanup, collection statistics, and URL metadata preview are also present, leaving no obvious dead ends.
Maintenance
Related MCP Connectors
Search, label, and manage your X (Twitter) bookmarks from any MCP client via Tweetsmash
Remote MCP server for full read/write access to a Zotero library
Save, search, read, tag, and organize your bookmarks from AI assistants with OAuth sign-in.
Query, browse, and automate OmegaAI workspaces from any MCP client. Streamable HTTP with OAuth 2.0.
Related MCP Servers
- AlicenseAqualityFmaintenanceA bookmark management MCP server that enables saving, searching, and managing bookmarks with tags and read/unread status, providing tools, resources, and prompts for integration.4MIT
- AlicenseNot gradedqualityDmaintenanceEnables users to search, read, and query saved bookmark content via a read-only MCP interface, with full-text and optional semantic search.4MIT
- FlicenseNot gradedqualityDmaintenanceProvides authenticated bookmark management tools via MCP, including adding, deleting, listing, and searching bookmarks.-
- AlicenseAqualityBmaintenanceEnables MCP clients to search and read saved Karakeep pages and notes, save new bookmarks or notes, and organize them with tags and lists over stdio or authenticated remote HTTP.151MIT