wikijs-mcp
wikijs-mcp
用于通过 GraphQL API 访问 Wiki.js 的 MCP 服务器,基于 FastMCP(Python)构建。
暴露的工具
域 | 工具 |
pages |
|
search |
|
tags |
|
groups |
|
users |
|
system |
|
| |
storage |
|
manage:system权限。 与其他域不同,这两个manage:system权限)的 Wiki.js API key 来调用。wikijs_mail_update_config也是 REPLACE-ALL 语义——一次调用会覆盖实例的整个邮件配置,而不仅仅是所提到的字段。
storage域同样要求manage:system权限。 这四个storage工具只能使用属于 Administrators 组的 API key 来调用。Force Sync(Admin → Storage 中的按钮)通过wikijs_storage_action_execute(target_key="git", handler="sync")执行。wikijs_storage_target_list会将属于凭据性质的配置值(basicPassword、sshPrivateKeyContent)打码为***——原始值无法通过 MCP 读取。handler 不做白名单限制:请使用wikijs_storage_target_list返回的actions来查找可用的 handler,并注意其中一些具有破坏性(purge会删除本地 Git 仓库,importAll会用本地仓库的内容覆盖 wiki 内容)。
wikijs_storage_target_update(target_key, is_enabled, mode, sync_interval, config)以 部分更新 语义修改 一个 目标的配置:未填写的参数表示“不要更改”,config按 key 合并。其背后的 Wiki.js mutation(storage.updateTargets)实际上是 REPLACE-ALL,因此该工具自行执行 read-modify-write,以确保未提及的字段不会被删除。目标上尚不存在的configkey 会被拒绝(ValueError),值为"***"的同样会被拒绝——那是wikijs_storage_target_list的脱敏哨兵值,并非真实凭据。
Related MCP server: mcp-wikijs-mv
配置
将 .env.example 复制为 .env 并填写相应的值:
cp .env.example .env必需变量
变量 | 说明 |
| Wiki.js 实例的基础 URL,例如 |
| Wiki.js API key(Admin → API Access) |
使用方法
stdio(Claude Desktop / VS Code)
{
"mcpServers": {
"wikijs": {
"command": "uvx",
"args": ["--from", "git+https://github.com/andhit-r/wikijs-mcp", "wikijs-mcp"],
"env": {
"WIKIJS_URL": "https://wiki.example.com",
"WIKIJS_API_KEY": "your-api-key"
}
}
}
}HTTP + API Key(Claude Code / VS Code remote)
docker run -p 8000:8000 \
-e WIKIJS_URL=https://wiki.example.com \
-e WIKIJS_API_KEY=your-wikijs-api-key \
-e MCP_API_KEY=your-mcp-api-key \
ghcr.io/andhit-r/wikijs-mcp:latestHTTP + Authentik OAuth(Claude Web)
在 .env 中填写所有 AUTHENTIK_* 和 MCP_BASE_URL 变量,然后:
docker run -p 8000:8000 --env-file .env ghcr.io/andhit-r/wikijs-mcp:latest许可证
MIT
This server cannot be installed
Maintenance
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
- AlicenseNot gradedqualityDmaintenanceAn MCP server that provides a unified interface to manage Wiki.js pages, users, and groups via GraphQL API, enabling AI agents to create, read, update, and delete content and perform administrative tasks.2213MIT
- AlicenseNot gradedqualityBmaintenanceMCP server for Wiki.js with full GraphQL API coverage, fine-grained permissions, multi-user support, and deployable on Vercel.Apache 2.0
- FlicenseNot gradedqualityCmaintenanceMCP server to search and read documentation pages from a WikiJS instance via its GraphQL API.
- AlicenseAqualityCmaintenanceAn MCP server for managing Wiki.js 2.x pages through its GraphQL API, enabling search, read, create, update, move, delete, version history, and asset listing.1329MIT
Related MCP Connectors
An MCP server that let you interact with Cycloid.io Internal Development Portal and Platform
MCP-native open-source Notion alternative: read & write pages, databases and kanban boards.
MCP server for accessing curated awesome list documentation
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/andhit-r/wikijs-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server