Asciidoctor MCP Server

Asciidoctor extension to convert diagrams to images using Kroki

Local serverstdio

What is the Asciidoctor MCP server?

Asciidoctor extension to convert diagrams to images using Kroki. That is what the asciidoctor mcp server brings to an AI assistant: the same capability, reachable through the Model Context Protocol rather than a separate app or dashboard.

The short version

Full documentation is available at https://docs.asciidoctor.org/kroki-extension/latest.

Getting it running

Installation goes through your MCP client rather than a global install: point it at asciidoctor on npm and it is fetched when the client starts. The copy-paste blocks for Claude Desktop, Claude Code and Cursor are further down this page.

The tools it exposes

The server publishes 2 tools. What each one is for:

  • Setup — To build this project, you will need the latest active LTS of Node.js. We recommend volta to manage multiple active Node.js
  • Building — When working on a new feature or when fixing a bug, make sure to run the formatter, the linter and the test suite:

Things to watch

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • Keep per-call confirmation enabled while you learn its behaviour; it is the cheapest safeguard you have.

How it compares

Plenty of developer tooling servers cover similar ground. The differences that matter in practice are scope of access and how much setup stands between you and a working tool call. Asciidoctor's toolset — Setup, Building — is a fair guide to whether it matches your workflow. It is maintained by GitHub Actions; worth a glance at recent repository activity before you build anything load-bearing on it.

SyncDev reviews every entry in this directory against the project's own documentation before publishing, and revisits them as servers change.

Available tools

ToolWhat it does
SetupTo build this project, you will need the latest active LTS of Node.js. We recommend [volta](https://volta.sh/) to manage multiple active Node.js versions.
BuildingWhen working on a new feature or when fixing a bug, make sure to run the formatter, the linter and the test suite:

How to install the Asciidoctor MCP server

{
  "mcpServers": {
    "kroki": {
      "command": "npx",
      "args": ["-y", "asciidoctor"]
    }
  }
}

Add to claude_desktop_config.json, then restart Claude Desktop.

Example prompts to try

  • Use Asciidoctor to Setup.
  • Use Asciidoctor to Building.

Frequently asked questions

It connects Asciidoctor to MCP-compatible AI assistants such as Claude and Cursor, exposing 2 tools (Setup, Building) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Asciidoctor directly.