Skip to main content
Glama

English | Русский

Yandex Wiki Search MCP

yandex-wiki-search-mcp MCP server PyPI Python CI codecov License Docker

Demo: search a wiki page and summarize it via MCP

Claude、Cursor、Windsurf、または任意のMCPクライアントを Yandex Wiki に接続できます: 全文検索、 ページ、コメント、添付ファイル、動的テーブル("grids")— 型付きスキーマを持つ 33のツール。

非公式プロジェクトです。Yandex とは提携しておらず、Yandex の承認も受けていません。

  • 🔍 全文検索 — Wiki全体を検索対象。Wiki の Web 検索バーを支えているのと同じバックエンドを使用し、クエリあたり最大50件の結果を返します。

  • 📄 ページライフサイクル全体 — 作成、更新、追記(先頭 / 末尾 / アンカー)、複製、リカバリートークン付き削除、コメント、ファイルのアップロード

  • 📊 動的テーブル(grids) — 書き込みツール11件: 行、列、セル、コピー、並べ替え

  • 🔒 サーバーサイドの読み取り専用モード — WIKI_READ_ONLY=true に設定すれば書き込みツールを登録すらしないため、エージェントに回避されません。

  • 🧩 型付きツールサーフェス — すべてのツールに、入力と出力のJSONスキーマと安全性の注釈(読み取り専用 / 破壊的 / 冪等のヒント)が付属します。

  • 🐳 どこでも実行可能 — デスクトップクライアントにはstdio、チームには(オプションのマルチユーザーOAuth付き)streamable-http + Docker

クイックスタート

  1. Wiki アクセス権限りを持つ Yandex O OAuthトークン(公式ガイd)と、自分の組織IDを取得します。

  2. 使用中のクライアントにインストールします:

