Wiki.js MCP Server

by BehindUAll

401 downloads Not rated yet MIT license

About

Model Context Protocol (MCP) server for Wiki.js with hierarchical documentation & Docker setup

Details

License
MIT license

Explore

"Search the documentation for authentication patterns before implementing login"

- Repository context detection: Auto-detect Git repositories
- Content generation: Auto-create documentation from code structure
- Search integration: Full-text search across hierarchical content
- Health monitoring: Connection status and error handling

First, clone this repository and set up environment variables:


cp config/example.env .env

bash


./setup.sh

Add to your ~/.cursor/mcp.json:

json
{
"mcpServers": {
"wikijs": {
"command": "/path/to/wiki-js-mcp/start-server.sh"
}
}
}

- One-command deployment: Complete Wiki.js setup with PostgreSQL
- Persistent storage: Data survives container restarts
- Health checks: Automatic service monitoring
- Production-ready: Optimized for development and deployment

```bash

POSTGRES_DB=wikijs
POSTGRES_USER=wikijs
POSTGRES_PASSWORD=your_secure_password_here

1. JWT Token (Recommended): Use API key from Wiki.js admin panel
2. Username/Password: Traditional login credentials

curl http://localhost:3000/graphql

./test-server.sh

1. wikijs_create_repo_structure - Create complete repository documentation structure
2. wikijs_create_nested_page - Create pages with hierarchical paths
3. wikijs_get_page_children - Navigate parent-child page relationships
4. wikijs_create_documentation_hierarchy - Auto-organize project files into docs

9. wikijs_delete_page - Delete specific pages by ID or path
10. wikijs_batch_delete_pages - Batch delete with pattern matching and safety checks
11. wikijs_delete_hierarchy - Delete entire page hierarchies with multiple modes
12. wikijs_cleanup_orphaned_mappings - Clean up orphaned file-to-page mappings

20. wikijs_connection_status - Check API connection health
21. wikijs_repository_context - Show repository mappings and context

A comprehensive Model Context Protocol (MCP) server for Wiki.js integration with hierarchical documentation support and Docker deployment. Perfect for organizations managing multiple repositories and large-scale documentation.

🚀 Quick Start

1. Environment Setup

First, clone this repository and set up environment variables:
```bash

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.