wikijs-mcp-server
Create and manage wiki pages in Wiki.js, including creating, updating, retrieving, listing, searching, deleting, and moving pages with Markdown or HTML content.
Click on "Install 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-serverSearch wiki for 'project setup' instructions"
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.
Wiki.js MCP Server
Model Context Protocol Server for Wiki.js integration - Create and manage wiki pages directly from your AI assistant.
Using this from Claude Code? Use wikijs-plugin instead — it combines this server (ported to Python) with a
docs-wikiskill into a single plugin installable via the Claude Code marketplace mechanism, no manual clone/build/config steps. Config moves from this repo's.envto~/.wikijs-plugin/.env(set up via/wikijs-plugin:setup); the runtime changes from Node.js 18+ to Python 3.11+; tool names (wikijs_create_page, ...) are unchanged. This repo continues to receive fixes and remains the way to run the server directly (see Quick Start below) for any MCP client other than Claude Code.Migrating an existing install: copy
~/.claude/mcp-servers/wikijs/.envto~/.wikijs-plugin/.env(same keys, same values — no new API token needed), then remove the oldwikijsentry from~/.claude.jsonso the tools aren't registered twice.
v2.0.0 - Major Refactoring
This version includes a complete rewrite following MCP Best Practices:
TypeScript - Full type safety with strict mode
Modern SDK - Uses MCP SDK v1.24+ with
McpServer.tool()APIZod Validation - Runtime input validation for all tools
Service-Prefixed Tools - All tools use
wikijs_prefix for namespace clarityTool Annotations - Proper
readOnlyHint,destructiveHint, etc.Pagination Support - List operations return
has_more,next_offset,total_countCharacter Limits - Large content is truncated with clear notices
Related MCP server: mediawiki-mcp-server
Documentation
The comprehensive guide includes:
Installation instructions
Configuration examples
All 7 MCP tools with parameters
GraphQL API integration details
Troubleshooting guide
Quick Start
For any MCP client other than Claude Code (see the note above for Claude Code):
# 1. Clone repository
git clone https://github.com/markus-michalski/wikijs-mcp-server.git
cd wikijs-mcp-server
# 2. Install dependencies
npm install
# 3. Build TypeScript
npm run build
# 4. Configure environment
cp .env.example .env
# Edit .env with your Wiki.js API credentials
# 5. Point your MCP client's config at dist/index.js and restart itRequirements
Node.js 18+
Wiki.js instance (v2.x or v3.x)
Wiki.js API Token with page management permissions
Available Tools
Tool | Description | Annotations |
| Create new wiki pages with Markdown or HTML |
|
| Update existing pages (content, title, tags) |
|
| Retrieve full page content and metadata |
|
| List pages with pagination and filtering |
|
| Full-text search across wiki pages |
|
| Permanently delete pages |
|
| Move pages to new paths |
|
Development
# Development with hot-reload
npm run dev
# Build for production
npm run build
# Type checking
npm run typecheckProject Structure
wikijs-mcp-server/
├── src/
│ ├── index.ts # Main server entry point
│ ├── constants.ts # Shared constants (CHARACTER_LIMIT, etc.)
│ ├── types.ts # TypeScript type definitions
│ ├── schemas/ # Zod validation schemas
│ ├── services/ # API client and error handling
│ └── tools/ # Tool implementations
├── dist/ # Compiled JavaScript
├── evaluation.xml # MCP evaluation test questions
└── package.jsonLicense
MIT License - See LICENSE for details
Author
Markus Michalski
Website: markus-michalski.net
GitHub: @markus-michalski
Links
Full Documentation (English)
Vollstaendige Dokumentation (Deutsch)
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
Shared project wiki for AI agents: read and write pages, next actions, and activity logs over MCP.
Hosted markdown project wikis your team's AI assistants read, search, and update over MCP.
Read and write your team's shared, AI-readable wiki from any MCP client.
MCP server for AI dialogue using various LLM models via AceDataCloud
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceAn MCP server for Wiki.js projects that enables full-text search, page retrieval, and page management capabilities. It allows LLMs to interact with wiki content through specialized tools for searching, listing, and creating pages.
- AlicenseAqualityAmaintenanceMCP server for MediaWiki wikis. Search, read, edit, and manage wiki content from AI assistants. Includes formatting, link checking, revision history, and markdown conversion.4320MIT
- AlicenseNot gradedqualityDmaintenanceAn MCP server that enables full management of WikiJS instances, supporting operations like page creation, searching, and updating. It also provides tools for knowledge graph exploration, content summarization, and retrieval of wiki statistics.34MIT
- AlicenseAqualityDmaintenanceAn MCP server for Wiki.js that enables AI agents to create, read, update, search, list, and move wiki pages via the GraphQL API. It supports surgical section updates and structured content management through named sections.6MIT
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/markus-michalski/wikijs-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server