Agent♥︎Age
Catalog

Carve

Official

by markup-carve · TypeScript

Parse, lint, format, render, and migrate Carve documents through MCP.

Carve MCP Server (io.github.markup-carve/carve-mcp)

This MCP server provides MCP-compatible assistants with the same Carve parser, linter, formatter, and renderers used by the JavaScript implementation. It can parse, lint, format, render, and migrate Carve documents. By default it has no filesystem access; it can be enabled for explicitly configured document roots.

🛠️ Key Features

  • carve_lint: checks a document and returns precise, structured warnings
  • carve_format: produces canonical Carve and reports rendering losses
  • carve_render: renders HTML, Markdown, plain text, or ANSI
  • carve_parse: returns a resolved, position-aware interchange AST
  • carve_migrate: converts HTML, Markdown, or Djot and reports migration results

🚀 Use Cases

  • Linting and formatting Carve documents in MCP-based tooling
  • Rendering Carve content to HTML/Markdown/plain-text/ANSI
  • Parsing Carve into an interchange AST for downstream processing
  • Migrating content between HTML, Markdown, Djot, and Carve-related workflows

Topics

carvemarkupmcpmodel-context-protocol