article-review-mcp
article-review-mcp
명시적 기사 패치를 분류된 코멘트와 함께 검토하기 위한 시각적 MCP 앱입니다.
편집 에이전트는 서버에 조용히 재작성된 원고를 넘기지 않습니다. 대신 다음을 제출합니다:
unchanged base document
+ explicit patches against that base
+ one or more categorized rationale comments per patch서버는 해당 패치를 결정적으로 검증하고 적용하며, 대화형 검토 UI를 열고, 인간의 결정을 기록하고, 최종 기사를 안전하게 조합합니다.
패치 우선 방식의 이유
전체 문서 diff는 무엇이 변경되었는지 보여줄 수 있지만, 에이전트의 원래 의도는 잃어버립니다. 이 프로젝트에서 패치는 원자적 검토 객체입니다:
Patch
├── exact target in the original document
├── replace / delete / insert_before / insert_after
├── proposed text
├── categorized comments explaining why
└── human decision: pending / accepted / rejected / edited모든 코멘트는 정확히 하나의 기본 topicId를 가집니다. 패치는 서로 다른 주제에 걸쳐 여러 코멘트를 포함할 수 있습니다.
Related MCP server: Lens
현재 기능
불변 기본 문서에 대한 명시적
PatchSet제출replace,delete,insert_before,insert_after기본 SHA-256 검증
선택적
contextBefore및contextAfter를 사용한 정확한 앵커 해석모호한 앵커 및 중첩 패치 거부
모든 패치에 대한 필수 분류 근거 코멘트
검토 세션별 사용자 정의 주제 분류 체계
주제별 패치/코멘트 수를 표시하는 주제 탭
두 가지 주제 검토 모드:
모든 패치를 유지하고 관련 없는 패치를 흐리게 표시
선택한 주제가 포함된 패치만 표시
분할, 통합, 전체 Final 보기
영어 및 중국어에 대한 단어 수준 삽입/삭제 강조 표시
승인, 거부, 재설정, 수동 편집, 표시된 패치 일괄 결정
검토자 코멘트 추가, 답글, 해결, 필터링
편집 에이전트를 위한 간결한 주제 필터 피드백
정확한 패치 결정 이월이 포함된 불변 수정 라운드
JSON 영속성, 낙관적 동시성, 멱등성
MCP 앱 및 토큰 보호 localhost 브라우저 뷰어
안전한 미리보기, 새 파일 쓰기, 보호된 덮어쓰기, 정적 HTML 내보내기
레거시
base + full proposal도구는 더 이상 사용되지 않는 호환 별칭으로 유지
요구 사항
Node.js 20 이상
런타임 의존성 설치 불필요
검증
npm run check이 스위트는 구문 검사와 13개의 테스트를 실행하며, 실제 stdio MCP 교환 및 localhost 뷰어 호출을 포함합니다.
MCP 서버로 실행
node src/cli.mjs \
--stdio \
--workspace /absolute/path/to/your/writing-workspace클라이언트 구성 예시:
{
"mcpServers": {
"article-review": {
"command": "node",
"args": [
"/absolute/path/to/article-review-mcp/src/cli.mjs",
"--stdio",
"--workspace",
"/absolute/path/to/your/writing-workspace"
]
}
}
}기본 에이전트 호출
article_review_submit_patchset 호출:
{
"title": "Introduction revision",
"format": "markdown",
"base": {
"type": "workspace_file",
"path": "manuscript.md"
},
"baseHash": "optional-sha256-of-the-base",
"topics": [
{
"id": "architecture",
"label": "架构与叙事",
"description": "章节组织、研究主线和段落衔接"
},
{
"id": "logic",
"label": "逻辑与论证"
},
{
"id": "clarity",
"label": "表达与清晰度"
}
],
"patchSet": {
"id": "revision-001",
"summary": "补齐 Section 1 到 Section 2 的理论过渡",
"patches": [
{
"id": "selection-pressure-bridge",
"operation": "replace",
"target": {
"oldText": "The later experiments therefore held the candidate text fixed...",
"contextBefore": "These results support Prediction 1...",
"contextAfter": "LLM judge reliability varies..."
},
"newText": "Collectively, Section 1 establishes that...",
"comments": [
{
"topicId": "architecture",
"kind": "proposal_rationale",
"title": "补齐 Section 1 → Section 2 的逻辑桥梁",
"body": "原文从多智能体失败直接跳到 Judge reliability,缺少为什么需要 Judge 的理论过渡。",
"severity": "major"
},
{
"topicId": "logic",
"kind": "proposal_rationale",
"title": "明确研究问题递进关系",
"body": "先证明系统存在选择失败,再验证 Judge 是否能够提供可靠信号。"
}
]
}
]
}
}패치 규칙
모든 패치는 동일한 변경되지 않은 기본 문서를 대상으로 합니다.
모든 패치는 최소한 하나의 분류 코멘트를 포함해야 합니다.
모든 코멘트는 하나의 기본
topicId만 가집니다.target.oldText는 정확히 한 위치로 해석되어야 합니다.동일한 텍스트가 반복해서 나타나는 경우
contextBefore및contextAfter를 사용하십시오.중첩 패치와 안전하지 않은 공유 경계에서의 다중 삽입은 거부됩니다.
서버가 제안을 파생합니다. 에이전트는 기본 워크플로에서 두 번째 완전한 원고를 제출하지 않습니다.
일반적인 검증 오류:
BASE_HASH_MISMATCH
ANCHOR_NOT_FOUND
ANCHOR_AMBIGUOUS
PATCH_OVERLAP
MISSING_PATCH_COMMENT
UNKNOWN_COMMENT_TOPIC주제 중심 검토
UI는 다음과 같은 주제 탭을 표시합니다:
全部主题 12
架构与叙事 4
逻辑与论证 3
证据与引用 2
方法与统计 1
表达与清晰度 2주제를 선택하면 오른쪽 코멘트가 해당 주제로 필터링됩니다. 원고 창은 다음 중 하나를 수행할 수 있습니다:
모든 패치를 유지하고 관련 없는 패치를 흐리게 표시, 또는
관련 없는 패치를 완전히 숨김.
J 및 K는 활성 주제와 관련된 패치만 탐색합니다.
로컬 뷰어 대체
MCP 앱을 렌더링하지 않는 클라이언트의 경우:
node src/cli.mjs \
--viewer 4173 \
--workspace /absolute/path/to/your/writing-workspace뷰어는 127.0.0.1에 바인딩되고 무작위 토큰 보호 URL을 출력합니다.
합성 데모:
npm run demo주요 도구
모델 대면 워크플로:
article_review_submit_patchset
article_review_open
article_review_get_feedback
article_review_add_comments
article_review_update_patchset
article_review_finalize앱 전용 검토 작업:
article_review_get_page
article_review_get_document
article_review_set_patch_decision
article_review_bulk_decide
article_review_edit_patch
article_review_add_comment
article_review_reply_comment
article_review_resolve_comment더 이상 사용되지 않는 호환 별칭:
article_review_create
article_review_get_summary
article_review_update_proposal
article_review_set_decision
article_review_edit_hunk안전 불변식
기본 문서는 원시 세그먼트에서 바이트 단위로 재구성됩니다.
모든 패치를 적용하면 파생 제안이 바이트 단위로 재구성됩니다.
CRLF, 공백, Markdown, 중국어, 영어, 기본 LaTeX는 정규화되지 않습니다.
원고 텍스트는
innerHTML이 아닌 불활성 텍스트 노드로 렌더링됩니다.절대 경로,
..탐색, 디렉터리 심볼릭 링크 이스케이프는 거부됩니다.변경에는
expectedVersion및idempotencyKey가 필요합니다.소스 덮어쓰기에는 명시적 확인, 소스 SHA-256 검증, 백업이 필요합니다.
문서
연기된 범위
DOCX 변경 추적
PDF 편집
단어 수준 부분 승인
실시간 다중 사용자 협업
Google Docs 동기화
Available Tools
19 toolsarticle_review_add_commentAdd categorized review commentC
Attach one reviewer comment to a patch under exactly one primary topic.
Inputs: body (required), patchId (required), topicId (required), sessionId (required), +16 more.
article_review_add_commentsAdd categorized reviewer commentsC
Attach a batch of reviewer comments to existing patches. Each comment must use exactly one primary topicId.
Inputs: comments (required), sessionId (required), idempotencyKey (required), expectedVersion (required), +6 more.
article_review_bulk_decideBulk decide patchesC
Accept, reject, or reset all or selected patches.
Inputs: status (required), sessionId (required), idempotencyKey (required), expectedVersion (required), +6 more.
article_review_createCreate article review from full proposal (deprecated)A
Compatibility tool for base + complete proposal. Prefer article_review_submit_patchset so every change retains agent intent and categorized comments.
Inputs: base (required), title (required), proposal (required), format, +3 more.
article_review_edit_hunkEdit hunk (deprecated alias)C
Compatibility alias for article_review_edit_patch.
Inputs: hunkId (required), sessionId (required), editedText (required), idempotencyKey (required), +7 more.
article_review_edit_patchEdit patch outputC
Save a human-authored replacement for one patch.
Inputs: patchId (required), sessionId (required), editedText (required), idempotencyKey (required), +7 more.
article_review_finalizeFinalize reviewed articleA
Preview or safely write the article assembled from accepted, rejected, edited, and pending patches. Overwrite requires confirmation, hash checking, and backup.
Inputs: sessionId (required), mode, backup, destination, +3 more.
article_review_get_documentGet assembled documentC
Load the complete assembled document for the Final view.
Inputs: sessionId (required), pendingPolicy.
article_review_get_feedbackGet categorized review feedbackA
Return compact pending or rejected patch feedback for an editing agent. Filter by one comment topic without returning the complete manuscript.
Inputs: sessionId (required), topicId, statuses, includeComments.
article_review_get_pageGet filtered patch pageC
Load paginated patches, optionally showing only one comment topic.
Inputs: sessionId (required), limit, query, offset, +3 more.
article_review_get_summaryGet review summary (deprecated)A
Compatibility alias for article_review_get_feedback.
Inputs: sessionId (required).
article_review_openOpen article reviewC
Open an existing visual patch review and optionally filter it by comment topic.
Inputs: sessionId (required), limit, query, offset, +3 more.
article_review_reply_commentReply to review commentC
Record how an editing agent implemented a reviewer comment.
Inputs: commentId (required), sessionId (required), idempotencyKey (required), expectedVersion (required), +7 more.
article_review_resolve_commentResolve review commentC
Mark a review comment resolved or unresolved.
Inputs: commentId (required), sessionId (required), idempotencyKey (required), expectedVersion (required), +7 more.
article_review_set_decisionSet hunk decision (deprecated alias)D
Compatibility alias for article_review_set_patch_decision.
Inputs: hunkId (required), status (required), sessionId (required), idempotencyKey (required), +6 more.
article_review_set_patch_decisionSet patch decisionC
Accept, reject, or reset one patch.
Inputs: status (required), patchId (required), sessionId (required), idempotencyKey (required), +6 more.
article_review_submit_patchsetSubmit categorized article patchesA
Primary article-edit workflow. Submit the unchanged base document plus explicit non-overlapping patches. Every patch must include at least one comment assigned to exactly one primary topic. Use this instead of returning a giant rewritten document or textual diff in chat.
Inputs: base (required), title (required), patchSet (required), format, +4 more.
article_review_update_patchsetSubmit a revised patch setB
Create an immutable next review round from the same base document. Exact unchanged patches may carry decisions and reviewer comments; changed patches reset to pending.
Inputs: patchSet (required), sessionId (required), idempotencyKey (required), expectedVersion (required), +10 more.
article_review_update_proposalUpdate full proposal (deprecated)B
Compatibility tool for complete revised documents. Prefer article_review_update_patchset.
Inputs: proposal (required), sessionId (required), expectedVersion (required), limit, +7 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 19 tools
Multiple tools have overlapping purposes, including explicit compatibility aliases (create/submit_patchset, get_summary/get_feedback, set_decision/set_patch_decision, edit_hunk/edit_patch) and single/batch variants (add_comment/add_comments). This makes it difficult to tell tools apart despite clear descriptions.
All tools share the article_review_ prefix, but verb/object patterns vary: some omit objects (open, finalize, create), one uses an adverb (bulk_decide), and compatibility aliases introduce inconsistent verbs for the same action (e.g., set_decision vs set_patch_decision).
At 19 tools, the count is slightly above the ideal 3-15 range, but the patch-based review workflow is inherently complex. The presence of 5 redundant compatibility tools inflates the count unnecessarily, keeping it from a perfect score.
The surface covers the full review lifecycle: patch submission, update rounds, decisions, commenting, feedback, pagination, and finalization. Minor gaps exist, such as no explicit patch deletion or comment topic management, but these are workable.
Related MCP Connectors
One MCP server for all your MCP servers: code mode, per-tool permissions, approvals and audit.
MarkupBase turns AI-generated Markdown and HTML into durable, versioned artifacts that people can review and discuss. Its MCP server lets agents publish new versions, preserve contextual comments, include hosted images, and respond to feedback through secure account-linked identities, creating a clear human review boundary without requiring real-time editing.
Read-only MCP over an agentic SLR workspace with per-claim citation verification
Read-only MCP over an agentic SLR workspace with per-claim citation verification
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceA stateful, AST-aware MCP server for structured code review workflows. It enables iterative review sessions with AST-based context localization and provides structured feedback with verdicts and patch suggestions for JavaScript/TypeScript code.1GPL 3.0
- AlicenseNot gradedqualityDmaintenanceMCP server for visual feedback, video direction, and QA assertions on web pages, enabling AI agents to read, reply, and resolve annotations in real time.6MIT
- AlicenseNot gradedqualityDmaintenanceMCP server for searching and retrieving submissions, reviews, meta-reviews, rebuttals, and decisions from OpenReview venues like NeurIPS and ICLR, enabling peer review analysis.15 PyPI2MIT
- AlicenseNot gradedqualityDmaintenanceMCP server for creating, validating, and reviewing implementation plans in GitHub Copilot Chat, with visual review interface and MongoDB persistence.MIT