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 Serversearch 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.
This server cannot be deployed
Maintenance
Related MCP Connectors
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.
- hiveWikiOAuthai.hivewiki
Shared project wiki for AI agents: read and write pages, next actions, and activity logs over MCP.
Create, edit, preview, publish, and manage web pages from MCP-capable AI clients.
Related MCP Servers
- FlicenseNot gradedqualityCmaintenanceEnables 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 gradedqualityAmaintenanceMCP server for accessing Wiki.js through its GraphQL API, enabling page management, search, tags, and system info operations.MIT
- AlicenseAqualityCmaintenanceAn 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.1324 npmMIT
- AlicenseNot gradedqualityCmaintenanceAn MCP server for interacting with Wiki.js via GraphQL API, enabling page management (CRUD, search, publish), user and group management, and blogging workflow with drafts.18 npmMIT