IC

idleprocesscc/co-reading-mcp

Developer tools

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

122 stars 31 forks 품질 84 트렌드 14MIT

idleprocesscc/co-reading-mcp는 [[T0]에서 가져온 MCP 서버 후보입니다.

개요

idleprocesscc/co-reading-mcp는 [[T0]에서 가져온 MCP 서버 후보입니다.

개요(AI 번역)

클로드에게 견고한 독서실을 제공하는 로컬 MCP 서버:

  • EPUB 또는 일반 텍스트를 안정적인 청크로 가져오면서 EPUB의 척추/장 경계를 보존하는 것
  • 목록 책과 청크
  • prevId / [[T1]로 청크별로 읽기
  • 다음 읽지 않은 청크에서 직접 이어
  • 캐시된 청크 텍스트가 있는 책 전체를 탐색
  • 여백 주석 작성
  • 사용자 노트를 스테이지하여 Claude에게 한 번 제출하고, 그 아래에 Claude의 답변을 첨부합니다
  • 읽기 진행 상황 추적
  • 인간과 클로드가 같은 구간에서 멈출 때 소액 공유 여백 카드 표면
  • 책을 완성하면 작은 마무리 의식을 돌려주기

목표는 단발성 요약이 아닙니다. 목표는 사람과 클로드가 모두 읽고, 고정된 메모를 남기며, 원활하게 이어갈 수 있는 공유 읽기 표면을 만드는 것입니다. 인간의 메모는 독자가 클로드와 공유할 때까지 비공개로 유지할 수도 있습니다.

단계별 설정 및 사용 흐름은 docs/user-guide.md를 참조하세요.

퀵 스타트

자격 요건:

  • Node.js 18+
  • 가져오기 스크립트용 Python 3.10+

사람 친화적인 읽기 표면도 원한다면, 번들로 묶인 리더기를 시작하세요:

http://127.0.0.1:8787를 엽니다.

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.

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 UI
  • https://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
GitHub에서 전체 README 보기

설치

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" } } } }