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.
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
Configuration for Cursor
Stdio
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
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
.env
file
Development
- Clone the repository:
- Install dependencies:
- Copy the environment template and fill out its contents
- Build the project
If you have
make
installed:
- Deploy the WikiJS instance for testing
Usage
Environment Variables
Variable | Description | Required | Allowed Values | Default |
---|---|---|---|---|
WIKIJS_URL | URL of your WikiJS instance | Yes | - | - |
WIKIJS_API_KEY | WikiJS API key | Yes | - | - |
TRANSPORT_METHOD | The transport method | No | stdio, streamable-http | stdio |
TRANSPORT_OPTIONS_CORS_ORIGIN | Cors Origin (only on streamable-http) | No | - | * |
TRANSPORT_OPTIONS_CORS_HEADERS | Cors Headers, comma separated (only on streamable-http) | No | - | Content-Type=mcp-session-id |
TRANSPORT_OPTIONS_CORS_METHODS | Cors Methods, comma separated (only on streamable-http) | No | - | GET,POST,OPTIONS |
TRANSPORT_OPTIONS_SESSION_TIMEOUT_MS | Session timeout (only on streamable-http) | No | - | 60000 |
License
This project is licensed under the MIT License.
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
Enables AI assistants to search and retrieve content from WikiJS knowledge bases, allowing integration with your Wiki through simple search and retrieval tools.
Related MCP Servers
- -securityAlicense-qualityEnables programmatic interaction with Wikimedia APIs, offering features like searching content, retrieving page information, and accessing historical events across multiple languages.Last updated -2MIT License
- AsecurityAlicenseAqualityProvides tools for listing and retrieving content from different knowledge bases using semantic search capabilities.Last updated -122The Unlicense
- -securityFlicense-qualityEnables AI assistants to interact with Metabase, providing access to dashboards, questions, databases, and tools for executing queries and viewing data through natural language.Last updated -
- -securityFlicense-qualityEnables AI language models to interact with YouTube content through a standardized interface, providing tools for retrieving video information, transcripts, channel analytics, and trend analysis.Last updated -72447