Configuration Properties

Last modified by gabrielc on 2026/07/14 12:19

Content

Reference

All MCP server configuration properties from the AI.MCP.Code.MCPServerConfig document (backed by AI.MCP.Code.MCPServerConfigClass).

Property Default Description
enabled1 (enabled) Master switch for the wiki's MCP endpoint. Fails closed on read errors (disabled). Only an explicit 0 disables.
serverNameWiki pretty name, then "XWiki" Server name advertised to connecting agents.
serverDescription"XWiki MCP Server"MCP initialization instructions sent to connecting agents. A "call man first" hint is appended automatically.
enabledToolsEmpty (default policy: all non-write tools) Explicit tool id list when non-empty. man is always added. Empty falls back to defaults.
allowRenderedContent1 (enabled) Gates get_document's rendered mode. Fails open on read errors (rendering is a capability, not a confidentiality boundary).
spaceFilterModenoneSpace filter mode: none, whitelist, or blacklist. Read errors propagate as unchecked exceptions (fails closed).
spaceFilterSpacesEmpty Space entries for the filter. Each entry covers the space and its whole subtree.
spaceFilterDocumentsEmpty Document entries for the filter. Each entry matches exactly one document.
reachEnabledWikisMain wiki only (gated by reachInitializedFarm-level list of wikis whose MCP endpoints can reach across wikis. Read only from the main wiki's config document.
reachInitializedUnset Hidden farm-level marker. While unset, the default applies (main wiki reaches, others do not). The first farm dashboard save materializes defaults and sets this flag.

Configuration document location

  • Space: AI.MCP.Code
  • Document: MCPServerConfig
  • Class: MCPServerConfigClass
  • Space locked to: XWikiAdminGroup

Get Connected