Wiki.js MCP Server
Provides tools for interacting with a Wiki.js 2.x instance via its GraphQL API, enabling reading, creating, updating, and deleting pages, checking API health, and retrieving navigation trees, subtrees, and menus.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Wiki.js MCP Server
MCP server for Wiki.js 2.x using its GraphQL API.
Tools
Tool | Description |
| Check API connectivity and token validity |
| Execute arbitrary GraphQL (use with trusted inputs only) |
| Read a page by path and locale |
| Read a page by numeric ID |
| Create a new page |
| Update an existing page by ID |
| Delete a page by ID |
| Full navigation tree for a locale |
| Subtree at a path with depth limit |
| Top-level menu entries |
Related MCP server: WikiJS MCP Server
Requirements
Python 3.10+
A Wiki.js 2.x instance
A Wiki.js API token (created in Admin > API Access)
Install
git clone https://github.com/cmet7/mcp-wikijs.git
cd mcp-wikijs
python3 -m venv .venv
source .venv/bin/activate
pip install -e .Configuration
Copy .env.example to .env and fill in your values:
cp .env.example .envVariable | Required | Default | Description |
| Yes | — | Wiki.js base URL (e.g. |
| Yes | — | API token from Wiki.js Admin > API Access |
| No |
| HTTP request timeout |
| No |
| Set to |
Usage
Run directly
export WIKIJS_URL="https://wiki.example.com"
export WIKIJS_API_TOKEN="your_token"
wikijs-mcp-serverClaude Code
claude mcp add wikijs -s user \
-e WIKIJS_URL=https://wiki.example.com \
-e WIKIJS_API_TOKEN=your_token \
-- wikijs-mcp-serverOr add to your MCP client config:
{
"mcpServers": {
"wikijs": {
"command": "/path/to/venv/bin/wikijs-mcp-server",
"env": {
"WIKIJS_URL": "https://wiki.example.com",
"WIKIJS_API_TOKEN": "your_token"
}
}
}
}Tests
python3 -m unittest discover -s tests -p 'test_*.py' -qTests are fully offline and require no running Wiki.js instance.
Security notes
Use least-privilege Wiki.js API tokens.
Do not expose
WIKIJS_API_TOKENin logs or version control.Prefer
wikijs_get_*tools for normal reads; reservewikijs_graphqlfor advanced/admin operations.Navigation tools derive structure from page paths. For custom UI menus not reflected by page paths, use
wikijs_graphql.
License
MIT
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Find, write, publish and check pages and API references in your DeveloperHub docs from an AI client
Enable Large Language Model clients to interact seamlessly with any MediaWiki wiki. Perform action…
Shared project wiki for AI agents: read and write pages, next actions, and activity logs over MCP.
Connect to your MediaWiki using simple credentials and manage content without OAuth. Search, read,…
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.30 npm1MIT
- FlicenseBqualityCmaintenanceEnables managing Wiki.js pages via the GraphQL API, including listing, searching, creating, updating, and deleting pages.7-
- 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.6263 npm4MIT