[Add to Cursor](https://cursor.com/install-mcp?name=yandex-wiki-search\\\\&config=eyJjb21tYW5kIjoidXZ4IiwiYXJncyI6WyJ5YW5kZXgtd2lraS1zZWFyY2gtbWNwIl0sImVudiI6yJXSUtJfT1PS6OuVDRS6UWnInWhI 77 Install in VS Code Add to LM Studio Install in Claude Desktop

Claude Desktop のバッジからは最新リリースの .mcpb バンドルがダウンロードされます。 ダブルクリックするとClaude Captainが方式stable がンデルインストールされ、トークンと 組織IDの入力を求めます(uv がインストールされている必要があります)。

{
  "mcpServers": {
    "yandex-wiki-search": {
      "command": "uvx",
      "args": ["yandex-wiki-search-mcp"],
      "env": {
        "WIKI_TOKEN": "YOUR_TOKEN",
        "WIKI_ORG_ID": "YOUR_ORG_ID",
        "WIKI_READ_ONLY": "true"
      }
    }
  }
}
claude mcp add yandex-wiki-search \
  -e WIKI_TOKEN=YOUR_TOKEN -e WIKI_ORG_ID=YOUR_ORG_ID -e WIKI_READ_ONLY=true \
  -- uvx yandex-wiki-search-mcp
{
  "mcpServers": {
    "yandex-wiki-search": {
      "command": "docker",
      "args": ["run","--rm","-i",
        "-e","WIKI_TOKEN","-e","WIKI_ORG_ID","-e","WIKI_READ_ONLY=true",
        "ghcr.io/dlbolshov/yandex-wiki-search-mcp:latest"],
      "env": {"WIKI_TOKEN":"YOUR_TOKEN","WIKI_ORG_ID":"YOUR_ORG_ID"}
    }
  }
}

[!TIP] 最初は WIKI_READ_ONLY=true で試してみましょう — サーバーは書き込みツールを登録すらしません。 エージェントが編集を行っても信頼できるようになったら false に切り替えます。

  1. 次は、エージェントに何か依頼してみましょう — 以下の例をどうぞ。

サーバーはMCP Python SDK v2 で動作しています。これはクライアントから見えません — v2 の 1サーバーで、2024-11-05 まで遡るすべてのプロトコルリビジョンと現在のリビジョンの両方に 応答できるため、あなた側で変更する必要も再インストールする必要もありません。

古いSDKに留まる理由があるとすれば、他の何かのために mcp<2 を固定している共存環境がある場合だけです。 1.0.1 は1.x SDK でビルドされた最後のリリースで、PyPI に残っています:

pip install "yandex-wiki-search-mcp<1.1"

Related MCP server: mediawiki-mcp-server

できること

「オンボーディングのドキュメントを見つけて、主要な手順を要約してください。」

「インシデント対応について何かありますか? 最も関連するページを開いてください。」

「team/weekly-notes というページを作成して、今日のスタンドアップ要約を追記してください。」

「オンコール当番表(grid)に行を1つ追加してください: alice、来週。」

「このPDFをプロジェクトページにアップロードして、末尾にリンクしてください。」

「下書きのページを削除してください。ただし、後で設定を変えと思う場合のためにリカバリートークンは残してください。」

ツール

33 のツール。WIKI_READ_ONLY=true にすると、書き込みツールはすべて使えなくなります。

検索と読み取り (10)

ツール

説明

page_search

Wiki 全体(ページとファイル)を対象とした全文検索。順位付けされた結果と各結果のテキスト抜のテキスト抜粋を返します。サーバーサイドのフィルターに対応し、highlight モードではカーソルページングで約 100 件を取得できます(それ以外のモードでは 1 回の呼び出しで最大 50 件)。

page_get

page_id または slug でページを取得します(Wiki の完全な URL も受け付けます)。

page_get_descendants

ページのサブツリーを走査します。すべてのネストレベルから {id, slug} のフラットなリストを 1 つ返します。from_root=true で Wiki 全体を走査します。fetch_all はカーソルを 1 回の呼び出しで使い切ります。

page_get_comments

ページのコメントを一覧表示します(fetch_all 対応)。

page_get_resources

ページのリソース(添付ファイルとグリッド)を一覧表示します。サーバー側のタイトル検索に対応しています(fetch_all 対応)。

page_get_attachments

ページの添付ファイルを一覧表示します(fetch_all 対応)。

page_read_attachment

添付ファイルの内容をそのまま会話に読み込みます(どこにも保存されません)。PNG/JPEG/GIF/WebP はビジョン対応クライアントが描画できるネイティブ画像ブロックとして、テキストはテキストとして返されます(SVG も同様です。SVG は XML であり、ビジョン API がデコードできない画像ブロックは、ホストの次の呼び出しを失敗させるためです)。その他のバイナリは base64 ブロブとして返されます。形式は、ワイヤー上の宣言ではなく、ファイルのマジックバイトによって決定されます。モデルのコンテキストウィンドウを保護するために上限があります: テキスト/バイナリは 128 KiB、画像は 2 MiB。これを超えるものは拒否され、page_download_attachment または page_get_attachments の download_url が案内されます。

page_get_grids

ページに添付されたグリッドを一覧表示します(fetch_all 対応)。

grid_get

grid_id でグリッドを取得します。行・列・リビジョンのフィルターに対応しています。

user_get_current

自分が誰かを返します—username と home_cluster(呼び出し元の個人セクションのスラグ)。

ページ: 書き込み (12)

ツール

機能

page_create

ページを作成する。

page_update

ページのタイトルやコンテンツ全体を更新する。別のページへのリダイレクトを設定または解除する。

page_edit

ページ全体を送り直さずに、完全一致テキストの置換でコンテンツを編集する。一致しない、またはあいまいな一致があった場合は、何も書き込まれる前に呼び出しが失敗する。allow_merge を指定して書き戻すため、同時編集は上書きではなくマージされる。

page_append_content

コンテンツを先頭、末尾、または名前付きアンカーに追加する。

page_clone

ページを新しい slug にコピーする — コピーには新しい ID が付く。子ページ・コメント・履歴は元のページに残る。使用中の slug は拒否される。API には本来の移動やリネームは存在しない(詳細)。

page_add_comment

スレッドにコメントまたは返信を追加する。

page_delete_comment

コメントを削除し、更新後のページのコメント数を返す。

page_delete_attachment

ページから添付ファイルを削除する。

page_delete

ページを削除し、復元トークンを受け取る。

page_recover

復元トークンで削除されたページを復元する。

page_upload_attachment

ローカルファイルをチャンクに分割してアップロードし、ページに添付する — OAUTH_ENABLED=true の場合は登録されない。「ローカル」が共有サーバーのファイルシステムを意味することになるため。

page_download_attachment

添付ファイルをローカルファイルにダウンロードする — サイズ上限なしでディスクにストリームされ、会話に何も取り込まれない。アトミックに書き込む(.part → fsync → rename)。求められない限り上書きを拒否し、通常の書き込みと同じパーミッション(0666 & ~umask、実行権は付けられない)で保存される。ファイルを置き換える場合は、そのファイル自体のモードが維持される。リネーム自体をクラッシュ耐性にするディレクトリ fsync とモード継承は POSIX のみ。OAuth 環境では page_upload_attachment と同様に利用可否が制御される。

グリッド: 書き込み(11)

ツール

機能

grid_create

ページにグリッドを作成する。

grid_update

グリッドのタイトルや既定の並び順を更新する。

grid_copy

グリッドを既存のターゲットページへコピーする(非同期操作)。

grid_delete

グリッドを削除する。

grid_add_rows

指定位置または指定した行の後に行を追加する。

grid_update_cells

行+列で個々のセルを更新する。

grid_delete_rows

行を削除する。

grid_move_row

行を移動する。

grid_add_columns

型付き列を追加する。

grid_delete_columns

スラグで列を削除する。

grid_move_column

列を移動する。

グリッドの仕様:

  • 変更操作は楽観ロックを使用する — まずグリッドを取得し、最新の revision を渡す。

  • grid_update.default_sort は [{"column": "status", "direction": "asc"}] のエントリを受け取る。サーバーが API の想定するワイヤフォーマットに変換してくれる。

  • grid_add_columns は各列に required が必須である。実 API が必須として検証するため。

  • grid_copy はコピー済みの完成したグリッドオブジェクトではなく、操作メタデータを返す。

代替実装との比較

事実は、2026 年7〜8月の時点で、代替実装のドキュメントと公開コードで検証した。 公式のホスト型サーバーのツール一覧は、mcp.wiki.yandex.net (wiki-mcp-server 1.28.1、2026-08-11)からライブで取得した。

yandex-wiki-search-mcp

Yandex公式のMCP(ホスト型)

ya-yandex-wiki-mcp

slartus/mcp-yandex-wiki

ya-wiki-mcp

全文検索

✅ 最大50件、サーバー側フィルター+ハイライト

❌ 検索ツールなし

❌

✅ 最大10件

❌

ページ: 作成 / 更新 / 追記 / 削除+復元

✅ すべて対応。さらにテキスト置換による部分編集(page_edit)あり

部分対応 — 追記 / 復元なし。テキスト置換による部分編集はあり

✅ すべて対応

部分対応 — 追記 / 復元なし

部分対応 — 復元なし

ページ: 新しい slug へのクローン

✅ page_clone

❌

❌

❌

✅

グリッド: 書き込みツール

✅ 11

✅ 12(列更新・行の固定/色を含む)

✅ 11

❌ 読み取り専用

✅ 11(クローンを含む)

コメント、添付ファイルのアップロード

✅ 削除・インライン画像プレビュー・ディスクへのダウンロードを含む

コメント ✅ / アップロード ❌(代わりにダウンロード+プレビュー)

✅

❌

❌

サーバー側読み取り専用モード

✅

❌

✅

❌

❌

型付き出力スキーマ+ツール注釈

✅

❌

❌

❌

❌ ツールはプレーンな文字列を返す(実際は「❌」)

YFM ヘルパー

✅ 構文チートシート・リファレンス +書き込みツールに yfm_warnings

❌

❌

❌

✅ Markdown→YFM 変換器+ページツリーのキャッシュ、プロンプトテンプレート

Docker / PyPI / MCP Registry

✅ / ✅ / ✅

— ホスト型サービス・クローズドソーシ、イストール不要

✅ / ✅ / ✅

❌ 手動インストール

❌ / ✅ / ❌

マルチューザー OAuth(HTTPデプロイ)

✅

❌ユーザー単位のトークンを静的ヘッダーに貼る方式。OAuthフローなし

✅ユーザ

❌

❌

参考までに、他にも次の実装があります。

  • best-doctor/mcp-yandex-wiki (Python) — ページの作成/更新と読み取りが可能で、別途 -ro 読み取り専用エントリポイントもあります。削除/復元・グリッド・検索は未対応。PyPI のみ。

  • brekhov-ilya/yandex-wiki-mcp (npm) — ページの読み取り/書き込み/移動、グリッドは読み取り専用。自動更新付きの対話的な PKCE トークンフロー。全文検索はありません。

  • n-r-w/yandex-mcp (Go) — Yandex Tracker と Wiki を1つのサーバーに統合し、設計上読み取り専用(Wiki 読み取りツール5つ)。検索なし。認証は yc CLI の IAM トークン限定で、Yandex OAuth トークンは対象外です。

  • bim-ba/ycli (Python) — Tracker・Wiki・Forms をまとめたキットです。CLI、Python SDK、Claude Code プラグインを備え、MCP サーバーの Wiki 側は42個の wiki_* ツール群(読み取り15 / 書き込み27、注釈付き、--read-only フラグあり)。全文検索ツールはなく、添付ファイルのダウンロードは CLI/SDK のみです。

2026年8月現在、全文検索を実現するのは本プロジェクト(最大50件)と slartus(最大10件)だけで、Yandex 公式のホスト型サーバーには検索ツールがありません。加えて、検索・グリッド書き込み・サーバー側読み取り専用モード・型付き出力スキーマの4つをすべて備えるのは本プロジェクトだけです。

このプロジェクトは ya-yandex-wiki-mcp のフォークであり、slartus/mcp-yandex-wiki の知見をもとに作られています。謝辞 を参照してください。

全文検索

page_search は POST /v1/search エンドポイントのラッパーです。Wiki の検索バーが使う同じバックエンドで、Yandex が 2026年8月の API リファレンス を公開するまで非公開でした。まず検索し、その結果を page_get に slug を渡して開きます。

  • 2つの通信モードがあります。デフォルトでは: 1回の呼び出しで最大 50 件(limit は1〜50にクランプされ、それ以外の値はAPIが拒否)、ページです。レスポンスのカーソルは常に null。highlight=true のときは、ページ結果が limit に関係なく10件までですし、一致箇所は <em> で囲まれます。cursor(next_cursor に戻るページ番号)で約100件まで戻ります。 results が空になるか、空でないページで next_cursor が null になるまで続きます。末尾を過ぎても next_cursor は空ページを数えるため、それ自体が「まだある」ことにはなりません。

  • フィルターはサーバー側で limit の前に実行されます。条件付き検索でも、limit によって該当結果が失われません。slug_prefix(セクションフィルター。tech-doc/ml のような深いプレフィックスも可)、result_type(page/file)、authors(uid/cloud_uidによるページ所有者。user_get_current が自己の情報を返すため、「自分のXに関するページ」が呼び出し2回で済みます)、created_between/modified_between の日付範囲(両端必須。APIは開いた範囲を拒否します)。

  • 引用符 "exact phrase" のクエリが動作します。pageの結果には絶対 URL のhttps://wiki.yandex.ru/...` リンク、file の結果には 直接ダウンロードリンクが返ります。 *content は 約510文字の抜粿 で、ページ本文でも要約でもありません。一致箇所を起点に切り取られるため、内容にクエリー語が含されているとも限りません。改行・タブは 断片の区切りではなく、ページ元のレイアウトです(表セルはタブ区切りで届きます)。一致を <em> で囲むには highlight=true を指定します。その内容を答に使む前に、page_get で本ペー지를読んでください。file の結果ではこの項目は空です。

ツーリーの走査

page_get_descendants は、サブツリーを1つのフニートな {id, slug} リストとして返します。 page_id / slug の代わりに from_root=true を渡すと Wiki 全体 を走査できます。た、検索だけがエントリではなく、開始 slug} が不明な場合に利用できます。セクション slug を指定できる場合はそちらをしてください。Wikiにま数多くのページが存在し、fetch_all は約500項目の上限に達すると truncated: true を返し停止します。

