wikijs-mcp-server
Wiki.js MCP Server
Wiki.js統合のためのModel Context Protocolサーバー - AIアシスタントから直接Wikiページを作成・管理できます。
Claude Codeから使用する場合? wikijs-plugin を使用してください。このサーバー(Pythonに移植)と
docs-wikiスキルを組み合わせた単一の プラグインで、Claude Codeマーケットプレイスメカニズムを介してインストール可能です。手動でのクローン、ビルド、設定手順は不要です。 設定はこのリポジトリの.envから~/.wikijs-plugin/.envに移動します(/wikijs-plugin:setupで設定)。 ランタイムはNode.js 18+からPython 3.11+に変更されます。ツール名 (wikijs_create_page、...)は変更されていません。このリポジトリは引き続き修正を受け付け、 Claude Code以外のMCPクライアント向けにサーバーを直接実行する方法として残ります(以下のクイックスタートを参照)。既存のインストールを移行する場合:
~/.claude/mcp-servers/wikijs/.envを~/.wikijs-plugin/.envにコピーします(同じキー、同じ値 — 新しいAPIトークンは不要)。その後、 ツールが二重登録されないように、~/.claude.jsonから古いwikijsエントリを削除します。
v2.0.0 - 大規模リファクタリング
このバージョンでは、MCPベストプラクティスに従った完全な書き換えが含まれています:
TypeScript - 厳格モードによる完全な型安全性
モダンSDK -
McpServer.tool()APIを使用したMCP SDK v1.24+Zodバリデーション - すべてのツールに対するランタイム入力検証
サービスプレフィックス付きツール - すべてのツールは名前空間の明確化のために
wikijs_プレフィックスを使用ツールアノテーション - 適切な
readOnlyHint、destructiveHintなどページネーションサポート - リスト操作は
has_more、next_offset、total_countを返す文字数制限 - 大きなコンテンツは明確な通知とともに切り詰められます
Related MCP server: WikiJS MCP Server
ドキュメント
包括的なガイドには以下が含まれます:
インストール手順
設定例
パラメータ付きの全7つのMCPツール
GraphQL API統合の詳細
トラブルシューティングガイド
クイックスタート
Claude Code以外のMCPクライアント向け(Claude Codeについては上記の注意事項を参照):
# 1. Clone repository
git clone https://github.com/markus-michalski/wikijs-mcp-server.git
cd wikijs-mcp-server
# 2. Install dependencies
npm install
# 3. Build TypeScript
npm run build
# 4. Configure environment
cp .env.example .env
# Edit .env with your Wiki.js API credentials
# 5. Point your MCP client's config at dist/index.js and restart it要件
Node.js 18+
Wiki.jsインスタンス(v2.xまたはv3.x)
ページ管理権限を持つWiki.js APIトークン
利用可能なツール
ツール | 説明 | アノテーション |
| MarkdownまたはHTMLで新しいWikiページを作成 |
|
| 既存のページを更新(コンテンツ、タイトル、タグ) |
|
| ページの完全なコンテンツとメタデータを取得 |
|
| ページネーションとフィルタリングでページを一覧表示 |
|
| Wikiページ全体の全文検索 |
|
| ページを完全に削除 |
|
| ページを新しいパスに移動 |
|
開発
# Development with hot-reload
npm run dev
# Build for production
npm run build
# Type checking
npm run typecheckプロジェクト構造
wikijs-mcp-server/
├── src/
│ ├── index.ts # Main server entry point
│ ├── constants.ts # Shared constants (CHARACTER_LIMIT, etc.)
│ ├── types.ts # TypeScript type definitions
│ ├── schemas/ # Zod validation schemas
│ ├── services/ # API client and error handling
│ └── tools/ # Tool implementations
├── dist/ # Compiled JavaScript
├── evaluation.xml # MCP evaluation test questions
└── package.jsonライセンス
MITライセンス - 詳細はLICENSEを参照
作者
Markus Michalski
ウェブサイト: markus-michalski.net
GitHub: @markus-michalski
リンク
This server cannot be deployed
Maintenance
Related MCP Connectors
Shared project wiki for AI agents: read and write pages, next actions, and activity logs over MCP.
Hosted markdown project wikis your team's AI assistants read, search, and update over MCP.
Read and write your team's shared, AI-readable wiki from any MCP client.
MCP server for AI dialogue using various LLM models via AceDataCloud
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceAn MCP server for Wiki.js projects that enables full-text search, page retrieval, and page management capabilities. It allows LLMs to interact with wiki content through specialized tools for searching, listing, and creating pages.ISC
- AlicenseNot gradedqualityDmaintenanceAn MCP server that enables full management of WikiJS instances, supporting operations like page creation, searching, and updating. It also provides tools for knowledge graph exploration, content summarization, and retrieval of wiki statistics.14 npmMIT
- AlicenseAqualityDmaintenanceAn MCP server for Wiki.js that enables AI agents to create, read, update, search, list, and move wiki pages via the GraphQL API. It supports surgical section updates and structured content management through named sections.6MIT
- 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.29 npm14MIT