Wiki.js

v1.0.0Knowledge & Memorystable

Model Context Protocol (MCP) server for Wiki.js GraphQL API integration. Provides AI models with secure access to Wiki.js functionality through MCP protocol.

wikijsmcpai-integration
Share:
9
Stars
0
Downloads
0
Weekly
0/5

What is Wiki.js?

Wiki.js is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to model context protocol (mcp) server for wiki.js graphql api integration. provides ai models with secure access to wiki.js functionality through mcp protocol.

Model Context Protocol (MCP) server for Wiki.js GraphQL API integration. Provides AI models with secure access to Wiki.js functionality through MCP protocol.

This server falls under the Knowledge & Memory category on MCPgee, the world's largest MCP server directory with 33,000+ servers.

Features

  • Model Context Protocol (MCP) server for Wiki.js GraphQL API

Use Cases

Query and update Wiki.js documentation through Claude.
Manage wiki content and retrieve information via GraphQL.
heAdz0r

Maintainer

LicenseMIT
Languagetypescript
Versionv1.0.0
UpdatedMay 18, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

Manual Installation

npx wikijs

Configuration

Configuration Details

Config File

claude_desktop_config.json

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

How to Set Up and Use Wiki.js

The Wiki.js MCP Server bridges AI assistants to your self-hosted Wiki.js instance via its GraphQL API, providing over a dozen tools for page management—search, create, update, publish, and delete pages—plus user and group management, so Claude can read and write your organization's wiki directly from a chat interface.

Prerequisites

  • A running Wiki.js instance (v2.x) with GraphQL API enabled
  • A Wiki.js API token with appropriate read/write permissions
  • Node.js 18 or higher and npm
  • Git to clone the repository
  • Claude Desktop, Cursor, or another MCP-compatible client
1

Clone the repository and run setup

Clone the server and run the automated setup script, which installs dependencies, creates a .env file template, and builds the TypeScript source.

git clone https://github.com/heAdz0r/wikijs-mcp-server.git
cd wikijs-mcp-server
npm run setup
2

Generate a Wiki.js API token

Log into your Wiki.js admin panel, navigate to Administration > API, create a new API key with read and write permissions, and copy the token value.

3

Configure the .env file

Edit the .env file created by the setup script. Set your Wiki.js instance URL (without /graphql) and the API token you just created.

PORT=3200
WIKIJS_BASE_URL=https://wiki.yourcompany.com
WIKIJS_TOKEN=your-wikijs-api-token-here
4

Start the server

Start the MCP server in HTTP mode (recommended for most clients) or stdio mode for direct editor integration.

# HTTP mode (recommended)
npm start

# STDIO mode for editor integration
npm run server:stdio

# Development mode with hot reload
npm run dev
5

Configure your MCP client

For Cursor, add to .cursor/mcp.json. For Claude Desktop, add to claude_desktop_config.json using the stdio command.

{
  "mcpServers": {
    "wikijs": {
      "command": "node",
      "args": ["/absolute/path/to/wikijs-mcp-server/dist/server-stdio.js"],
      "env": {
        "WIKIJS_BASE_URL": "https://wiki.yourcompany.com",
        "WIKIJS_TOKEN": "your-wikijs-api-token-here"
      }
    }
  }
}

Wiki.js Examples

Client configuration

Claude Desktop config using stdio mode with environment variables for the Wiki.js connection.

{
  "mcpServers": {
    "wikijs": {
      "command": "node",
      "args": ["/Users/yourname/wikijs-mcp-server/dist/server-stdio.js"],
      "env": {
        "WIKIJS_BASE_URL": "https://wiki.yourcompany.com",
        "WIKIJS_TOKEN": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9..."
      }
    }
  }
}

Prompts to try

Prompts that exercise page search, creation, and management via the Wiki.js GraphQL tools.

- "Search Wiki.js for pages about deployment procedures"
- "Create a new wiki page at path /guides/onboarding with the following content: ..."
- "List all unpublished draft pages in the wiki"
- "Update the page at /docs/api-reference to add a new authentication section"
- "Show me all users in the wiki and their roles"

Troubleshooting Wiki.js

GraphQL API errors or 401 Unauthorized responses

Verify your WIKIJS_TOKEN is correct and has not expired. In Wiki.js admin, check that the API key has the necessary permissions (read pages, write pages, manage users). Tokens can be regenerated from Administration > API.

WIKIJS_BASE_URL should not include /graphql

Set WIKIJS_BASE_URL to the root URL of your Wiki.js instance (e.g., https://wiki.example.com), not to the GraphQL endpoint. The server appends /graphql automatically.

npm run setup fails with TypeScript compilation errors

Ensure you have Node.js 18 or higher. Run `node --version` to check. If needed, use nvm to switch: `nvm install 18 && nvm use 18`, then rerun npm run setup.

Frequently Asked Questions about Wiki.js

What is Wiki.js?

Wiki.js is a Model Context Protocol (MCP) server that model context protocol (mcp) server for wiki.js graphql api integration. provides ai models with secure access to wiki.js functionality through mcp protocol. It connects AI assistants to external tools and data sources through a standardized interface.

How do I install Wiki.js?

Follow the installation instructions on the Wiki.js GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.

Which AI clients work with Wiki.js?

Wiki.js works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.

Is Wiki.js free to use?

Yes, Wiki.js is open source and available under the MIT license. You can use it freely in both personal and commercial projects.

Browse More Knowledge & Memory MCP Servers

Explore all knowledge & memory servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.

Quick Config Preview

{ "mcpServers": { "wikijs": { "command": "npx", "args": ["-y", "wikijs"] } } }

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide →

Ready to use Wiki.js?

Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.

33,000+ ServersFree & Open SourceStep-by-Step Guides