
idleprocesscc/co-reading-mcp
Developer toolsЭта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал
idleprocesscc/co-reading-mcp — это кандидат на MCP-сервер, импортированный из https://github.com/idleprocesscc/co-reading-mcp.
Обзор
idleprocesscc/co-reading-mcp — это кандидат на MCP-сервер, импортированный из https://github.com/idleprocesscc/co-reading-mcp.
Обзор (машинный перевод)
Локальный сервер MCP, который предоставляет Клоду надёжный читальный зал:
- импортировать EPUB или обычный текст в стабильные блоки при сохранении границ корочка/глав EPUB
- списки и фрагменты
- читать по кусочкам с
prevId/nextId - продолжать напрямую от следующего непрочитанного фрагмента
- поиск по книге с кэшированным фрагментом текста
- записывать аннотации на полях
- инсценировать пользовательские заметки, отправить их Клоду один раз и приложить ответы Клода под ними
- отслеживать прогресс чтения
- покрывать карты с малым раздельным запасом, когда человек и Клод останавливаются в одном проходе
- вернуть небольшой финишный ритуал после завершения книги
Цель — не однократное резюме. Цель — общая поверхность для чтения, где человек и Клод могут читать, оставлять закреплённые заметки и плавно продолжать. Человеческие заметки также могут оставаться приватными, пока читатель не решит поделиться ими с Клодом.
Для пошаговой настройки и процесса использования см. docs/user-guide.md.
Быстрый старт
Требования:
- Node.js 18+
- Python 3.10+ для скриптов импорта
Если вам также нужна удобная для людей поверхность для чтения, начните с комплектного считывателя:
Открыть http://127.0.0.1:8787.
Эта страница переведена автоматически. Технические детали смотрите в оригинале.
README
Показан фрагмент оригинального README. Открыть оригинал.
Co-Reading MCP
A local MCP server that gives Claude a durable reading room:
- import EPUB or plain text into stable chunks while preserving EPUB spine/chapter boundaries
- list books and chunks
- read chunk-by-chunk with
prevId/nextId - continue directly from the next unread chunk
- search across a book with cached chunk text
- write margin annotations
- stage user notes, submit them to Claude once, and attach Claude replies under them
- track reading progress
- surface small shared-margin cards when human and Claude stop at the same passage
- return a small finish ritual when a book is completed
The goal is not one-shot summarization. The goal is a shared reading surface where a human and Claude can both read, leave anchored notes, and resume smoothly. Human notes can also stay private until the reader chooses to share them with Claude.
For a step-by-step setup and usage flow, see docs/user-guide.md.
Quick Start
Requirements:
- Node.js 18+
- Python 3.10+ for the import scripts
cd co-reading-mcp
cp -R data.example data
node src/server.js
If you also want a human-friendly reading surface, start the bundled reader:
npm run reader
Open http://127.0.0.1:8787. This serves a small reference reader and local HTTP API while also keeping the MCP stdio server active in the same process. In Claude Desktop / Claude Code you can point the MCP command at src/http.js instead of src/server.js when you want one process to handle both:
{
"mcpServers": {
"co-reading": {
"command": "node",
"args": ["/absolute/path/to/co-reading-mcp/src/http.js"],
"env": {
"READING_MCP_DATA_DIR": "/absolute/path/to/co-reading-mcp/data",
"READING_HTTP_PORT": "8787"
}
}
}
}
The reader’s Library header includes an import button for EPUB, TXT, or Markdown files. Browser imports upload the file directly to the co-reading server, so they also work with remote claude.ai setups where chat attachments are isolated from the MCP server filesystem.
For Claude Desktop / Claude Code, configure the MCP server as a stdio command:
{
"mcpServers": {
"co-reading": {
"command": "node",
"args": ["/absolute/path/to/co-reading-mcp/src/server.js"],
"env": {
"READING_MCP_DATA_DIR": "/absolute/path/to/co-reading-mcp/data"
}
}
}
}
Remote Server
For VPS, reverse-proxy, tunnel, or remote MCP clients, run one process:
READING_MCP_DATA_DIR=./data MCP_AUTH_TOKEN="change-me" npm run start:sse
The same port serves the human reader, REST API, and remote MCP transports:
https://your-domain.example/: reference reader UIhttps://your-domain.example/?token=change-me: reader UI with auth saved in a cookie (convenience shortcut — the token appears in the first request URL; avoid on shared devices or high-security setups)https://your-domain.example/api/*: reader REST API
Установка
This server does not publish a one-line install command.
Open the repository installation guide Новичок в MCP? Начните с руководства на mcpskill.org →Конфигурация
{
"mcpServers": {
"co-reading": {
"command": "node",
"args": ["/absolute/path/to/co-reading-mcp/src/http.js"],
"env": {
"READING_MCP_DATA_DIR": "/absolute/path/to/co-reading-mcp/data",
"READING_HTTP_PORT": "8787"
}
}
}
}