Skip to main content
Glama

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_プレフィックスを使用

  • ツールアノテーション - 適切なreadOnlyHintdestructiveHintなど

  • ページネーションサポート - リスト操作はhas_morenext_offsettotal_countを返す

  • 文字数制限 - 大きなコンテンツは明確な通知とともに切り詰められます

Related MCP server: mediawiki-mcp-server

ドキュメント

完全なドキュメントとFAQ

包括的なガイドには以下が含まれます:

  • インストール手順

  • 設定例

  • パラメータ付きの全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トークン

利用可能なツール

ツール

説明

アノテーション

wikijs_create_page

MarkdownまたはHTMLで新しいWikiページを作成

destructiveHint: false

wikijs_update_page

既存のページを更新(コンテンツ、タイトル、タグ)

idempotentHint: true

wikijs_get_page

ページの完全なコンテンツとメタデータを取得

readOnlyHint: true

wikijs_list_pages

ページネーションとフィルタリングでページを一覧表示

readOnlyHint: true

wikijs_search_pages

Wikiページ全体の全文検索

readOnlyHint: true

wikijs_delete_page

ページを完全に削除

destructiveHint: true

wikijs_move_page

ページを新しいパスに移動

destructiveHint: false

開発

# 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

リンク

Maintenance

ActivityMaintained
ResponsivenessSyncing

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Connectors

Related MCP Servers

Latest Blog Posts

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/markus-michalski/wikijs-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server