検証済みのAPI動作(スコープ、403の意味、エラーエンベロープ、制限)については、docs/api-notes.md を参照してください。

設定

変数

必須

デフォルト

説明

WIKI_TOKEN

いずれか一方

—

Yandex OAuth トークン(両方が設定されている場合はこちらが優先されます)

WIKI_IAM_TOKEN

—

IAM トークン(Yandex Cloud オーガニゼーション用)

WIKI_ORG_ID

2つのうち正確に1つ

—

Yandex 360 オーガニゼーション ID(X-Org-Id)

WIKI_CLOUD_ORG_ID

—

Yandex Cloud オーガニゼーション ID(X-Cloud-Org-Id)

WIKI_READ_ONLY

不要

false

true にすると、すべての書き込みツールがサーバーサイドで無効になります

TRANSPORT

不要

stdio

stdio | sse | streamable-http

HOST / PORT

不要

0.0.0.0 / 8000

HTTP トランスポートのみ

STATELESS_HTTP / JSON_RESPONSE

不要

true / true

streamable-http のみ: セッションごとの状態を保持しない / SSE の代わりに JSON で応答する

LOG_LEVEL

不要

INFO

ログは stderr に出力されます。DEBUG では Wiki API リクエスト(メソッド、パス、ステータス、処理時間 — ヘッダーや本文は決して記録されません)も記録されます

