WikiJS MCP Server
This WikiJS MCP server enables AI assistants to interact with WikiJS knowledge bases by providing four key capabilities:
Search pages: Find WikiJS pages using query strings with optional path and locale filters
Get page by ID: Retrieve specific pages using their unique identifiers
Get page by path and locale: Fetch pages by specifying their path and locale
Get all pages: Retrieve a complete list of all pages in the WikiJS instance
This integration allows seamless search, retrieval, and listing of WikiJS content for AI-powered knowledge management.
Enables deployment of a WikiJS instance for testing through Docker Compose.
Used for configuration management through environment variables, allowing users to set required WikiJS URL and API key values.
Provides access to the repository for cloning and development purposes.
Optional build tool for compiling the project.
Package manager used to install dependencies and run the MCP server.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@WikiJS MCP Server search for articles about API documentation"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
WikiJS MCP Server
A Model Context Protocol (MCP) server that provides integration with WikiJS, allowing AI assistants to search and retrieve content from your WikiJS knowledge base.
Overview
This MCP server enables AI assistants to interact with WikiJS instances by providing tools to:
Search for pages by query string
Retrieve pages by ID
Retrieve pages by path and locale
Get all pages from the wiki
Related MCP server: WikiJS MCP Server
Configuration for Cursor
Stdio
{
"mcpServers": {
"wikijs-mcp": {
"command": "npx",
"args": [
"wikijs-mcp"
],
"env": {
"WIKIJS_URL": <your wikijs url>,
"WIKIJS_API_KEY": <your wikijs api key>
}
}
}
}Streamable Http
Host Machine
Start the server TRANSPORT_METHOD=streamable-http TRANSPORT_OPTIONS_PORT=8080 npx wikijs-mcp (See Environment Variables for all available variables)
IDE
{
"mcpServers": {
"wikijs-mcp": {
"transport": "http-streamable",
"name": "WikiJS MCP",
"url": <your mcp host url with port>/mcp
}
}
}Getting a WikiJS API Key
Log into your WikiJS instance as an administrator
Go to Administration > API Access
Create a new API key with appropriate permissions
Copy the generated key to your
.envfile
Development
Clone the repository:
git clone https://github.com/RicardoCenci/wikijs-mcp.git
cd wikijs-mcpInstall dependencies:
npm installCopy the environment template and fill out its contents
cp env.example .envBuild the project If you have
makeinstalled:
make buildDeploy the WikiJS instance for testing
docker compose up -dUsage
npx wikijs-mcpEnvironment Variables
Variable | Description | Required | Allowed Values | Default |
| URL of your WikiJS instance | Yes | - | - |
| WikiJS API key | Yes | - | - |
| The transport method | No | stdio, streamable-http | stdio |
| Cors Origin (only on streamable-http) | No | - | * |
| Cors Headers, comma separated (only on streamable-http) | No | - | Content-Type=mcp-session-id |
| Cors Methods, comma separated (only on streamable-http) | No | - | GET,POST,OPTIONS |
| Session timeout (only on streamable-http) | No | - | 60000 |
License
This project is licensed under the MIT License.
Available Tools
4 toolsget_all_pagesB
Get all pages in WikiJS
Inputs: no named parameters.
get_page_by_idC
Get a WikiJS page by its ID
Inputs: id (required).
get_page_by_pathB
Get a WikiJS page by its path and locale
Inputs: locale (required), path (required).
search_pagesC
Search for pages in WikiJS by query string
Inputs: query (required), locale, path.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 4 tools
The tools are mostly distinct, focusing on different retrieval methods for WikiJS pages. However, get_page_by_id and get_page_by_path could potentially be confused if an agent doesn't understand the difference between ID-based and path-based lookup, though their descriptions clarify this distinction.
All tool names follow a consistent verb_noun pattern with snake_case (e.g., get_all_pages, search_pages). The naming is predictable and uniform throughout the set, making it easy for agents to understand the pattern.
With only 4 tools, the server feels thin for a WikiJS management system. While the tools cover basic retrieval and search, there are no tools for creating, updating, or deleting pages, which are essential operations for a wiki. The count is borderline for the apparent scope.
The tool set is severely incomplete for a WikiJS server. It only provides read-only operations (get and search), with no coverage for creating, updating, or deleting pages. This creates significant gaps that will cause agent failures when trying to perform full wiki management tasks.
Maintenance
Related MCP Connectors
Search your knowledge bases from any AI assistant using hybrid RAG.
Gives AI assistants read access to your Dedox help centre and knowledge base articles.
Shared knowledge base for AI agents. Semantic search across agents, no setup required — just a URL.
Search, read and save your Linko notes and resources (AI knowledge base) from any AI chat.
Related MCP Servers
- FlicenseNot gradedqualityNot gradedmaintenanceEnables comprehensive management of WikiJS instances through tools for searching, creating, updating, and deleting wiki pages. It supports advanced features like knowledge graph exploration, page summaries, and content exporting for documentation workflows.-
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to search, retrieve, and optionally edit pages in a WikiJS knowledge base via the Model Context Protocol.39 npm1MIT

@growi/mcp-serverofficial
AlicenseBqualityBmaintenanceConnects AI models to GROWI wikis for search and retrieval, enabling context-aware responses from an organization's knowledge base.31203 npm20MIT- AlicenseAqualityDmaintenanceExposes any project wiki to AI assistants with features like fuzzy search, content search, lazy loading, and auto-reload.6ISC