yandex-wiki-search-mcp
English | Русский
Yandex Wiki Search MCP

将 Claude、Cursor、Windsurf 或任何 MCP 客户端连接到 Yandex Wiki:全文搜索、页面、评论、附件和动态表格(“grids”)——共 33 个工具,全部带类型化 JSON 模式。
非官方项目:与 Yandex 无关,也未获 Yandex 认可。
🔍 全文搜索可覆盖整个 wiki——与 Wiki 网页搜索栏使用同一个后端,每次查询最多返回 50 条结果
📄 完整页面生命周期——创建、更新、追加(顶部 / 底部 / 锚点)、克隆、删除(可带恢复令牌)、评论、文件上传
📊 动态表格(grids)——11 个写入工具:行、列、单元格、复制、排序
🔒 服务端只读模式——
WIKI_READ_ONLY=true时服务端根本不会注册写入工具,因此代理无法绕过类型化工具面——每个工具都附带输入 和 输出 JSON 模式,以及安全注解(只读 / 破坏性 / 幂等提示)
随处可运行——桌面客户端用 stdio;团队可用 streamable-http + Docker(可选多用户 OAuth)
快速开始
获取具有 Wiki 访问权限的 Yandex OAuth 令牌([官方指南](https://yandex.ru/support/wiki/ru/api-ref/access))和组织 ID。
在客户端中安装:
[
[
[
Claude Desktop 徽章会下载最新版本的 .mcpb 捆绑包——双击它,Claude Desktop 便会安装服务器,并提示你输入令牌和组织 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。
向客户端提出一个问题试试——见下文。
本服务器基于 MCP 1.x SDK v2 运行。这对客户端是完全透明的:一个 v2 服务的服务端即可兼容从 2024-11-05 以来的每个协议版本,也兼容当前版本——所以你的客户端无需任何改动,也不必重新安装。
唯一需要回退的理由是:某共享环境为了其他用途 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,并把今天开始会摘要追加进去。” “给值班轮换表添加一行:alice,下周。” “把这 PDF 上传到项目页面,并在底部加入链接。” “删除草稿页面,但保留一把恢复令牌,万一改变主意。
工具
共 33 个工具。当 WIKI_READ_ONLY=true 时,所有写入工具都会消失。
搜索与读取(10)
工具 | 用途 |
| 在整个 Wiki(页面和文件)中执行全文搜索,结果按相关度排序并附摘录;支持服务端筛选,以及通过游标分页获取 |
| 按 |
| 遍历页面的子树——以扁平列表返回所有嵌套级别的 |
| 列出页面评论(支持 |
| 列出页面资源(附件 + 表格),支持服务端标题搜索(支持 |
| 列出页面附件(支持 |
| 将附件内容直接读入对话(不保存到任何位置)——PNG/JPEG/GIF/WebP 作为原生 image block,由支持视觉能力的客户端渲染;文本作为文本(包括 SVG:SVG 是 XML,而视觉 API 无法解码的 image block 会导致主机的下一次调用失败);其他二进制文件作为 base64 blob。格式由文件的魔数(magic bytes)本身决定,而非传输时声称的类型。为保护模型的上文窗口设有上限:文本/二进制为 128 KiB,图片为 2 MiB。再大的内容都会被拒绝,并提示改用 |
| 列出页面上吸附的网格(支持 |
| 按 |
| 我是谁—— |
页面:写入 (12)
工具 | 作用 |
| 创建页面 |
| 更新页面标题和/或完整内容;设置或清除指向另一个页面的重定向 |
| 通过精确文本替换来编辑内容,无需重新发送整个页面;缺少或存在歧义的匹配会导致调用在写入任何内容之前失败;回写时使用 |
| 将内容追加到页面顶部、底部或命名锚点处 |
| 将页面复制到新 slug 下——副本会获得一个新的 id;子页面、评论和历史记录仍保留在原页面;已占用的 slug 会被拒绝。该 API 不具备真正的移动/重命名( |
| 在帖子中添加评论或回复 |
| 删除评论;返回页面的最新评论数 |
| 从页面上删除附件 |
| 删除页面并获取恢复令牌 |
| 通过恢复令牌恢复已删除的页面 |
| 分块上传本地文件并将其附加到页面——在 |
| 将附件下载到本地文件——以流式写入磁盘,无大小上限,内容不会进入对话。写入是原子的( |
网格:写入(11)
工具 | 作用 |
| 在页面上创建网格 |
| 更新网格标题和默认排序 |
| 将网格复制到网格目标页面,或 (异步操作) |
| 删除网格 |
| 在某个位置或在指定行之后添加行 |
| 按行 + 列更新单个单元格 |
| 删除多行 |
| 移动行 |
| 添加已有类型的列 |
| 按 slug 删除列 |
| 移动列 |
网格细节:
所有变更操作使用乐观锁——先获取网格,并传入最新的
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(托管) | ||||
全文搜索 | ✅ 最多 50 条结果,服务端过滤 + 高亮 | ❌ 没有搜索工具 | ❌ | ✅ 最多 10 条结果 | ❌ |
页面:创建 / 更新 / 追加 / 删除 + 恢复 | ✅ 全部支持,另有通过文本替换的部分编辑( | 部分支持——无追加 / 恢复;有通过文本替换的部分编辑 | ✅ 全部支持 | 部分支持——无追加 / 恢复 | 部分支持——无恢复 |
页面:克隆到新的 slug | ✅ | ❌ | ❌ | ✅ | ✅ |
表格:写入工具 | ✅ 11 个 | ✅ 12 个,包括列更新和行固定 / 颜色 | ✅ 11 个 | ❌ 只读 | ✅ 11 个,包括克隆 |
评论、附件上传 | ✅ 包括删除、内嵌图片预览和下载到磁盘 | 评论 ✅ / 上传 ❌(提供下载 + 预览) | ✅ | ❌ | ❌ |
服务端只读模式 | ✅ | ❌ | ✅ | ❌ | ❌ |
类型化输出模式 + 工具注记 | ✅ | ❌ | ❌ | ❌ | ❌ 工具返回纯字符串 |
YFM 辅助 | ✅ 语法速查表资源 + 写入工具中的 | ❌ | ❌ | ❌ | ✅ Markdown→YFM 转换器 + 页面树缓存、提示模板 |
部署方式:Docker / PyPI / MCP Registry | ✅ / ✅ / ✅ | — 托管服务,闭源,无需要安装 | ✅ / ✅ / ✅ | ❌ 手动安装 | ❌ / ✅ / ❌ |
多用户 OAuth for HTTP 部署 | ✅ | ❌ 使用 token 粘贴到静态请求头,无 OAuth 流程 | ✅ | ❌ | ❌ |
另外一些值得介绍的库/项目:
best-doctor/mcp-yandex-wiki(Python)— 页面创建 / 更新 + 读取,支持独立的
--` 只读入口点;无删除 / 恢复、无表格、无搜索;仅 PyPI 发行。brekhov-ilya/yandex-wiki-mcp(npm)— 页面读取 / 写入 / 移动,表格只读;交互式 PKCE token 流程,支持自动刷新,无全文搜索。
n-r-w/yandex-mcp(Go)— 单个服务端内置 Yandex Tracker 和 Wiki,设计上为只读(5 个 wiki 读取工具),无搜索;只支持通过
ycCLI 的 IAM 令牌认证,Yandex OAuth 令牌不支持。bim-ba/ycli(Python)— 针对 Tracker + Wiki 的一网络工具: CLI、Python SDK、Claude Code 插件,以及一个 MCP 服务端,其中 Wiki 接口提供 42 个
wiki_*工具(15 个读取 / 27 个写入,带注解,支持--read-only标记);无全文搜索工具;附件下载仅存于 CLI/SDK。
截至 2026 年 8 月,全文搜索只存在于本项目(最多 50 条结果)和 slartus/mcp-yandex-wiki(最多 10 条结果)中;Yandex 自己的托管服务不带搜索工具了,而同时具备搜索、表格写入、服务端只读模式和类型化 schema 的功能组合是这个项目独有的。
本项目是 ya-yandex-wiki-mcp 的分支(fork),并基于 slartus/mcp-yandex-wiki 的研究成果,详见 致谢。
全文搜索
page_search 封装了 POST /v1/search 端点——这正是 Wiki 网页搜索栏的底层接口,在 Yandex 于 2026 年 8 月发布API 参考文档之前一直没有公开文档。先搜索,然后用 page_get 通过 slug 打开结果即可。
两种网络模式。默认情况下:一次调用最多返回 50 条结果(
limit被限制在 1–50;API 拒绝其他值),不提供分页——响应中的 cursor 始终为null。使用highlight=true时,结果页硬上限为 10,且不受limit影响,匹配内容会放进<em>标签内,由cursor(在next_cursor中回显的页号)最多可游历 ~100 条结果。当results返回空或非空页面的next_cursor为null时,结果集结束——不过在末尾之后next_cursor仍会继续增长,所以仅有next_cursor并不代表还有更多。服务端过滤,先于 limit 生效——所以带过滤的搜索不会因此丢失匹配:
slug_prefix(按分区块过滤,像tech-doc/ml这类深层前缀也有效)、result_type(page/file)、authors(按页面属主uid/cloud_uid过滤,还可以通过user_get_current获取自己的值,让“找提及我的页面”变为两次请求),以及created_between/modified_between日期区间(两个边界都需要填写,API 不接受开放式区间)。支持带引号的
"exact phrase"搜索;page结果得到https://wiki.yandex.ru/...绝对链接,file结果是直接下载链接。content是一个 约 510 字节的摘要而非页面本身文章不是概括:原文是从匹配位置开始的截取,搜索词不一定出现在这段文本中;它的回行和标签是页面原有的版式(单元格数据用制表符分隔),而不是候选片段间分隔符。用page_get读取页面后才可从中作答。对于file结果,该字段为空。
遍历目录树
page_get_descendants 返回一颗子树作为一个扁平 {id, slug} 列表,包含每个层级。传入 from_root=true 而不是 page_id/slug 时,会 json 形式遍历 整个 Wiki——当不知道起始 slug 时只能用它,所以搜索不是唯一入口。有起始 slug 时优先用 slug 传入;Wiki 动辄数千页,fetch_all 约 500 条会截断,返回 truncated: true。
更多已验证的 API 行为(作用对象、403 语义错误、错误包装、限制):更多服务端说明。
配置
变量 | 是否必需 | 默认值 | 描述 |
| 两者之一 | — | Yandex OAuth 令牌(两者都设置时优先使用) |
| — | IAM 令牌(Yandex Cloud 组织) | |
| 二选一 | — | Yandex 360 组织 ID( |
| — | Yandex Cloud 组织 ID( | |
| 否 |
| 设为 |
| 否 |
|
|
| 否 |
| 仅用于 HTTP 传输 |
| 否 |
| 仅 |
| 否 |
| 日志写入 stderr; |
| 否 |
| Wiki API 端点 |
| 否 |
|
|
| 否 |
|
|
| 否 |
| 对连接中断以及读请求遇到 |
| 否 |
| 结构化工具结果的文本副本: |
当 OAUTH_ENABLED=true 时,服务器变为 OAuth 提供方:每个 MCP 用户用自己的 Yandex 账户授权,向 Wiki API 发出的请求使用其个人令牌。page_upload_attachment 和 page_download_attachment 在此模式下不会注册:它们会读取/写入运行服务器的机器里的文件,而在共享部署中,该机器并不是调用方的机器。
变量 | 默认值 | 描述 |
|
| 启用 OAuth 提供方 |
|
|
|
|
| Yandex OAuth 服务器 |
|
| 授权时请求 Wiki 作用域 |
| — | 你的 Yandex OAuth 应用凭据 |
|
| 动态注册的 MCP 客户端的有效期。注册在协议设计上就是无认证的,因此若无过期时间,每个注册项都会永久保留;客户端会在注册时被告知期限并在过期后重新注册。空值表示禁用 |
| — | 此服务器的公网 URL(OAuth 回调) |
| — | 逗号分隔的 base64 32 字节密钥( |
|
| Redis 连接 |
按用户选择组织。 在 OAuth 下,WIKI_ORG_ID / WIKI_CLOUD_ORG_ID 是可选的,因为每个请求都能指明自己的组织:在你的客户端连接的 MCP 服务器 URL 后面追加 ?orgId=...(或 ?cloudOrgId=...)。查询参数优先于全局设置,因此一个服务器可以服务多个组织。如果请求两者都没有携带,工具调用会失败,并返回一条指向这两个选项的提示——如果所有用户都共享同一个组织,就把它设为环境变量的默认值。
完整带注释的列表参见 .env.example,Redis 基础配置参见 compose.yaml。
部署
flowchart LR
C["MCP client<br/>Claude / Cursor / Windsurf / VS Code"]
S["yandex-wiki-search-mcp"]
W["Yandex Wiki API"]
R[("Redis<br/>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后,写工具根本不注册——一个被误导的 agent 也就无(工)可调。Wiki AP I 无法强制 OAuth 作用域(2026-08-11 经 Yandex 文档 sync 后重新验证,见 docs/api-notes.md):一个
wiki:read的令牌照样能写。因此请用只读模式,而不要依赖令牌 Scope。凭据全程都是
SecretStr——日志与repr中会被遮蔽;DEBUG级别 HTTP 日志永远不带标头或正文。删除是可恢复的:
page_delete会返回一个给page_recover使用的恢复令牌。共享
.env里不相关的键会被忽略,但一个拼错的配置(WIKI_READ_ONL)会让 server 直接停掉,而不是默默落回你并未实际选择的默认值。
开发
uv sync --dev
uv run yandex-wiki-search-mcp # run locally
uv run pytest # tests提交前,先执行 CONTRIBUTING.md 里完整的验证集合。关于服务器是如何构建的——层结构、代码地图、测试接缝、CI 和 release 过程——参见 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 fixturesAPI 漂移检查 工作流在配置了 DRIFT_* 仓库机密时会每周运行相同的扫描(说明见工作流头部);未配置这些机密时则静默跳过。
致谢
本项目最初是从 Aleksandr Ponkratov 的 APonkratov/yandex-wiki-mcp(ya-yandex-wiki-mcp)复刻而来;该原项目是一个出色且经过充分测试的、面向 Yandex Wiki API 的 Python MCP 服务器,基于 Apache-2.0 许可。此后,本项目已发展出自身独立的功能体系:全文搜索、覆盖全部 33 个工具的类型化输入 和 输出 schema、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 赞助或认可;这些名称仅为指称性地使用,用于说明服务器所对接的是哪项服务。该 Logo 是一个原创标识,既没有复刻 Yandex Wiki 的品牌,也没有复刻 MCP 的品牌(设计说明)。
mcp-name: io.github.dlbolshov/yandex-wiki-search-mcp
Available Tools
33 toolsgrid_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 GridBDestructive
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 ColumnsADestructive
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 RowsADestructive
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 GridARead-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 ColumnAIdempotent
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 RowAIdempotent
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 GridAIdempotent
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 CellsAIdempotent
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 PageADestructive
Delete a Yandex Wiki page and return a recovery token.
Inputs: slug, page_id. Returns: recovery_token
page_delete_attachmentDelete Page AttachmentADestructive
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 CommentADestructive
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 PageARead-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 AttachmentsBRead-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 CommentsBRead-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 DescendantsARead-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 GridsARead-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 ResourcesBRead-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 AttachmentARead-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_searchSearch WikiARead-only
Full-text search across the entire Yandex Wiki. Returns results (pages and files) ranked by relevance, each with a title, slug, url, and a text excerpt in content. Two modes: by default one call returns the top limit (up to 50) results and that is the whole reachable set — the response cursors stay null. With highlight=true the search switches to a paginated mode: pages are hard-capped at 10 results no matter the limit, and cursor (the page number echoed back in next_cursor) walks up to ~100 results — deeper than the default mode reaches. The set is over when results comes back empty or next_cursor is null on a non-empty page; past the end next_cursor keeps incrementing over empty pages, so do not treat it alone as 'more exists'. Use this tool to DISCOVER pages, then call page_get with a result's slug to read full content. content is an excerpt of at most ~510 characters cut from wherever the match sits in the page — not the page and not a summary of it, with no guarantee the query terms are even inside it — so treat it as a relevance signal and read the page before answering from it. Wrap multi-word exact phrases in double quotes. All filters (slug_prefix, result_type, authors, dates) run in the search backend itself, before the result limit, so a filtered search does not lose matches to it. To enumerate a section (or the whole Wiki) rather than search it, use page_get_descendants.
Inputs: query (required), limit, cursor, authors, +5 more. Returns: results, next_cursor, prev_cursor
page_updateUpdate Wiki PageAIdempotent
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 UserARead-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
Scored across 33 tools
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.
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.
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.
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
Related MCP Connectors
Shared project wiki for AI agents: read and write pages, next actions, and activity logs over MCP.
Read-only MCP for the Eco game wiki: search, Markdown pages, and wiki_* lookups. No keys, no writes.
MCP-native open-source Notion alternative: read & write pages, databases and kanban boards.
Token-free MCP server for structured RevoGrid Core, Pro, and Enterprise knowledge retrieval.
Related MCP Servers
- AlicenseBqualityBmaintenanceA secure MCP server for interacting with MediaWiki instances, allowing users to search, read, create, and manage wiki content like pages, categories, and files. It supports both public and private wikis with comprehensive authentication for full read and write operations.19AGPL 3.0
- AlicenseAqualityBmaintenanceMCP server for MediaWiki wikis. Search, read, edit, and manage wiki content from AI assistants. Includes formatting, link checking, revision history, and markdown conversion.4325MIT
- AlicenseAqualityFmaintenanceEnables reading, creating, updating, and appending content to Yandex Wiki pages via MCP. Supports both read-write and read-only modes.79MIT
- AlicenseNot gradedqualityDmaintenanceMinimal MCP server for Yandex Wiki that enables reading, writing, searching, and managing wiki pages and attachments.2MIT