WIKI_API_BASE_URL

不要

https://api.wiki.yandex.net

Wiki API エンドポイント

WIKI_WEB_BASE_URL

不要

https://wiki.yandex.ru

page_search 結果の絶対ページリンクのベース

WIKI_AUTH_SCHEME

不要

OAuth

WIKI_TOKEN に使用する Authorization ヘッダーのスキーム(OAuth | Bearer)

WIKI_MAX_RETRIES

不要

2

切断された接続と読み取りリクエストでの 429/502/503/504 の再試行回数。0 で無効になります

TOOL_RESULT_TEXT

不要

pretty

構造化ツール結果のテキスト複製: pretty(インデント2) | compact(単一行、テキストブロックを10〜30%削減) | none(構造化のみ — クライアントがまず structuredContent をレンダリングすることを確認してください)

OAUTH_ENABLED=true の場合、サーバーは OAuth プロバイダーになります。各 MCP ユーザーは自分の Yandex アカウントで認証し、Wiki API へのリクエストは個人のトークンで行われます。このモードでは page_upload_attachment と page_download_attachment は登録されません。これらはサーバーが稼働しているマシン上のファイルを読み書きするものであり、共有デプロイメントではそのマシンは呼び出し元のマシンではありません。

変数

デフォルト

説明

OAUTH_ENABLED

false

OAuth プロバイダーを有効にします

OAUTH_STORE

memory

memory | redis

OAUTH_SERVER_URL

https://oauth.yandex.ru

Yandex OAuth サーバー

OAUTH_USE_SCOPES

true

