JW

jaalbin24/wikijs-mcp

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

19 stars 12 forks 品質 70 トレンド 36

Claude Code を Wiki.js インスタンスに接続するよう設計された MCP サーバー

概要

MCP クライアントを Wiki.js インスタンスに接続する MCP サーバー。 それはローカルMCPの顧客および遠隔にホストされた顧客のために適したようにする両方そして、それ支えます。 * Python 3.10 + * APIアクセスが有効になっているWiki.jsインスタンス * A Wiki.js APIキー(管理者 > API Access > New API Key) Wiki.js API キーは、MCP サーバーが Wiki.js と通信するためにのみ使用されます。 MCP クライアントに返送されることはありません。 Cloudflare Access のマルチユーザ認証、リモート・ストリーム可能な HTTP デプロイメント: サーバはデフォルトでは0.0.0.0にバインドしません。 生産のために、HTTPS/authenticationをローカルHTTPリスナーの前に置きます。 サーバは、デフォルトで0.0.0.0に意図的に結合します。 リモート展開では、MCP サーバをローカルに監視し、HTTPS リバースプロキシを経由し、適切なタイミングで認証レイヤーを露出させることが推奨されます。 MCP クライアントが MCP サーバーをローカルで起動できるときに stdio を使用します.

概要(AI 翻訳)

MCP クライアントを Wiki.js インスタンスに接続する MCP サーバー。

MCP ストリーム可能な HTTP トランスポートを使用して、stdio** と ** リモート接続の両方をサポートし、ローカル MCP クライアントやリモートホストされたクライアントに適しています。

前提条件

  • Python 3.10 +
  • APIアクセスが有効になっているWiki.jsインスタンス
  • Wiki.js API キー ([[T0])

インストール

ローカル開発のため:

設定

##Wiki.js の使い方

| 変数 | デフォルト | 説明 | お問い合わせ | [[T1] | 必須 | Wiki.js のベース URL | | [WIKIJS_API_KEY | stdio/single-key モード | レガシー/デフォルト Wiki.js API キーが必要です。 ケプトサーバ側で、工具で返さず | | [WIKIJS_GRAPHQL_ENDPOINT | [/graphql|Wiki.js グラフQL エンドポイントパス | | [WIKIJS_READ_ONLY | [false | [true時、変異ツールは無効です |

変数 デフォルト 説明
【[T8] 必須 Wiki.js のベース URL
[[T9] 必須 ウィキシー API キー
[[T10] [[T11] ウィキ.

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。

WikiJS MCP Server

An MCP server that connects MCP clients to your Wiki.js instance.

It supports both local connections over stdio and remote connections using the official MCP Streamable HTTP transport, making it suitable for local MCP clients as well as remotely hosted clients.

Prerequisites

  • Python 3.10+
  • A Wiki.js instance with API access enabled
  • A Wiki.js API key (Administration > API Access > New API Key)

Installation

pip install wikijs-mcp

For local development:

git clone https://github.com/Ho3pLi/wikijs-mcp-http.git
cd wikijs-mcp-http
pip install -e .

Configuration

Wiki.js

Variable Default Description
WIKIJS_URL required Base URL of your Wiki.js instance
WIKIJS_API_KEY required for stdio/single-key mode Legacy/default Wiki.js API key. Kept server-side and never returned by tools
WIKIJS_GRAPHQL_ENDPOINT /graphql Wiki.js GraphQL endpoint path
WIKIJS_READ_ONLY false When true, mutation tools are disabled
Variable Default Description
------------------------- ---------- ----------------------------------------
WIKIJS_URL required Base URL of your Wiki.js instance
WIKIJS_API_KEY required Wiki.js API key
WIKIJS_GRAPHQL_ENDPOINT /graphql Wiki.js GraphQL endpoint path
WIKIJS_READ_ONLY false When true, mutation tools are disabled

The Wiki.js API key is used only by the MCP server to communicate with Wiki.js. It remains server-side and is never returned or exposed to MCP clients.

Streamable HTTP

Variable Default Description
MCP_HOST 127.0.0.1 Host interface for HTTP mode
MCP_PORT 8000 Port for HTTP mode
MCP_PATH /mcp MCP Streamable HTTP endpoint path
MCP_ALLOWED_HOSTS 127.0.0.1:*,localhost:* Comma-separated Host header allowlist
MCP_ALLOWED_ORIGINS http://127.0.0.1:*,http://localhost:* Comma-separated Origin header allowlist

Cloudflare Access multi-user authorization, for remote Streamable HTTP deployments:

Variable Default Description
WIKIJS_CF_ACCESS_ISSUER unset Cloudflare Access JWT issuer, usually https://.cloudflareaccess.com
WIKIJS_CF_ACCESS_AUDIENCE unset Cloudflare Access application audience tag
GitHub で README 全文を見る

インストール

This server does not publish a one-line install command.

Open the repository installation guide MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

{ "mcpServers": { "wikijs": { "command": "pipx", "args": ["run", "wikijs-mcp"], "env": { "WIKIJS_URL": "https://your-wiki.com", "WIKIJS_API_KEY": "your-api-key" } } } }