readeck-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., "@readeck-mcpSave the generated HTML to my Readeck library"
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.
Readeck MCP
An MCP server that turns a Readeck library into a read/write knowledge base for AI agents: agents can push the HTML they generate straight into Readeck (auto-tagged by an LLM) and later retrieve and read those documents back. Built with FastMCP — the same code runs as a local stdio server or a remote HTTP server behind a reverse proxy.
Unlike existing Readeck MCPs (which are read-only reading assistants), this one ingests agent-generated HTML and auto-labels it with an LLM from a fixed taxonomy.
Tools
Tool | Purpose |
| Save raw HTML as a readable bookmark; auto-labels when no labels are given. |
| Retrieval: find the best-matching document(s) and return their full readable text. |
| Search the library (metadata only). |
| List existing labels with counts. |
readeck_save uses Readeck's JSON create API with the raw-HTML html field
(base64/data-URI do not work). It sends a browser User-Agent so a WAF (e.g.
Cloudflare error 1010) doesn't block it, and polls briefly to return the new
bookmark id, word_count and reading_url.
Related MCP server: Doc Monitor MCP
Auto-labeling
When you call readeck_save without labels, an LLM classifies the document.
It's injection-resistant by design: the model may only pick from a fixed
taxonomy (LABEL_TAXONOMY), and the result is intersected with that list
server-side, so out-of-vocabulary labels are impossible. An origin label
(ORIGIN_LABEL, default propio) is always added by code, never the LLM.
Provider-agnostic (OpenAI-compatible or Anthropic). Works with free tiers such
as Groq — for reasoning models like gpt-oss set a generous LLM_MAX_TOKENS
and the server sends reasoning_effort: low automatically.
Guardrails
Fail-closed HTTP auth: over HTTP transport every tool call requires
Authorization: Bearer $MCP_AUTH_TOKEN(constant-time compare).Input validation: HTML size cap, non-HTML rejection, URL-scheme allowlist, label sanitization + cap.
Token-bucket rate limiting per process.
LLM calls retry on 429/5xx with backoff and degrade gracefully (labeling is best-effort; a failure never blocks the save).
Configuration (environment)
Variable | Default | Notes |
|
| Readeck base URL. |
| — | Required. Readeck → Settings → API tokens. |
|
|
|
|
| http mode only. |
| — | Required in http mode (fail-closed bearer). |
|
| Enable LLM auto-labeling. |
|
| Always-added origin label. |
| see | Comma-separated closed vocabulary. |
|
| Max LLM topics per doc. |
|
|
|
|
| Include the version prefix for openai (e.g. |
|
| Any chat model on the chosen provider. |
| — | Key for the LLM provider. |
|
| Output budget / input text sent. |
Local (stdio)
READECK_TOKEN=... uv run --script server.py --selftest # smoke testRegister with an MCP client (mcpServers), e.g.:
{
"mcpServers": {
"readeck": {
"command": "uv",
"args": ["run", "--script", "/path/to/readeck-mcp/server.py"],
"env": { "READECK_URL": "https://readeck.example.com", "READECK_TOKEN": "..." }
}
}
}Remote (HTTP / Docker)
Run with READECK_MCP_TRANSPORT=http (see Dockerfile). Put it behind your
reverse proxy / tunnel at e.g. https://mcp-readeck.example.com. When
co-located with Readeck, set READECK_URL=http://readeck:8000 to skip the public
round-trip. Point clients at the endpoint:
{
"mcpServers": {
"readeck": {
"type": "http",
"url": "https://mcp-readeck.example.com/mcp",
"headers": { "Authorization": "Bearer <MCP_AUTH_TOKEN>" }
}
}
}Note: use the endpoint path without a trailing slash (
/mcp, not/mcp/) — some proxies turn the trailing-slash redirect into a 307 that breaks streamable-HTTP clients.
Always set a strong MCP_AUTH_TOKEN before exposing the endpoint — the token
grants write access to your library.
License
MIT
This server cannot be deployed
Maintenance
Related MCP Connectors
Persistent docs and memory for AI agents — read, write, organize & search a shared workspace.
Publish, update, read, rename, and share single-URL web pages from any AI agent.
The media memory layer for AI agents and their humans. Your AI client gets 29 tools to search your collection, add items, update ratings, preview music, and find patterns across everything you've read, watched, and listened to.
Personal context for every AI: search, read, and write back to your private Markdown library.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceProvides AI agents and coding assistants with advanced web crawling and RAG capabilities, allowing them to scrape websites and leverage that knowledge through various retrieval strategies.2MIT
- FlicenseNot gradedqualityDmaintenanceEnables AI agents to monitor web documentation for changes, perform semantic search with RAG, and analyze breaking changes in APIs.9-
- AlicenseNot gradedqualityDmaintenanceProvides AI agents and assistants with advanced web crawling and RAG capabilities, enabling them to scrape websites and perform semantic search over crawled content.1MIT
- AlicenseNot gradedqualityBmaintenanceEnables AI assistants to turn conversations into a searchable personal wiki, read and organize pages, and propose edits such as merges, translations, and fact-checks as reviewable changesets.2MIT