認可時に Wiki のスコープを要求します

OAUTH_CLIENT_ID / OAUTH_CLIENT_SECRET

—

お使いの Yandex OAuth アプリの認証情報

OAUTH_CLIENT_SECRET_EXPIRY_SECONDS

2592000(30日間)

動的に登録される MCP クライアントの有効期間。登録はプロトコル設計上認証なしで行われるため、有効期限がなければすべての登録が無期限に保持されます。クライアントは登録時に期限を通知され、期限が過ぎると再登録します。空にすると無効になります

MCP_SERVER_PUBLIC_URL

—

このサーバーの公開 URL(OAuth コールバック)

OAUTH_ENCRYPTION_KEYS

—

カンマ区切りの base64 32 バイト鍵(redis ストアでは必須)

REDIS_ENDPOINT / REDIS_PORT / REDIS_DB / REDIS_PASSWORD / REDIS_POOL_MAX_SIZE

localhost / 6379 / 0 / — / 10

Redis 接続

ユーザーごとのオーガニゼーションの選択。 OAuth では WIKI_ORG_ID / WIKI_CLOUD_ORG_ID はオプションです。各リクエストでオーガニゼーションを指定できるためです。クライアントが接続する MCP サーバー URL に ?orgId=...(または ?cloudOrgId=...)を追加してください。クエリパラメーターはサーバー全体の設定よりも優先されるため、1つのデプロイメントで複数のオーガニゼーションを利用できます。リクエストがどちらも指定しない場合、ツール呼び出しは両方のオプションを示すメッセージで失敗します。すべてのユーザーが共通のオーガニゼーションを持つ場合は、環境変数を既定値として設定してください。

完全な注釈付きリストは .env.example を、Redis のベースラインは compose.yaml を参照してください。

デプロイメント

flowchart LR
    C["MCP client&lt;br/&gt;Claude / Cursor / Windsurf / VS Code"]
    S["yandex-wiki-search-mcp"]
    W["Yandex Wiki API"]
    R[("Redis&lt;br/&gt;optional OAuth token store")]
    C -- "stdio (local, single user)" --> S
    C -- "streamable-http (+ OAuth, multi-user)" --> S
    S --> W
    S -.-> R

