7 months ago
Model Context Protocol (MCP) server for Wiki.js integration via GraphQL API.
π Description
This project provides an MCP server for interacting with Wiki.js through GraphQL API. MCP (Model Context Protocol) is an open protocol developed by Anthropic that enables AI models to safely interact with external services and tools.
The server provides a unified interface for working with Wiki.js that can be used by various AI agents and tools supporting MCP.
β¨ Features
π Page Management
Get Wiki.js pages by ID
Get page content
Get list of pages with sorting
Smart page search (by content, titles, and metadata)
Create new pages
Update existing pages
Delete pages
π₯ User Management
Get list of users
Search users
Create new users
Update user information
π§ Group Management
Get list of user groups
Manage group membership
π Transports
STDIO: for editor integration (Cursor, VS Code)
HTTP: for web integrations and API access
Overview
What is Wiki.js MCP Server?
Wiki.js MCP Server is a Model Context Protocol (MCP) server designed for integration with Wiki.js through a GraphQL API. It allows AI models to interact safely with external services and tools.
How to use Wiki.js MCP Server?
To use the Wiki.js MCP Server, clone the repository, run the setup script to install dependencies, configure the .env file with your Wiki.js settings, and start the server using npm commands.
Key features of Wiki.js MCP Server?
- Unified interface for interacting with Wiki.js via GraphQL API.
- Page management: create, update, delete, and retrieve pages.
- User management: manage users and groups.
- Supports multiple transport methods including HTTP and STDIO for integration with editors.
Use cases of Wiki.js MCP Server?
- Integrating AI agents with Wiki.js for enhanced content management.
- Automating page creation and updates in Wiki.js.
- Building custom tools that leverage Wiki.js content through the MCP protocol.
FAQ from Wiki.js MCP Server?
-
What is MCP?
MCP stands for Model Context Protocol, a protocol that allows AI models to interact with external services securely. -
Is there a quick start guide?
Yes! A quick start guide is available in the repository to help you set up the server in just a few minutes. -
What are the system requirements?
The server requires Node.js version 18.0.0 or higher.
Server Config
{
"mcpServers": {
"wikijs": {
"command": "docker",
"transport": "http",
"url": "http://localhost:3200/mcp",
"events": "http://localhost:3200/mcp/events",
"cwd": "/path/to/your/wikijs-mcp-server",
"env": {
"WIKIJS_BASE_URL": "https://wiki.example.com",
"WIKIJS_TOKEN": "WikiJS-API-TOKEN"
}
}
}
}