Wiki.js MCP Server
Provides tools for managing pages in a Wiki.js instance, including listing, getting, searching, creating, updating, and deleting pages.
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., "@Wiki.js MCP Server search pages for installation guide"
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
MCP (Model Context Protocol) server for Wiki.js that exposes page management through Wiki.js's GraphQL API.
Tools
Tool | Description |
| List all pages (sortable by title, path, ID, date) |
| Get full content and metadata of a page by ID |
| Browse the page/folder hierarchy |
| Full-text search across pages |
| Create a new page (markdown, HTML, AsciiDoc) |
| Update a page's content, title, or metadata |
| Delete a page by ID |
Related MCP server: wikijs-mcp
Prerequisites
A running Wiki.js instance (v2.x)
An API key — create one at Administration > API Access in your Wiki.js admin panel
The API key needs appropriate permission scopes for pages (read/write/manage)
Setup
cp .env.example .env
# Edit .env with your Wiki.js URL and API keyOption A: Local (Node.js >=18)
npm install
npm run build
npm startFor development:
npm run devOption B: Docker
docker compose build
docker compose up -dClaude Code Integration
Add to your Claude Code MCP config (.claude/settings.json or project settings):
{
"mcpServers": {
"wikijs": {
"command": "node",
"args": ["d:/projects/ai/wikijs-mcp/dist/index.js"],
"env": {
"WIKIJS_URL": "https://wiki.example.com",
"WIKIJS_API_KEY": "your-api-key"
}
}
}
}Or using npx tsx for development without building:
{
"mcpServers": {
"wikijs": {
"command": "npx",
"args": ["tsx", "d:/projects/ai/wikijs-mcp/src/index.ts"],
"env": {
"WIKIJS_URL": "https://wiki.example.com",
"WIKIJS_API_KEY": "your-api-key"
}
}
}
}Wiki.js API Reference
This server uses the Wiki.js GraphQL API. You can explore the full schema interactively at https://your-wiki.example.com/graphql when logged in as admin.
Available Tools
7 toolswikijs_create_pageC
Create a new wiki page with markdown (or other editor) content
Inputs: path (required), title (required), content (required), tags, +5 more.
wikijs_delete_pageC
Delete a wiki page by its ID
Inputs: id (required).
wikijs_get_pageA
Get the full content and metadata of a single wiki page by its ID
Inputs: id (required).
wikijs_get_page_treeB
Get the page tree (folder/page hierarchy) starting from a path
Inputs: mode, path, locale.
wikijs_list_pagesB
List all pages in the wiki, ordered by title, path, ID, or date
Inputs: orderBy.
wikijs_search_pagesC
Search wiki pages by text query
Inputs: query (required).
wikijs_update_pageC
Update an existing wiki page's content, title, or metadata
Inputs: id (required), tags, title, editor, +5 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 7 tools
Each tool has a distinct read or write purpose: list_pages is a flat enumeration, get_page_tree is a hierarchy fetch, get_page is a single-page fetch by ID, and search_pages is a text query. The only mild overlap is list_pages versus get_page_tree, since both enumerate pages, but the descriptions make the flat-vs-hierarchical distinction reasonably clear.
Every tool follows the identical wikijs_<verb>_<noun> pattern (list_pages, get_page, create_page, update_page, delete_page), with only minor variation for search_pages and get_page_tree that still fits the convention. The naming is fully predictable.
Seven tools is well within the 3-15 sweet spot and each one earns its place by covering a distinct read or write operation. Nothing is redundant or superfluous for a wiki page manager.
The full CRUD lifecycle (create, read/list/tree/search, update, delete) is covered with no obvious dead ends. Minor gaps remain, such as fetching or updating a page by path rather than ID and operations like moving pages or version history, but these are workable limitations.
Maintenance
Related MCP Connectors
Publish, list, update and delete shareable Markdown/HTML pages from your AI assistant.
Connect to your MediaWiki using simple credentials and manage content without OAuth. Search, read,…
Read spaces, collections, pages and content; search docs and manage GitBook organization spaces.
Shared project wiki for AI agents: read and write pages, next actions, and activity logs over MCP.
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 gradedqualityBmaintenanceMCP server for accessing Wiki.js through its GraphQL API, enabling page management, search, tags, and system info operations.MIT
- AlicenseAqualityDmaintenanceAn MCP server for managing Wiki.js 2.x pages through its GraphQL API, enabling search, read, create, update, move, delete, version history, and asset listing.1384 npmMIT
- AlicenseAqualityBmaintenanceEnables MCP clients to search, read, and edit Wiki.js pages, and manage assets, comments, users, groups, and maintenance jobs through the Wiki.js GraphQL API.6275 npm4MIT