MCP server for Wiki.js: search, read and edit pages, and manage assets, users, groups and comments
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add wiki-js --env WIKIJS_URL='<WIKIJS_URL>' --env WIKIJS_TOKEN='<WIKIJS_TOKEN>' -- npx -y @ni-c/wikijs-mcp~/.codex/config.toml
[mcp_servers.wiki-js]
command = "npx"
args = ["-y", "@ni-c/wikijs-mcp"]
env = { WIKIJS_URL = "<WIKIJS_URL>", WIKIJS_TOKEN = "<WIKIJS_TOKEN>" }
# codex mcp add wiki-js --env WIKIJS_URL='<WIKIJS_URL>' --env WIKIJS_TOKEN='<WIKIJS_TOKEN>' -- npx -y @ni-c/wikijs-mcp~/.cursor/mcp.json
{
"mcpServers": {
"wiki-js": {
"command": "npx",
"args": [
"-y",
"@ni-c/wikijs-mcp"
],
"env": {
"WIKIJS_URL": "<WIKIJS_URL>",
"WIKIJS_TOKEN": "<WIKIJS_TOKEN>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"wiki-js": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@ni-c/wikijs-mcp"
],
"env": {
"WIKIJS_URL": "<WIKIJS_URL>",
"WIKIJS_TOKEN": "<WIKIJS_TOKEN>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"wiki-js": {
"command": "npx",
"args": [
"-y",
"@ni-c/wikijs-mcp"
],
"env": {
"WIKIJS_URL": "<WIKIJS_URL>",
"WIKIJS_TOKEN": "<WIKIJS_TOKEN>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"wiki-js": {
"command": "npx",
"args": [
"-y",
"@ni-c/wikijs-mcp"
],
"env": {
"WIKIJS_URL": "<WIKIJS_URL>",
"WIKIJS_TOKEN": "<WIKIJS_TOKEN>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"wiki-js": {
"command": "npx",
"args": [
"-y",
"@ni-c/wikijs-mcp"
],
"env": {
"WIKIJS_URL": "<WIKIJS_URL>",
"WIKIJS_TOKEN": "<WIKIJS_TOKEN>"
}
}
}
}Environment variables
WIKIJS_URLWIKIJS_TOKEN
Replace the placeholders with your own credentials and keep them out of version control.