Markdown linter and workspace-scoped stdio MCP server.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag β we're steadily working through the catalog.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
A markdownlint-compatible Rust engine, kml CLI, formatter,
safe fixer, editor server, and agent-ready MCP server.
Installation | CLI Usage | Library API | Editor Integration | MCP Server
katana-markdown-linter is a fast Markdown lint engine for technical writing,
specification documents, and AI-agent-assisted documentation workflows.
The project shares the KatanA visual identity, but keeps a standalone boundary: the crate, CLI, wrappers, editor server, and MCP server do not depend on KatanA Desktop.
kml CLI with JSON output, stdin support, ignore handling, and statisticsUse the crate directly when embedding linting into another Rust application.
lint(content, options)fix(content, options)available_rules()localized_available_rules(language_code)implemented_rules()missing_rules()rule_catalog()localized_rule_catalog(language_code)resolve_locale_code(language_code)resolve_locale_code_or(language_code, fallback)localized_rule_description(rule_id, fallback_description, language_code)supported_locales()upstream::get_rule_documentation(rule_id, locale)MarkdownLintConfigMarkdownLintConfig::schema()MarkdownLintConfig::to_lint_options()available_rules() returns canonical English metadata. For user-facing rule
catalogs, call localized_available_rules(language_code),
localized_rule_catalog(language_code), RuleMeta::localized_description(...),
or localized_rule_description(...) so applications can pass UI language codes
without reimplementing kml's fallback policy.
Locale is #[non_exhaustive] from v0.6.0. Consumers that match on Locale
should include a wildcard arm and prefer resolve_locale_code(...) or
resolve_locale_code_or(...) for UI language strings. Rule descriptions and
rule Markdown documentation are localized for en, ja, zh-CN, zh-TW,
ko, pt, fr, de, es, and it.
Minimal embedding examples are available under examples/:
embedding.rs: string checks, file tree checks, string fixes, config loading and config-to-options conversionThe binary target is kml. Use Cargo when you want the Rust crate and CLI from
the same channel.
The npm package is a thin launcher that downloads the matching GitHub Release
archive for kml, kml-mcp, or kml-mcp-remote on first use:
Use npx for one-off runs:
The PyPI package is a thin Python launcher that downloads the matching GitHub
Release archive for kml, kml-mcp, or kml-mcp-remote on first use:
If you do not use pipx, install with your normal Python environment manager.
Use uvx for one-off runs without installing the launcher into your active
environment:
Standalone kml archives are attached to GitHub Releases. Choose the archive
that matches your Rust target triple:
Homebrew formula publication is part of the release flow. Install with:
Install the KatanA Markdown Linter extension from the VS Code Marketplace
or sideload the local package. The extension acts as a thin wrapper around
the kml lsp server and verifies version compatibility on startup.
Install the KatanA Markdown Linter extension from the Zed extension registry
or sideload from the repository. The extension registers kml lsp as a
Markdown language server and supports custom binary paths.
Use the repository action to run kml in CI without writing install steps:
Pin the action tag and version together for reproducible runs. The action
installs kml from crates.io by default. Repository-local smoke tests can set
install-source: path and path: ..
extra-args accepts one argument per line, so flags that take values must use
separate lines.
When no files are provided, kml check, kml fix, and kml fmt recursively process Markdown files under the current directory. Use --file to make single-file intent explicit.
check reports diagnostics and exits with 1 when lint violations are found.
fix and check --fix apply safe lint-driven fixes and exit with 1 if
violations remain after rewriting. fmt is a layout formatter for indentation
and newline normalization; it exits with 0 after successful formatting even
when unrelated lint diagnostics would still be reported by check. Filesystem
or configuration errors exit with 2.
fmt currently normalizes CRLF/CR line endings to LF, final newlines, repeated
blank lines, blank lines around headings/fences/lists/tables, and safe list
indentation/list-marker spacing. It does not reflow paragraphs, change heading
or emphasis style, change URL/table style, remove trailing spaces, or apply
unsafe fixes by default.
Unsafe fixes require explicit opt-in for fix and check --fix.
Interactive use prompts with [Y/n]; non-interactive use must pass
--unsafe --yes.
--output json is the preferred JSON output flag. --format json remains a compatibility alias.
Fix-mode JSON includes per-file fix_details so applied rules can be compared
with pre-fix diagnostics and rewritten file diffs.
--stdin reads Markdown from standard input. check --stdin reports diagnostics against <stdin>; fix --stdin writes fixed Markdown to stdout; fmt --stdin writes formatted Markdown only to stdout.
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/katana-markdown-linter)<a href="https://allmcps.com/mcp/katana-markdown-linter"><img src="https://allmcps.com/api/badge/katana-markdown-linter?style=directory" alt="KatanA Markdown Linter on AllMCPs" /></a>