parse-wikitext
Render wikitext through a live wiki without saving to preview HTML, warnings, categories, and links, enabling dry-run checks before page creation or updates.
Instructions
Renders wikitext through the live wiki without saving. Returns HTML, parse warnings, categories, wikilinks, templates, external URLs, and display title. Suited to dry-running a planned edit before create-page or update-page, or previewing standalone wikitext (template combinations, sanitizer checks) with no target page. HTML output is truncated at 75000 bytes by default, with a marker reporting how much of it was returned; a smaller wikitext fragment in a follow-up call returns the rest.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wiki | No | Wiki to target, as a key from the mcp://wikis/ resources (e.g. en.wikipedia.org), or the full mcp://wikis/ URI. Omit to use the default wiki. | |
| title | No | Wiki page title providing context for magic words like {{PAGENAME}}. Defaults to "API". | |
| wikitext | Yes | Wikitext to render | |
| applyPreSaveTransform | No | Apply pre-save transform (expand ~~~~ signatures, {{subst:}}, normalize whitespace). Matches editor "Show preview" behavior. |