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 キーでのみ使用できます。wikijs_mail_update_configも REPLACE-ALL です。1回の呼び出しでインスタンスのメール設定全体を上書きし、指定したフィールドだけを更新するわけではありません。
storageドメインにもmanage:system権限が必要です。storageの4つのツールは、Administrators グループに属する API キーでのみ使用できます。Force Sync (Admin → Storage のボタン) はwikijs_storage_action_execute(target_key="git", handler="sync")で実行します。wikijs_storage_target_listは資格情報に該当する設定値 (basicPassword、sshPrivateKeyContent) を***にマスクします。実際の値は MCP 経由では読み取れません。ハンドラーはホワイトリスト化されていません。wikijs_storage_target_listのactionsを使用して利用可能なハンドラーを見つけてください。また、その一部は破壊的であることに注意してください (purgeはローカルの Git リポジトリを削除し、importAllはローカルのリポジトリから wiki のコンテンツをインポートします)。
wikijs_storage_target_update(target_key, is_enabled, mode, sync_interval, config)は 1つの ターゲットの設定を 部分更新 のセマンティクスで変更します。指定されていない引数は「変更しない」という意味であり、configはキーごとにマージされます。裏側の Wiki.js のミューテーション (storage.updateTargets) は実際には REPLACE-ALL であるため、ツールは指定されていないフィールドが削除されないように、独自に read-modify-write を実行します。ターゲットに存在しないconfigキーは拒否されます (ValueError)。また、"***"という値も拒否されます。これはwikijs_storage_target_listの編集用センチネルであり、実際の資格情報ではありません。
Related MCP server: mcp-wikijs-mv
設定
.env.example を .env にコピーし、適切な値を入力してください:
cp .env.example .env必須変数
変数 | 説明 |
| Wiki.js インスタンスのベース URL (例: |
| Wiki.js API キー (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 deployed
Maintenance
Related MCP Connectors
An MCP server that let you interact with Cycloid.io Internal Development Portal and Platform
The official MCP Server for the Mux API
MCP-native open-source Notion alternative: read & write pages, databases and kanban boards.
MCP server for accessing curated awesome list documentation
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.20 npm14MIT
- 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 gradedqualityDmaintenanceMCP server to search and read documentation pages from a WikiJS instance via its GraphQL API.-
- AlicenseAqualityDmaintenanceAn 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.1364 npmMIT