Skip to main content
Glama

article-review-mcp

明示的な記事パッチをカテゴリ別コメント付きでレビューするためのビジュアルMCP Appです。

編集エージェントは、サーバーに黙って書き換えられた原稿を渡すのではありません。代わりに以下を送信します:

unchanged base document
+ explicit patches against that base
+ one or more categorized rationale comments per patch

サーバーはそれらのパッチを決定的に検証・適用し、インタラクティブなレビューUIを開き、人間の決定を記録し、最終記事を安全に組み立てます。

なぜパッチ優先なのか

ドキュメント全体の差分では何が変わったかは示せますが、エージェントの本来の意図は失われます。このプロジェクトでは、パッチがレビューの原子的な対象です:

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

各コメントは正確に1つのプライマリtopicIdを持ちます。パッチには、異なるトピックにわたる複数のコメントを含めることができます。

Related MCP server: Lens

現在の機能

  • 不変のベースドキュメントに対する明示的なPatchSetの送信

  • replacedeleteinsert_beforeinsert_after

  • ベースSHA-256の検証

  • オプションのcontextBeforeおよびcontextAfterによる正確なアンカー解決

  • 曖昧なアンカーと重複するパッチの拒否

  • すべてのパッチに必須のカテゴリ別根拠コメント

  • レビューセッションごとのカスタムトピック分類

  • トピックごとのパッチ/コメント数を持つトピックタブ

  • 2つのトピックレビューモード:

    • すべてのパッチを表示したまま、無関係なパッチを暗く表示する

    • 選択したトピックを含むパッチのみを表示する

  • 分割、統合、完全なFinalビュー

  • 英語と中国語の単語レベルの挿入/削除ハイライト

  • 表示中のパッチの承認、拒否、リセット、手動編集、一括決定

  • レビューアーコメントの追加、返信、解決、フィルタリング

  • 編集エージェント向けのコンパクトなトピックフィルタ済みフィードバック

  • 正確なパッチ決定の引き継ぎを伴う不変のリビジョンラウンド

  • JSON永続化、楽観的並行性制御、冪等性

  • MCP Appとトークン保護された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 是否能够提供可靠信号。"
          }
        ]
      }
    ]
  }
}

パッチのルール

  • すべてのパッチは同じ変更されていないベースドキュメントを対象とします。

  • 各パッチには少なくとも1つのカテゴリ別コメントを含める必要があります。

  • 各コメントは1つだけのプライマリtopicIdを持ちます。

  • target.oldTextは正確に1つの場所に解決される必要があります。

  • 同じテキストが繰り返し出現する場合は、contextBeforecontextAfterを使用します。

  • 重複するパッチと、安全でない共有境界での複数の挿入は拒否されます。

  • サーバーが提案を導出します。エージェントはプライマリワークフローで2番目の完全な原稿を送信しません。

典型的な検証エラー:

BASE_HASH_MISMATCH
ANCHOR_NOT_FOUND
ANCHOR_AMBIGUOUS
PATCH_OVERLAP
MISSING_PATCH_COMMENT
UNKNOWN_COMMENT_TOPIC

トピックに焦点を当てたレビュー

UIには次のようなトピックタブが表示されます:

全部主题 12
架构与叙事 4
逻辑与论证 3
证据与引用 2
方法与统计 1
表达与清晰度 2

トピックを選択すると、右側のコメントがそのトピックにフィルタリングされます。原稿ペインは次のいずれかが可能です:

  • すべてのパッチを保持し、無関係なものを暗く表示する、または

  • 無関係なパッチを完全に非表示にする。

JKは、アクティブなトピックに関連するパッチのみをナビゲートします。

ローカルビューアのフォールバック

MCP Appをレンダリングしないクライアント向け:

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

App限定のレビュー操作:

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を介しては決してレンダリングされません。

  • 絶対パス、..トラバーサル、ディレクトリシンボリックリンクのエスケープは拒否されます。

  • 変更にはexpectedVersionidempotencyKeyが必要です。

  • ソースの上書きには、明示的な確認、ソースSHA-256の検証、バックアップが必要です。

ドキュメント

将来のスコープ

  • DOCXの変更履歴

  • PDF編集

  • 単語レベルの部分承認

  • リアルタイムの多ユーザーコラボレーション

  • Google Docsの同期

Install Server
A
license - permissive license
C
quality
B
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    -
    quality
    B
    maintenance
    A 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.
    1
    GPL 3.0
  • A
    license
    -
    quality
    C
    maintenance
    MCP server for searching and retrieving submissions, reviews, meta-reviews, rebuttals, and decisions from OpenReview venues like NeurIPS and ICLR, enabling peer review analysis.
    1
    MIT
  • F
    license
    -
    quality
    D
    maintenance
    MCP server for creating, validating, and reviewing implementation plans in GitHub Copilot Chat, with visual review interface and MongoDB persistence.

View all related MCP servers

Related MCP Connectors

  • 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

  • Hosted MCP server for structured code review passes on human- and AI-written code. Free tier.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Biogod2020/article-review-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server