Wiki.js
概览
作者提供的说明(英文原文)
Search, read and edit Wiki.js pages, and manage its assets, users, groups and comments
PopNx MCP 的三大支柱
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
- 用户评价i暂无评价评价功能将在后续阶段与账户功能一起开放
- 我们的基础检查i1 项中通过 1 项依据公开信息检查;尚未扫描代码
- 使用情况i非常新↓ 67/周 · ★ –
它能帮你做什么
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
- 连接方式: 在你的电脑上运行
- 传输方式: stdio
- 分类: 文档、表格与办公
- 你需要填写:WIKIJS_URL, WIKIJS_TOKEN
安装
选择你使用的 AI 应用,然后复制设置。
安装之前
- 基础检查:1 项中通过 1 项
- 在你的电脑上运行,拥有你的用户账户的权限(文件、网络、应用)。
- 需要你自己填写:
WIKIJS_URL,WIKIJS_TOKEN,WIKIJS_LOCALE,WIKIJS_READ_ONLY,WIKIJS_ALLOWED_PATHS,WIKIJS_ALLOW_TOOLS,WIKIJS_DENY_TOOLS,WIKIJS_INSECURE_TLS
标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。
你需要
- npm已安装 Node.js(用于 npx 命令)
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"wikijs": {
"command": "npx",
"args": [
"-y",
"@ni-c/wikijs-mcp"
],
"env": {
"WIKIJS_URL": "your-value",
"WIKIJS_TOKEN": "your-value",
"WIKIJS_LOCALE": "your-value",
"WIKIJS_READ_ONLY": "your-value",
"WIKIJS_ALLOWED_PATHS": "your-value",
"WIKIJS_ALLOW_TOOLS": "your-value",
"WIKIJS_DENY_TOOLS": "your-value",
"WIKIJS_INSECURE_TLS": "your-value"
}
}
}
}在终端中运行这条命令
claude mcp add wikijs --env WIKIJS_URL=your-value --env WIKIJS_TOKEN=your-value --env WIKIJS_LOCALE=your-value --env WIKIJS_READ_ONLY=your-value --env WIKIJS_ALLOWED_PATHS=your-value --env WIKIJS_ALLOW_TOOLS=your-value --env WIKIJS_DENY_TOOLS=your-value --env WIKIJS_INSECURE_TLS=your-value -- npx -y @ni-c/wikijs-mcp运行前请先填写空着的值。
或者自己复制设置
粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"wikijs": {
"command": "npx",
"args": [
"-y",
"@ni-c/wikijs-mcp"
],
"env": {
"WIKIJS_URL": "your-value",
"WIKIJS_TOKEN": "your-value",
"WIKIJS_LOCALE": "your-value",
"WIKIJS_READ_ONLY": "your-value",
"WIKIJS_ALLOWED_PATHS": "your-value",
"WIKIJS_ALLOW_TOOLS": "your-value",
"WIKIJS_DENY_TOOLS": "your-value",
"WIKIJS_INSECURE_TLS": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
或者自己复制设置
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"wikijs": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@ni-c/wikijs-mcp"
],
"env": {
"WIKIJS_URL": "your-value",
"WIKIJS_TOKEN": "your-value",
"WIKIJS_LOCALE": "your-value",
"WIKIJS_READ_ONLY": "your-value",
"WIKIJS_ALLOWED_PATHS": "your-value",
"WIKIJS_ALLOW_TOOLS": "your-value",
"WIKIJS_DENY_TOOLS": "your-value",
"WIKIJS_INSECURE_TLS": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
需要你填写的值
- Base URL of the Wiki.js instance, e.g. https://wiki.example.com
- API key from Administration → API Access. WIKIJS_API_KEY is accepted as an alias
WIKIJS_LOCALEenvLocale assumed by page tools that are not given one; part of a page's identity (default: en)WIKIJS_READ_ONLYenvSet to true to register only the read tools (default: false)WIKIJS_ALLOWED_PATHSenvComma-separated page path prefixes the write tools are confined to, matched by path segmentWIKIJS_ALLOW_TOOLSenvComma-separated tool names or list_* prefixes to register; 'essential' selects a curated preset (default: all tools)WIKIJS_DENY_TOOLSenvComma-separated tool names or list_* prefixes to remove from whatever the allow list leftWIKIJS_INSECURE_TLSenvSet to true to accept a self-signed certificate from a self-hosted instance (default: false)
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它能做什么
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
基础检查i
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月8日
- ✓ 通过
作者与仓库一致
注册名称已通过 GitHub 账户 ni-c 验证,该账户拥有此仓库
- … 尚未检查
仍在维护
我们还没有从 GitHub 读取这个仓库
- … 尚未检查
有许可证
我们还没有从 GitHub 读取这个仓库
- – 不适用
端点有响应
它在你的电脑上运行,没有互联网端点
- – 不适用
使用 OAuth 登录
在你的电脑上运行,改用本地设置
- … 尚未检查
工具描述中没有隐藏指令
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与“文档、表格与办公”中的其他服务器比较i
- 星标数多于此分类中其他 3590 个服务器的 0%
- 发布到注册中心的时间比此分类中其他 3590 个服务器的 34% 更新
- 基础检查结果等于或优于此分类中其他 3590 个服务器的 100%
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
常见问题
Wiki.js 安全吗?
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
它需要哪些密钥或代码?
你需要填写:WIKIJS_URL, WIKIJS_TOKEN
它在我的电脑上运行还是在云端?
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
它还在维护吗?
GitHub 仓库最后更新于–,最新版本(0.3.0)于2个月前进入注册中心。
哪些应用可以使用它?
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js, Docker。
有什么可以替代它?
同一分类中有:Agent-Native Calendar, Excel MCP Server, MCP Server for Excel
替代选择
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
Excel MCP Server
Create and edit Excel files with AI: charts, PivotTables, formulas. No Excel needed.
MCP Server for Excel
Excel automation for AI - Sheets, Power Query, DAX, VBA, Tables, Ranges and more. Windows only.
作者的 README
打开 README
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
wikijs-mcp
A Model Context Protocol (MCP) server for Wiki.js, the self-hosted wiki that keeps its pages as markdown and exposes everything through one GraphQL endpoint.
Lets MCP clients like Claude Code, Claude Desktop or Codex search, read and edit wiki pages — and, if you let them, manage its assets, comments, users, groups and maintenance jobs.
Sixty-two tools is the ceiling, not the floor: WIKIJS_ALLOW_TOOLS=essential registers a curated seven instead, and a model picks the right tool far more reliably from seven than from sixty-two — see choosing which tools load.
What makes it different
Finds text search cannot. Wiki.js' default engine indexes titles and descriptions only — so search_pages says which engine is running, and grep_pages searches the actual text of pages.
Will not clobber a colleague. update_page compares against the moment you read the page and refuses to overwrite an edit saved in between. Surgical edits must match exactly once.
Writes can be confined to part of the wiki. WIKIJS_ALLOWED_PATHS limits the writing page and asset tools to path prefixes, matched by path segment, while reads stay unrestricted.
Requirements
- Node.js ≥ 24
- A running Wiki.js instance and an API token
Configuration
| Variable | Required | Description |
|---|---|---|
WIKIJS_URL | yes | Base URL of the wiki, e.g. https://wiki.example.com. A trailing /graphql is trimmed |
WIKIJS_TOKEN | yes | API key from Administration → API Access. WIKIJS_API_KEY is accepted as an alias |
WIKIJS_LOCALE | no | Locale assumed by page tools that are not given one (default en) |
WIKIJS_READ_ONLY | no | true, 1 or yes registers only the read tools |
WIKIJS_ALLOWED_PATHS | no | Comma-separated page path prefixes the write tools are confined to, e.g. docs,team/notes |
WIKIJS_ALLOW_TOOLS | no | Comma-separated tool names, list_* prefixes, or essential for a curated preset |
WIKIJS_DENY_TOOLS | no | Same syntax; removed from whatever WIKIJS_ALLOW_TOOLS left |
ELICITATION | no | false replaces the approval dialog with the two-call token. Not prefixed |
WIKIJS_INSECURE_TLS | no | true accepts self-signed certificates (scoped to this connection) |
The locale is part of a page's identity, not a display preference: the same path under en and de is two different pages. On a wiki set up in another language, set WIKIJS_LOCALE or every lookup by path answers "not found". list_locales reports what is installed.
API keys are administrative. Wiki.js offers "full access" or a group, and a full-access key can rewrite every page and every account. WIKIJS_READ_ONLY, WIKIJS_ALLOWED_PATHS and the key's own group permissions are three independent ways to narrow that — see SECURITY.md.
Use `https://`. Over plain http the token travels unencrypted; the server
prints a warning unless the host is local. For self-signed certificates prefer a
proper internal CA over
WIKIJS_INSECURE_TLS.
Without credentials the server still starts and lists its tools (so registries and inspectors can introspect it), but every call fails with setup instructions instead of reaching the API.
Choosing which tools load
WIKIJS_ALLOW_TOOLS and WIKIJS_DENY_TOOLS take comma-separated tool names; a trailing * matches a whole family. essential is a curated preset — search_pages, grep_pages, get_page, list_pages, get_page_tree, create_page and update_page, which is what it takes to find, read and write a wiki page end to end — marked as such in the tool reference.
WIKIJS_ALLOW_TOOLS=essential
WIKIJS_ALLOW_TOOLS=get_page,search_pages,list_* WIKIJS_DENY_TOOLS=delete_*,purge_page_history,set_api_state
An entry that matches no tool aborts startup and names it, so a typo cannot silently hide a tool — an absent tool is not something anyone traces back to an environment variable. A filtered tool is never registered, so it is absent from tools/list and unknown to tools/call alike, exactly like a write tool under WIKIJS_READ_ONLY.
If you run several of these servers at once, mcp-hub is the other answer — its /hub endpoint replaces every server's tools with six meta-tools.
Confining writes to part of the wiki
WIKIJS_ALLOWED_PATHS limits the writing page and asset tools to a set of path prefixes. Reads stay unrestricted, deliberately: a scope on reads turns a wiki into a confusing half-wiki, and the API key's own page rules are the right place to hide pages outright — they hide them from the web UI too.
WIKIJS_ALLOWED_PATHS=docs,team/notes
Matching is by path segment, so docs covers docs/setup and not docs-archive/old. move_page checks both ends, so a page cannot be moved out of the allowed area or into a protected one.
Asset writes are checked against the asset folder tree, which is a separate namespace. The operations that cannot be confined to a prefix at all — all six instance-wide maintenance tools, the tag tools, and comment edits, because Wiki.js does not say which page a comment is on — refuse while the variable is set rather than making a silent exception. That includes flush_page_cache, rebuild_page_tree and rebuild_search_index, which lose nothing but still act on the whole wiki.
Installation
Claude Code
claude mcp add wikijs-mcp -- npx -y @ni-c/wikijs-mcp
Claude Desktop
{
"mcpServers": { "wikijs-mcp": { "command": "npx", "args": ["-y", "@ni-c/wikijs-mcp"], "env": { "WIKIJS_URL": "https://wiki.example.com", "WIKIJS_TOKEN": "…" } } } }
Codex
[mcp_servers.wikijs-mcp]
command = "npx" args = ["-y", "@ni-c/wikijs-mcp"] env = { WIKIJS_URL = "https://wiki.example.com", WIKIJS_TOKEN = "…" }
Docker
docker run --rm -i \
-e WIKIJS_URL=https://wiki.example.com \ -e WIKIJS_TOKEN=… \ ghcr.io/ni-c/wikijs-mcp
Through mcp-hub
A client that cannot spawn a local process — ChatGPT connectors, Claude on the web, Cursor, LibreChat — reaches wikijs-mcp through mcp-hub: one container serves many stdio MCP servers over Streamable HTTP, with an OAuth 2.1 login behind a single password and long-lived tokens for the clients that cannot do OAuth. Its /hub endpoint puts every server behind six meta-tools, so one connector reaches all of them without N×tool schemas in the model's context, and it speaks both protocol revisions — a question this server asks travels through it to the person at the far end.
Its /config/mcp.json uses Claude Code's format, so the entry is the one you already have:
{
"mcpServers": { "wikijs-mcp": { "command": "npx", "args": ["-y", "@ni-c/wikijs-mcp"], "env": { "WIKIJS_URL": "https://wiki.example.com", "WIKIJS_TOKEN": "…", "WIKIJS_ALLOW_TOOLS": "essential" }, "denyTools": ["delete_*,purge_page_history,set_api_state"] } } }
allowTools and denyTools there are the hub's own per-server filter, which is not the same thing as *_ALLOW_TOOLS in env — the difference, and the mistake it invites, are in the client guide.
Tools
62 tools. ★ marks the essential preset; ⚠ marks a tool that asks a person through MCP elicitation — a dialog the model cannot answer on its behalf, falling back to a two-call confirm_token where the client cannot show one. See Asking a person.
Every tool declares an outputSchema and answers with structuredContent alongside the text block, so a client can use the result without parsing prose. Twenty-nine tools that answered with a sentence — _"Deleted page 5 (path)."_ — now answer with the fields as well, and the sentence stays where a reader wants it.
The tools that report wiki content carry untrusted: true and source: "wikijs" as fields; page text, titles, descriptions and comments are written by anyone with edit rights. The list follows the call sites: a tool is marked exactly when it already routed its answer through the untrusted w
只显示了开头部分;其余内容请在仓库中阅读