Docker 経由の HTTP サーバー(MCP エンドポイントは http://localhost:8000/mcp):

docker run --env-file .env -e TRANSPORT=streamable-http -p 8000:8000 \
  --log-opt max-size=10m --log-opt max-file=3 \
  ghcr.io/dlbolshov/yandex-wiki-search-mcp:latest

[!NOTE] このサーバーは独自のログファイルを書きません。すべては stderr に出力され、Docker の既定の json-file ドライバーは サイズ制限を設けずに保存します。上記の --log-opt フラグで上限を設定します。デーモンがすでに既定値を設定している場合のみ、それらフラグを省略してください。

services:
  mcp-wiki:
    image: ghcr.io/dlbolshov/yandex-wiki-search-mcp:latest  # or: build: .
    ports:
      - "8000:8000"
    environment:
      - WIKI_TOKEN=${WIKI_TOKEN}
      - WIKI_ORG_ID=${WIKI_ORG_ID}
      - TRANSPORT=streamable-http
    logging:
      driver: json-file
      options:
        max-size: "10m"
        max-file: "3"

Redis バックエンドの OAuth ストレージには、既存の compose.yaml をベースラインとして使用してください。

セキュリティ

  • 読み取り専用はサーバーサイドで実施: WIKI_READ_ONLY=true の場合、書き込みツールは決して登録されません。混乱したエージェントが呼び出せるものは何もありません。

  • Wiki API は OAuth スコープを強制しないこと(Yandex がスコープを文書化した後、2026-08-11 に再検証済み — docs/api-notes.md を参照): wiki:read トークンでも書き込みはできるため、トークンのスコープに頼らず読み取り専用モードを使用してください。

  • シークレットはすべて SecretStr です — ログと repr ではマスクされます。DEBUG HTTP ログにヘッダーや本文が含まれることはありません。

  • 削除は復元可能です: page_delete は page_recover のための復元トークンを返します。

  • 共有 .env 内の無関係なキーは無視されますが、タイプミスの設定(WIKI_READ_ONL)は、選択していない既定値に黙ってフォールバックする代わりに、サーバーを停止させます。

開発

uv sync --dev
uv run yandex-wiki-search-mcp   # run locally
uv run pytest                   # tests

コミットする前に、CONTRIBUTING.md の完全な検証セットを実行してください。 サーバーがどのように構成されているか(レイヤー、コードマップ、テストの結合点、CI、リリースプロセス)は docs/architecture.md に説明されています。 検証済みの API 動作とプローブスクリプトは docs/api-notes.md に文書化されています。

Wiki API は仕様が漂移(ドリフト)します(検索エンドポイントは、ドキュメント化される前の時期に一度、静かに契約を変更しています) — scripts/contract_sweep.py は、すべてのクライアントメソッドを実環境の組織に対して再検証し、検証不一致や未宣言キーを報告します。

uv run python scripts/contract_sweep.py users/YOU/contract-sweep            # ~30 live checks
uv run python scripts/contract_sweep.py users/YOU/contract-sweep --cleanup  # remove fixtures

API ドリフトチェック ワークフローは、DRIFT_* リポジトリシークレットが設定されている場合に、同じスイープを毎週実行します(手順はワークフローのヘッダーにあります)。シークレットがなければ、静かにスキップします。

クレジット

このプロジェクトは、APonkratov/yandex-wiki-mcp(ya-yandex-wiki-mcp)のフォークから始まりました。作者は Aleksandr Ponkratov 氏で、Yandex Wiki API 向けの優れたテスト済み Python MCP サーバーであり、Apache-2.0 でライセンスされています。それ以来、このプロジェクトは独自のサーフェスを拡大してきました。全文検索、33 ツールすべてにわたる型付き入力 および 出力スキーマ、YFM ヘルパー、カーソルドレイン、マルチユーザー OAuth、API に対するライブ契約スイープを備えています。一方、元の著作権とライセンスは保持されています(LICENSE と NOTICE を参照)。

全文検索の背後にあるアイデアと主要な API の発見は、slartus/mcp-yandex-wiki(JavaScript、MIT)に由来します。そこは、当時ドキュメント未整備だった POST /v1/search エンドポイントを初めて発見し(Yandex がそのリファレンスを公開したのは 2026 年 8 月になってからです)、OAuth スコープが強制されていないことも報告しました。このプロジェクトはそこからコードを一切取っておらず、発見とアイデアだけを取り入れて、実環境の組織に対して独立に再検証し、ここで拡張しています。

商標

「Yandex」および「Yandex Wiki」は YANDEX LLC の商標です。本プロジェクトは非公式のコミュニティ制作物であり、Yandex との提携・協賛・承諾は一切ありません。これらの名称は、サーバーが通信するサービスを指すために用名的に使用されています。ロゴはオリジナルのマークであり、Yandex Wiki や MCP のブランドを再現したものではありません(デザインノート)。


mcp-name: io.github.dlbolshov/yandex-wiki-search-mcp

Available Tools

33 tools
grid_add_columnsAdd Wiki Grid ColumnsA

Add columns to a Yandex Wiki dynamic table. Fetch the grid first and pass the latest revision. This changes structured data.

Inputs: columns (required), grid_id (required), revision (required), position. Returns: Row and column mutations answer with `results` (+ `revision`).

grid_add_rowsAdd Wiki Grid RowsA

Add rows to a Yandex Wiki dynamic table. Fetch the grid first and pass the latest revision. This changes structured data.

Inputs: rows (required), grid_id (required), revision (required), position, +1 more. Returns: Row and column mutations answer with `results` (+ `revision`).

grid_copyCopy Wiki GridA

Copy a Yandex Wiki dynamic table to an existing target page. This starts an asynchronous operation and returns operation metadata.

Inputs: grid_id (required), slug, title, page_id. Returns: dry_run, operation, status_url

grid_createCreate Wiki GridA

Create a Yandex Wiki dynamic table resource on a page. This changes structured data.

Inputs: title (required), slug, page_id. Returns: id, page, rows, title, +7 more

grid_deleteDelete Wiki GridB
Destructive

Delete a Yandex Wiki dynamic table. This changes structured data and is destructive.

Inputs: grid_id (required). Returns: Acknowledgment for `DELETE /grids/{id}`. The endpoint answers 204 No Content (d…

grid_delete_columnsDelete Wiki Grid ColumnsA
Destructive

Delete columns from a Yandex Wiki dynamic table. Fetch the grid first and pass the latest revision. This changes structured data.

Inputs: grid_id (required), revision (required), column_slugs (required). Returns: Row and column mutations answer with `results` (+ `revision`).

grid_delete_rowsDelete Wiki Grid RowsA
Destructive

Delete rows from a Yandex Wiki dynamic table. Fetch the grid first and pass the latest revision. This changes structured data.

Inputs: grid_id (required), row_ids (required), revision (required). Returns: Row and column mutations answer with `results` (+ `revision`).

grid_getGet Wiki GridA
Read-only

Get a Yandex Wiki dynamic table by grid ID.

Inputs: grid_id (required), sort, fields, filter, +3 more. Returns: id, page, rows, title, +7 more

grid_move_columnMove Wiki Grid ColumnA
Idempotent

Move a column inside a Yandex Wiki dynamic table. Fetch the grid first and pass the latest revision. This changes structured data.

Inputs: grid_id (required), position (required), revision (required), column_slug (required). Returns: Row and column mutations answer with `results` (+ `revision`).

grid_move_rowMove Wiki Grid RowA
Idempotent

Move a row inside a Yandex Wiki dynamic table. Fetch the grid first and pass the latest revision. This changes structured data.

Inputs: row_id (required), grid_id (required), revision (required), position, +1 more. Returns: Row and column mutations answer with `results` (+ `revision`).

grid_updateUpdate Wiki GridA
Idempotent

Update a Yandex Wiki dynamic table. Fetch the grid first and pass the latest revision. This changes structured data.

Inputs: grid_id (required), revision (required), title, default_sort. Returns: id, page, rows, title, +7 more

grid_update_cellsUpdate Wiki Grid CellsA
Idempotent

Update cells in a Yandex Wiki dynamic table. This changes structured data. Each cell patch must include row_id, value, and exactly one of column_id or column_slug.

Inputs: cells (required), grid_id (required). Returns: `POST /grids/{id}/cells` answers with `cells`, not `results`. Its own model rat…

page_add_commentAdd Page CommentB

Add a comment to a Yandex Wiki page.

Inputs: body (required), slug, page_id, parent_id, +1 more. Returns: id, body, author, parent_id, +7 more

page_append_contentAppend Wiki ContentA

Append content to the top, bottom, or anchor of a Yandex Wiki page. Content is Markdown (YFM): plain Markdown renders as-is, but GitHub-specific extensions ('[!NOTE]' alerts, raw HTML) do not — see the wiki-mcp://yfm-cheatsheet resource for YFM equivalents.

Inputs: content (required), slug, anchor, page_id, +1 more. Returns: id, slug, owner, title, +10 more

page_cloneClone Wiki PageA

Copy a Yandex Wiki page to a new slug and return the copy's id and slug once the operation completes. Copies title and content only: child pages, comments, attachments, and edit history stay with the original, and the copy gets a new page id. Fails when the target slug is already occupied. The Wiki API has no true move/rename; to relocate a page, clone it and delete the original — re-uploading attachments and re-creating grids on the copy if they must follow.

Inputs: target (required), slug, title, page_id. Returns: The clone operation's result: where the copy landed. `POST /pages/{id}/clone` i…

page_createCreate Wiki PageA

Create a Yandex Wiki page. Content is Markdown (YFM): plain Markdown renders as-is, but GitHub-specific extensions ('[!NOTE]' alerts, raw HTML) do not — see the wiki-mcp://yfm-cheatsheet resource for YFM equivalents.

Inputs: slug (required), title (required), content (required). Returns: id, slug, owner, title, +10 more

page_deleteDelete Wiki PageA
Destructive

Delete a Yandex Wiki page and return a recovery token.

Inputs: slug, page_id. Returns: recovery_token

page_delete_attachmentDelete Page AttachmentA
Destructive

Delete an attachment from a Yandex Wiki page. File ids come from page_get_attachments. Does not touch page content — any file macro referencing the attachment stays behind, broken.

Inputs: file_id (required), slug, page_id. Returns: Acknowledgment for `DELETE /pages/{id}/attachments/{fid}`. The endpoint answers…

page_delete_commentDelete Page CommentA
Destructive

Delete a comment from a Yandex Wiki page and return the page's updated comment count. Comment ids come from page_get_comments.

Inputs: comment_id (required), slug, page_id. Returns: Acknowledgment for `DELETE /pages/{id}/comments/{cid}`. The endpoint answers 20…

page_download_attachmentDownload Page AttachmentA

Download a Yandex Wiki page attachment to a local file: the bytes stream to disk without a size cap and never enter the conversation — the counterpart to page_read_attachment, for getting the artifact itself (a PDF, an archive, a large export). Writes atomically; refuses to replace an existing file unless overwrite is true. File ids come from page_get_attachments.

Inputs: file_id (required), save_to (required), slug, page_id, +1 more. Returns: Acknowledgment for a download-to-disk: where the bytes landed. Built client-sid…

page_editEdit Wiki Page ContentA

Edit a Yandex Wiki page by exact-text replacements, without resending the whole page: reads the current content, applies the replacements in order, and writes the result back with a single update. Each old_text must match the stored YFM markup exactly (copy it from page_get, whitespace included) and occur exactly once unless replace_all is set — a missing or ambiguous match fails the whole call before anything is written. NOTE: the Wiki API has no page revisions, so the read-modify-write is not atomic; allow_merge (on by default) asks Wiki to merge a concurrent edit that landed in between rather than overwrite it. Do NOT blindly retry a call whose result you did not see: a replacement whose new_text contains its own old_text applies again on a repeat. Content is Markdown (YFM): plain Markdown renders as-is, but GitHub-specific extensions ('[!NOTE]' alerts, raw HTML) do not — see the wiki-mcp://yfm-cheatsheet resource for YFM equivalents.

Inputs: replacements (required), slug, page_id, is_silent, +1 more. Returns: Compact acknowledgment for page_edit — also tool-level, never from the wire. De…

page_getGet Wiki PageA
Read-only

Get a Yandex Wiki page by page_id or slug.

Inputs: slug, fields, page_id. Returns: id, slug, owner, title, +9 more

page_get_attachmentsGet Page AttachmentsB
Read-only

Get attachments for a Yandex Wiki page.

Inputs: slug, cursor, page_id, fetch_all, +1 more. Returns: results, truncated, next_cursor, prev_cursor

page_get_commentsGet Page CommentsB
Read-only

Get comments for a Yandex Wiki page.

Inputs: slug, cursor, page_id, fetch_all, +1 more. Returns: results, truncated, next_cursor, prev_cursor

page_get_descendantsGet Page DescendantsA
Read-only

Get the subtree of Yandex Wiki pages under a parent page. Returns descendants from ALL nesting levels as one flat list of {id, slug} items — slugs encode the hierarchy ('/x/y' is nested under '/x'), so the tree can be reconstructed without further calls. Combine with fetch_all=true to map a whole section at once; if the result comes back truncated=true, continue via next_cursor or narrow down by calling this tool on a subsection's slug. Pass from_root=true instead of page_id/slug to enumerate the WHOLE Wiki, top-level pages included — the way to inventory an organization when no starting slug is known. Prefer a section slug when you have one: a full wiki is routinely thousands of pages, so a root walk costs many requests and a large reply, and fetch_all stops at its ~500-item cap with truncated=true.

Inputs: slug, cursor, page_id, fetch_all, +3 more. Returns: results, truncated, next_cursor, prev_cursor

page_get_gridsGet Page GridsA
Read-only

Get dynamic tables attached to a Yandex Wiki page.

Inputs: slug, cursor, page_id, order_by, +3 more. Returns: results, truncated, next_cursor, prev_cursor

page_get_resourcesGet Page ResourcesB
Read-only

Get resources linked to a Yandex Wiki page, including attachments and grids.

Inputs: slug, cursor, search, page_id, +5 more. Returns: results, truncated, next_cursor, prev_cursor

page_read_attachmentRead Page AttachmentA
Read-only

Read a Yandex Wiki page attachment's content into the conversation (nothing is saved anywhere): PNG/JPEG/GIF/WebP images arrive as a native image block — vision-capable clients render and see them — text files (SVG included, it is XML) as text, anything else base64-encoded. Meant for images and text attachments — diagrams, screenshots, configs, CSVs, logs. Refuses non-image content over 128 KiB and images over 2 MiB. Use page_download_attachment to save it locally, or fetch the attachment's download_url from page_get_attachments yourself. page_get_attachments is also where file ids come from.

Inputs: file_id (required), slug, page_id.

page_recoverRecover Wiki PageA

Recover a deleted Yandex Wiki page using a recovery token.

Inputs: recovery_token (required). Returns: id, slug, pages_count

page_updateUpdate Wiki PageA
Idempotent

Update an existing Yandex Wiki page: title, content, or a redirect to another page. Content replacement is full-page when content is provided. Content is Markdown (YFM): plain Markdown renders as-is, but GitHub-specific extensions ('[!NOTE]' alerts, raw HTML) do not — see the wiki-mcp://yfm-cheatsheet resource for YFM equivalents.

Inputs: slug, title, content, page_id, +4 more. Returns: id, slug, owner, title, +10 more

page_upload_attachmentUpload Page AttachmentA

Upload a local file to Yandex Wiki and attach it to a page.

Inputs: file_path (required), slug, page_id, append_markup, +1 more. Returns: page_id, attachments, appended_markup, appended_content

user_get_currentGet Current UserA
Read-only

Get the calling Yandex Wiki user: username, home_cluster (the caller's personal-section slug, e.g. 'users/' — where 'create it in my section' requests belong), and identity/org ids.

Inputs: no named parameters. Returns: org, identity, username, home_cluster

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.8/5.0

    Scored across 33 tools

    Disambiguation4/5

    Most tools target distinct resources or actions, and the detailed descriptions make choices clear. However, page_get_resources overlaps with page_get_attachments and page_get_grids, and grid_update vs grid_update_cells could be confused at first glance.

    Naming Consistency5/5

    All tools follow a consistent resource-prefixed snake_case pattern (page_, grid_, user_) with clear verbs and optional objects. Even related mutations like grid_add_rows, grid_delete_rows, and grid_move_column are predictable.

    Tool Count2/5

    At 33 tools, the surface is well beyond the 16-25 range and feels heavy for an agent to navigate. While the coverage is broad, several operations could likely be consolidated or grouped to reduce cognitive load.

    Completeness5/5

    The server covers the full page lifecycle, search and hierarchy navigation, comments, attachments, and dynamic tables with CRUD and row/column operations. The only gaps (e.g., move/rename) are explicitly acknowledged with documented workarounds, so agents are not left at dead ends.

    Maintenance

    ActivitySlowing
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers