Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
WIKI_BASE_URLYesBase Wiki.js URL (for example, https://wiki.example.com).
WIKI_API_TOKENYesWiki.js API key JWT used in Authorization: Bearer ...
WIKI_GRAPHQL_PATHNoGraphQL endpoint path appended to WIKI_BASE_URL./graphql
WIKI_DEFAULT_EDITORNoDefault editor used for page creation when not specified.markdown
WIKI_DEFAULT_LOCALENoDefault locale used when tool input does not provide locale.en
WIKI_HTTP_TIMEOUT_MSNoHTTP request timeout in milliseconds (including body reads). Minimum 1.15000
WIKI_HTTP_MAX_RETRIESNoMax retries for transient read failures (408, 502-504). Mutations are never retried. Minimum 0.2
WIKI_MUTATION_DRY_RUNNoWhen true, mutation tools return preview only and do not write to Wiki.js.true
WIKI_MUTATIONS_ENABLEDNoEnables all write tools (page, comment, and tag mutations) when set to true.false
WIKI_MUTATION_CONFIRM_TOKENNoOptional extra safety gate. When set, write tool calls must provide matching confirm.
WIKI_ALLOWED_MUTATION_PATH_PREFIXESNoComma-separated path prefixes (without leading slash) allowed for mutations. Empty means no prefix restriction.

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{}
resources
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
wikijs_search_pagesC

Search pages by keyword and return path/title summary for knowledge lookup.

wikijs_list_pagesA

List pages for crawling/indexing with optional locale and limit.

wikijs_get_page_by_pathA

Get a single page body/content using path + locale.

wikijs_get_page_by_idA

Get a single page body/content by numeric page ID.

wikijs_get_page_treeA

Get the page tree hierarchy for site navigation and structure discovery. Returns folders and/or pages with depth info.

wikijs_get_page_historyA

Get edit history trail for a page by ID. Returns version dates, authors, and change types.

wikijs_get_page_versionB

Get a specific version of a page by page ID and version ID. Returns full page content and metadata for that version.

wikijs_get_page_linksA

Get all pages and their outbound links for a locale. Returns an array of pages with their link relationships.

wikijs_list_tagsA

List all tags used across wiki pages. Useful for discovering content categories and taxonomy.

wikijs_search_tagsA

Search for tags matching a query string. Returns an array of matching tag name strings.

wikijs_create_pageB

Create a new page. Requires WIKI_MUTATIONS_ENABLED=true. confirm is only checked when WIKI_MUTATION_CONFIRM_TOKEN is set.

wikijs_update_pageA

Update an existing page by ID. Requires WIKI_MUTATIONS_ENABLED=true. confirm is only checked when WIKI_MUTATION_CONFIRM_TOKEN is set.

wikijs_delete_pageA

Delete a page by ID. Requires WIKI_MUTATIONS_ENABLED=true and may need manage:pages or delete:pages permission. confirm is only checked when WIKI_MUTATION_CONFIRM_TOKEN is set.

wikijs_move_pageA

Move a page to a new path or locale. Requires WIKI_MUTATIONS_ENABLED=true and may need manage:pages permission. confirm is only checked when WIKI_MUTATION_CONFIRM_TOKEN is set.

wikijs_restore_pageA

Restore a page to a previous version. Requires WIKI_MUTATIONS_ENABLED=true and may need manage:pages permission. confirm is only checked when WIKI_MUTATION_CONFIRM_TOKEN is set.

wikijs_update_tagA

Update an existing tag by ID. Changes the tag slug and/or title. Requires WIKI_MUTATIONS_ENABLED=true and may need manage:system permission. confirm is only checked when WIKI_MUTATION_CONFIRM_TOKEN is set.

wikijs_delete_tagA

Delete a tag by ID. Removes the tag from all pages and the tag registry. Requires WIKI_MUTATIONS_ENABLED=true and may need manage:system permission. confirm is only checked when WIKI_MUTATION_CONFIRM_TOKEN is set.

wikijs_list_commentsA

List all comments for a specific page by path and locale. Returns comment details including author info and timestamps.

wikijs_get_commentA

Get a single comment by ID. Returns full comment details including content and author information.

wikijs_create_commentA

Create a new comment on a page. Requires WIKI_MUTATIONS_ENABLED=true and may need comment posting permissions. confirm is only checked when WIKI_MUTATION_CONFIRM_TOKEN is set.

wikijs_update_commentA

Update an existing comment by ID. Requires WIKI_MUTATIONS_ENABLED=true and comment management permissions. confirm is only checked when WIKI_MUTATION_CONFIRM_TOKEN is set.

wikijs_delete_commentA

Delete a comment by ID. Requires WIKI_MUTATIONS_ENABLED=true and comment management permissions. confirm is only checked when WIKI_MUTATION_CONFIRM_TOKEN is set.

wikijs_get_system_infoA

Retrieve Wiki.js system information including version, database type, and usage statistics. Useful for diagnostics. Sensitive fields (dbHost, configFile, workingDirectory, hostname) are filtered out.

wikijs_get_navigationA

Retrieve the navigation tree for all locales. Returns configured navigation items including links, headers, and dividers with their visibility settings.

wikijs_get_site_configA

Retrieve safe (non-sensitive) site configuration including title, description, feature flags, and upload limits. Does not expose secrets or authentication keys.

wikijs_list_assetsA

List assets (files, images) in a specific folder. Returns asset metadata including filename, type, size, and upload date.

wikijs_list_asset_foldersB

List asset folders within a parent folder. Returns folder structure for navigating the asset hierarchy.

wikijs_get_current_userA

Get the profile of the currently authenticated API user. Returns identity, permissions context, and activity info.

wikijs_search_usersA

Search for users by name or email. Returns matching user profiles for collaboration context.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription
Wiki.js Markdown Syntax GuideComplete reference for Wiki.js-flavored Markdown including all non-standard extensions (blockquote styles, content tabs, image dimensions, diagrams, list styles, decorate syntax, etc.). Read this resource before writing or updating wiki pages with the markdown editor.
Wiki.js API Permissions GuideComplete guide to Wiki.js API key permissions, group configuration, page rules, and common error codes. Read this resource when encountering permission errors or setting up API access.
Wiki.js Mermaid 8.8.2 Diagram GuideComplete reference for Mermaid diagram syntax compatible with Wiki.js (Mermaid 8.8.2). Covers all 9 supported diagram types with examples, lists unsupported features, and syntax restrictions. Read this resource before writing mermaid diagrams in wiki pages.

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/uyu423/requarks-wiki-mcp'

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