Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
PORTNoPort to listen on when TRANSPORT=http.3000
LOG_LEVELNopino log level: fatal, error, warn, info, debug, trace.info
TRANSPORTNostdio or http.stdio
WIKIJS_URLYesBase URL of your Wiki.js instance (required).
WIKIJS_TOKENYesAPI key from Administration → API Access (required).

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
search_pagesA

Full-text search Wiki.js pages. Returns matching pages with id, title, path and locale. Use get_page to fetch content.

list_pagesC

List Wiki.js pages with optional ordering, tag and locale filters.

get_pageA

Fetch one page by numeric id OR by path (+ locale, default "en"). Optionally slice its content by line range with startLine/endLine: 0-based, inclusive on both ends. Default (0..-1) returns the whole page. Negative values count from the end, Python-style (-1 = last line, -2 = second-to-last).

get_page_treeA

Browse the page/folder hierarchy one level at a time. Omit parent for the root level; pass a folder item id as parent to descend.

list_tagsA

List all page tags, or search tags matching a query string.

create_pageA

Create a new Wiki.js page. Path must not start with the locale (use "guides/install", not "en/guides/install").

update_pageA

Update an existing page by id. Only the provided fields change. Get the id from get_page, list_pages or search_pages first.

move_pageB

Move a page to a new path (and optionally another locale). Requires the manage:pages permission on the API key.

delete_pageA

Permanently delete a page by id. DESTRUCTIVE and irreversible — confirm with the user before calling this.

get_page_historyA

List the version history trail of a page (newest first), paginated.

get_page_versionA

Fetch the content of a specific historical version of a page. Optionally slice its content by line range with startLine/endLine: 0-based, inclusive on both ends. Default (0..-1) returns the whole version content. Negative values count from the end, Python-style (-1 = last line, -2 = second-to-last).

restore_page_versionA

Restore a page to a previous version from its history. The current state is preserved as a new history entry.

list_assetsA

List uploaded assets (images/files) and subfolders in an asset folder. folderId 0 is the root folder.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/sondt2709/wikijs-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server